/* =========================================================
   DTWAVES 首页重构版
   适用：index.html
   不修改公共 style.css
========================================================= */

:root {
    --hp-gold: #c9a164;
    --hp-gold-light: #e6c58e;
    --hp-black: #080c11;
    --hp-black-soft: #111820;
    --hp-text: #202830;
    --hp-muted: #737d86;
    --hp-light: #f4f5f6;
    --hp-border: #e5e7e9;

    --hp-max-width: 1540px;
    --hp-gutter: clamp(24px, 5.2vw, 86px);
}

.home-page,
.home-page * {
    box-sizing: border-box;
}

.home-page {
    width: 100%;
    overflow: clip;
}

.home-page img {
    max-width: 100%;
}

.home-page a {
    text-decoration: none;
}

.home-page section {
    position: relative;
}


/* =========================================================
   首页数据库图片状态
   统一使用网站继承字体与黑金配色，不改变图片容器尺寸
========================================================= */
.home-page .home-product-image-wrap,
.home-page .home-dream-image,
.home-page .home-case-image-wrap,
.home-page .home-case-wide-image {
    position: relative;
}

.home-page .home-image-status {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: #c9a164;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .04em;
    text-align: center;
    background: transparent;
    pointer-events: none;
}

.home-page .home-image-status[data-state="empty"] {
    color: rgba(226, 230, 233, .62);
}

.home-page .home-image-status[data-state="failed"] {
    color: #d2a66c;
}

/* =========================================================
   1. 首页首屏
========================================================= */

.home-page .home-hero {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;

    min-height: clamp(620px, 82svh, 900px);
    height: auto;

    padding:
        clamp(65px, 7vw, 100px)
        var(--hp-gutter);

    overflow: hidden;
    isolation: isolate;

    color: #fff;

    background:
        radial-gradient(
            ellipse at 72% 45%,
            rgba(69, 83, 95, .28),
            transparent 38%
        ),
        linear-gradient(
            112deg,
            #060a0f 0%,
            #0d141c 54%,
            #17212b 100%
        );
}

/* 背景网格 */
.home-page .home-hero-background {
    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;
}

.home-page .home-hero-grid {
    position: absolute;
    inset: 0;

    opacity: .12;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, .08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .08) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 48%,
            #000
        );
}

.home-page .home-hero-glow {
    position: absolute;

    width: 650px;
    height: 650px;

    right: 4%;
    top: 50%;

    transform: translateY(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(201, 161, 100, .12),
            rgba(201, 161, 100, .025) 42%,
            transparent 70%
        );

    filter: blur(10px);
}

/* 首屏主布局 */

.home-page .home-hero-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: var(--hp-max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, .92fr)
        minmax(0, 1.08fr);

    align-items: center;

    gap: clamp(24px, 4vw, 70px);
}

/* 左侧文字 */

.home-page .home-hero-content {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 660px;

    min-width: 0;
    padding: 0;
    margin: 0;
}


.home-page .home-hero .hero-title {
    width: 100%;
    max-width: 100%;

    margin: 0;

    color: #fff;

    font-size: clamp(40px, 4.6vw, 74px);
    font-weight: 650;

    line-height: 1.15;
    letter-spacing: -.025em;

    overflow-wrap: anywhere;
    text-wrap: balance;
}

.home-page .home-hero .hero-title span {
    color: var(--hp-gold-light);
}

.home-page .home-hero .hero-desc {
    width: 100%;
    max-width: 510px;

    margin: clamp(22px, 2.6vw, 34px) 0 0;

    color: #b9c1ca;

    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.95;
}

/* 按钮 */

.home-page .home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 13px;

    margin-top: clamp(28px, 3vw, 40px);
}

.home-page .home-hero-actions .btn,
.home-page .home-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 165px;
    min-height: 49px;

    padding: 0 24px;

    border: 1px solid var(--hp-gold);
    border-radius: 2px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.home-page .home-hero-actions .home-primary-btn {
    background: var(--hp-gold);
    color: #171717;
}

.home-page .home-hero-actions .home-primary-btn:hover {
    background: var(--hp-gold-light);
    border-color: var(--hp-gold-light);

    transform: translateY(-2px);
}

.home-page .home-secondary-btn {
    background: rgba(255, 255, 255, .025);
    color: #f5f5f5;

    border-color: rgba(255, 255, 255, .42);
}

.home-page .home-secondary-btn:hover {
    color: var(--hp-gold-light);

    border-color: var(--hp-gold);
    background: rgba(201, 161, 100, .08);
}


/* 右侧产品视觉 */

.home-page .home-hero-visual {
    position: relative;

    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: clamp(340px, 42vw, 600px);
}

.home-page .home-visual-frame {
    position: relative;

    width: 100%;
    max-width: 720px;

    padding: 13px;

    border: 1px solid rgba(201, 161, 100, .42);
    border-radius: 5px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .055),
            rgba(255, 255, 255, .008)
        );

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .24),
        inset 0 0 30px rgba(255, 255, 255, .015);
}

.home-page .home-visual-topline,
.home-page .home-visual-bottomline {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 34px;

    padding: 0 10px;

    color: #9ba5af;

    font-size: 10px;
    letter-spacing: .13em;
}

.home-page .home-visual-dot {
    display: inline-block;

    width: 6px;
    height: 6px;

    margin-right: 8px;

    border-radius: 50%;

    background: var(--hp-gold);
    box-shadow: 0 0 12px rgba(201, 161, 100, .5);
}

.home-page .home-visual-topline {
    justify-content: flex-start;
}

/* GLB 显示区域 */

.home-page .home-visual-stage {
    position: relative;

    width: 100%;
    height: clamp(290px, 34vw, 490px);

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .09);

    background:
        radial-gradient(
            ellipse at center,
            rgba(53, 67, 80, .24),
            transparent 68%
        ),
        linear-gradient(
            135deg,
            rgba(5, 9, 14, .2),
            rgba(17, 26, 36, .7)
        );
}


/* 环形科技装饰 */
.home-page .home-visual-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    aspect-ratio: 1 / 1;

    border: 1px solid rgba(201, 161, 100, .16);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;
}

.home-page .home-visual-ring-1 {
    width: 66%;
}

.home-page .home-visual-ring-2 {
    width: 43%;

    border-style: dashed;
    border-color: rgba(201, 161, 100, .13);
}

/* 视觉框四角 */
.home-page .home-visual-corner {
    position: absolute;
    z-index: 4;

    width: 18px;
    height: 18px;

    border-color: var(--hp-gold);
    border-style: solid;

    opacity: .8;

    pointer-events: none;
}

.home-page .home-visual-corner-tl {
    top: 8px;
    left: 8px;

    border-width: 1px 0 0 1px;
}

.home-page .home-visual-corner-tr {
    top: 8px;
    right: 8px;

    border-width: 1px 1px 0 0;
}

.home-page .home-visual-corner-bl {
    bottom: 8px;
    left: 8px;

    border-width: 0 0 1px 1px;
}

.home-page .home-visual-corner-br {
    bottom: 8px;
    right: 8px;

    border-width: 0 1px 1px 0;
}

.home-page .home-visual-status {
    color: #c4cbd2;
}

.home-page .home-visual-status i {
    display: inline-block;

    width: 6px;
    height: 6px;

    margin-right: 6px;

    border-radius: 50%;

    background: #80b99a;
}

.home-page .home-visual-decoration {
    position: absolute;

    width: 85px;
    height: 85px;

    border: 1px solid rgba(201, 161, 100, .2);

    pointer-events: none;
}

.home-page .home-visual-decoration-1 {
    top: -16px;
    right: -16px;
}

.home-page .home-visual-decoration-2 {
    left: -16px;
    bottom: -16px;

    width: 56px;
    height: 56px;
}

/* 首屏鼠标图案：用于产品拖动提示 */

.home-page .home-hero-scroll {
    position: relative;

    display: inline-block;
    flex: 0 0 20px;

    width: 20px;
    height: 30px;

    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 12px;

    opacity: .75;
}

.home-page .home-hero-scroll span {
    position: absolute;

    top: 6px;
    left: 50%;

    width: 3px;
    height: 6px;

    background: var(--hp-gold);

    border-radius: 3px;

    transform: translateX(-50%);
}


/* =========================================================
   2. 优势栏
========================================================= */

.home-page .home-feature-section {
    position: relative;
    z-index: 3;

    padding:
        clamp(25px, 3vw, 42px)
        var(--hp-gutter);

    color: #fff;

    background: #0b1016;

    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(201, 161, 100, .24);
}

.home-page .home-feature-bar {
    width: 100%;
    max-width: var(--hp-max-width);

    margin: 0 auto;
    padding: 0;

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: clamp(16px, 2.3vw, 38px);
}

.home-page .home-feature-item {
    display: flex;
    align-items: center;

    gap: 15px;

    min-width: 0;
    padding: 0;

    border: 0;
}

.home-page .home-feature-icon-wrap {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: clamp(42px, 3.6vw, 56px);
    height: clamp(42px, 3.6vw, 56px);

    border: 1px solid rgba(201, 161, 100, .3);
    border-radius: 50%;

    background: rgba(201, 161, 100, .04);
}

.home-page .home-feature-icon-wrap .feature-icon {
    width: 56%;
    height: 56%;

    object-fit: contain;

    filter: none;
}

.home-page .home-feature-copy {
    min-width: 0;
}

.home-page .home-feature-copy h4 {
    margin: 0 0 5px;

    color: #f3f4f5;

    font-size: clamp(14px, 1.08vw, 18px);
    font-weight: 600;
    line-height: 1.45;
}

.home-page .home-feature-copy p {
    margin: 0;

    color: #9ba4ae;

    font-size: clamp(11px, .8vw, 13px);
    line-height: 1.65;
}

/* =========================================================
   2.1 认证资质展示区
========================================================= */
.home-page .home-certifications {
    width: 100%;
    max-width: var(--hp-max-width);
    margin: 8px auto 0;
    padding-top: 0;
}

.home-page .home-certifications-heading {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    margin-bottom: 22px;
}

.home-page .home-certifications-heading h3 {
    margin: 0;

    color: #d8b16c;

    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 600;
    letter-spacing: .08em;
}

.home-page .home-certifications-heading span {
    color: #77818c;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: .16em;
}

.home-page .home-certification-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(30px, 4vw, 60px);
    max-width: 1350px;
    margin: 0 auto;
}

.home-page .home-certification-item {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
}

.home-page .home-certification-image {
    width: 100%;
    max-width: 430px;
    aspect-ratio: 1.2 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(201, 161, 100, .35);
    border-radius: 4px;
    box-shadow: none;
    transition: border-color .25s ease, transform .25s ease;
}

.home-page .home-certification-image img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.home-page .home-certification-item:hover
.home-certification-image {
    border-color: rgba(216, 177, 108, .85);
    transform: translateY(-3px);
}

.home-page .home-certification-item p {
    margin: 0;

    color: #c4cbd2;

    font-size: clamp(12px, .9vw, 14px);
    font-weight: 500;
    line-height: 1.5;

    text-align: center;
}
/* =========================================================
   3. EFFICIENCY 标题区
========================================================= */

/* 产品介绍标题区：背景铺满整个屏幕 */
.home-page .home-efficiency {
    width: 100%;
    max-width: none;

    margin: 0;

    padding:
        clamp(45px, 5vw, 70px)
        max(var(--hp-gutter), calc((100% - var(--hp-max-width)) / 2))
        clamp(24px, 2.5vw, 35px);

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    color: #f2f2f2;

    background:
        radial-gradient(
            ellipse at 10% 50%,
            rgba(42, 56, 68, .25),
            transparent 45%
        ),
        linear-gradient(
            115deg,
            #080c11,
            #111820
        );
}

.home-page .home-section-heading {
    width: 100%;
    max-width: 930px;
}

.home-page .home-section-kicker {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color: #9e763a;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
}

.home-page .home-section-kicker > span {
    width: 27px;
    height: 2px;

    background: var(--hp-gold);
}

.home-page .home-efficiency h2 {
    max-width: 100%;

    margin: 0;

    color: #d8b16c;

    font-size: clamp(34px, 4.2vw, 62px);
    font-weight: 650;
    line-height: 1.2;

    letter-spacing: -.025em;

    overflow-wrap: anywhere;
}

.home-page .home-efficiency p {
    max-width: 750px;

    margin: 20px 0 0;

    color: #707a84;

    font-size: clamp(14px, .95vw, 16px);
    line-height: 1.9;
}


/* =========================================================
   4. 重点产品介绍
========================================================= */

/* 重点产品展示区：与上方标题区合并 */
.home-page .home-product-intro {
    width: 100%;

    margin: 0;

    padding:
        0
        var(--hp-gutter)
        clamp(55px, 6vw, 85px);

    background:
    radial-gradient(
        ellipse at 10% 50%,
        rgba(42, 56, 68, .25),
        transparent 45%
    ),
    linear-gradient(
        115deg,
        #080c11,
        #111820
    );
    width: 100%;
    max-width: none;
}

.home-page .home-product-intro-inner {
    width: 100%;
    max-width: var(--hp-max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, .95fr);

    align-items: start;

    gap: clamp(30px, 5vw, 78px);
}

/* 首页产品图片外框：与页面背景统一 */
.home-page .home-product-image-wrap {
    position: relative;

    width: 100%;
    min-width: 0;

    min-height: clamp(300px, 34vw, 500px);

    margin: 0;
    padding: clamp(12px, 1.5vw, 20px);

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    border: 1px solid rgba(216, 177, 108, 0.18);
}

.home-page .home-product-image-wrap::before {
    content: "";

    position: absolute;

    inset: 12px;

    border: 1px solid rgba(201, 161, 100, .2);

    pointer-events: none;
}

.home-page .home-product-image-wrap img {
    position: relative;
    z-index: 1;

    display: block;

    width: 115%;
    max-width: none;
    height: auto;

    max-height: clamp(320px, 40vw, 520px);

    object-fit: contain;
    object-position: center;

    border: 0;
    background: transparent;

    transition: transform .4s ease;
    transform: scale(1);
    transform-origin: center center;
}

/* 重点产品图片鼠标悬停效果 */
.home-page .home-product-image-wrap:hover img {
    transform: scale(1.06) translateY(-5px);
}

/* 产品图片外框悬停效果 */
.home-page .home-product-image-wrap {
    transition: border-color .35s ease;
}

.home-page .home-product-image-wrap:hover {
    border-color: rgba(216, 177, 108, .55);
}

/* 产品信息 */
.home-page .home-product-copy {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}

.home-page .home-content-eyebrow {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}

.home-page .home-content-eyebrow > span {
    width: 25px;
    height: 2px;

    background: var(--hp-gold);
}

.home-page .home-content-eyebrow small {
    color: #a87d3e;

    font-size: 12px;
    letter-spacing: .12em;
}

.home-page .home-product-copy h2 {
    margin: 0;

    color: #18212a;

    font-size: clamp(30px, 3.3vw, 50px);
    font-weight: 650;
    line-height: 1.24;

    overflow-wrap: anywhere;
}

.home-page .home-gold-divider {
    width: 46px;
    height: 2px;

    margin: 23px 0;

    background: var(--hp-gold);
}

.home-page .home-product-copy > p {
    margin: 0;

    color: #69737d;

    font-size: clamp(14px, .95vw, 16px);
    line-height: 1.95;

    overflow-wrap: anywhere;
}

/* 全站首页行动按钮 */

.home-page .home-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 24px;

    min-width: 165px;
    min-height: 48px;

    margin-top: 30px;
    padding: 0 23px;

    border: 1px solid var(--hp-gold);
    border-radius: 2px;

    color: #ffffff;
    background: transparent;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.home-page .home-action-btn > span {
    color: #d8b16c;
    font-size: 18px;

    transition: transform .25s ease;
}

.home-page .home-action-btn:hover {
    background: var(--hp-gold);
    border-color: var(--hp-gold);

    color: #151515;

    transform: translateY(-2px);
}

.home-page .home-action-btn:hover > span {
    color: #151515;
    transform: translateX(3px);
}


/* =========================================================
   5. 产品与服务
========================================================= */

.home-page .home-dream-service {
    width: 100%;

    margin: 0;
    padding:
        clamp(65px, 7.5vw, 110px)
        var(--hp-gutter);

    color: #fff;

    background:
        radial-gradient(
            ellipse at 10% 50%,
            rgba(42, 56, 68, .25),
            transparent 45%
        ),
        linear-gradient(
            115deg,
            #080c11,
            #111820
        );

    border-top: 1px solid rgba(201, 161, 100, .18);
    border-bottom: 1px solid rgba(201, 161, 100, .18);
}

.home-page .home-dream-inner {
    width: 100%;
    max-width: var(--hp-max-width);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.03fr)
        minmax(0, .97fr);

    align-items: center;

    gap: clamp(32px, 5vw, 80px);
}

/* 左侧图片组合 */

/* =========================================================
   产品与服务：左侧图片展示
========================================================= */

.home-page .home-dream-gallery {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    display: grid;

    grid-template-columns:
        minmax(0, .88fr)
        minmax(0, 1.12fr);

    grid-template-rows:
        clamp(150px, 17vw, 245px)
        clamp(150px, 17vw, 245px);

    gap: clamp(10px, 1.3vw, 18px);
}

/* 三张产品图片：增加与下方产品案例相同的悬停效果 */
.home-page .home-dream-image {
    position: relative;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: transparent;

    border: 1px solid rgba(201, 161, 100, .18);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

/* 左上第一张 */
.home-page .home-dream-image-1 {
    grid-column: 1;
    grid-row: 1;
}

/* 左下第二张 */
.home-page .home-dream-image-2 {
    grid-column: 1;
    grid-row: 2;
}

/* 右侧主图 */
.home-page .home-dream-image-3 {
    grid-column: 2;
    grid-row: 1 / span 2;
}

/* 图片默认状态 */
.home-page .home-dream-image img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center;

    background: transparent;

    border: 0;

    transform: scale(1);

    transition: transform .4s ease;
}

/* 鼠标经过图片容器时，卡片轻微上浮 */
.home-page .home-dream-image:hover {
    transform: translateY(-4px);

    border-color: rgba(201, 161, 100, .65);

    box-shadow: 0 15px 36px rgba(0, 0, 0, .25);

    z-index: 2;
}

/* 鼠标经过时，图片放大 */
.home-page .home-dream-image:hover img {
    transform: scale(1.05);
}

/* 主图也使用 contain，不再裁切 */
.home-page .home-dream-image-3 img {
    object-fit: contain;
    object-position: center;
}

/* 右侧文字 */
.home-page .home-dream-content {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}

.home-page .home-dream-content .dream-model {
    display: inline-flex;
    align-items: center;

    min-height: 32px;

    margin: 0 0 20px;
    padding: 7px 13px;

    color: var(--hp-gold-light);

    background: rgba(201, 161, 100, .06);

    border: 1px solid rgba(201, 161, 100, .38);
    border-radius: 2px;

    font-size: 11px;
    letter-spacing: .12em;
}

.home-page .home-dream-content h2 {
    margin: 0;

    color: #f7f8f9;

    font-size: clamp(30px, 3.3vw, 49px);
    font-weight: 650;
    line-height: 1.25;

    overflow-wrap: anywhere;
}

.home-page .home-dream-content .home-gold-divider {
    margin: 24px 0;
}

.home-page .home-dream-content > p {
    margin: 0;

    color: #b7c0c9;

    font-size: clamp(14px, .95vw, 16px);
    line-height: 1.95;
}

.home-page .home-dream-features {
    display: grid;
    gap: 12px;

    margin: 26px 0 0;
    padding: 0;

    list-style: none;
}

.home-page .home-dream-features li {
    position: relative;

    margin: 0;
    padding-left: 23px;

    color: #d3d8dd;

    font-size: clamp(13px, .9vw, 15px);
    line-height: 1.75;
}

.home-page .home-dream-features li::before {
    content: "";

    position: absolute;

    left: 0;
    top: .68em;

    width: 8px;
    height: 2px;

    background: var(--hp-gold);
}

.home-page .home-dream-content .home-action-btn {
    color: #fff;

    border-color: var(--hp-gold);
}

.home-page .home-dream-content .home-action-btn > span {
    color: var(--hp-gold-light);
}

.home-page .home-dream-content .home-action-btn:hover {
    color: #171717;
    background: var(--hp-gold);
}

.home-page .home-dream-content .home-action-btn:hover > span {
    color: #171717;
}


/* =========================================================
   6.产品案例区：统一深蓝黑背景
========================================================= */
.home-page .home-case-study {
    width: 100%;
    margin: 0;
    padding:
        clamp(65px, 7.5vw, 110px)
        var(--hp-gutter)
        35px;
    color: var(--hp-text);
    background:
        radial-gradient(
            ellipse at 10% 50%,
            rgba(42, 56, 68, .25),
            transparent 45%
        ),
        linear-gradient(
            115deg,
            #080c11,
            #111820
        );
}
.home-page .home-case-inner {
    width: 100%;
    max-width: var(--hp-max-width);
    margin: 0 auto;
}
/* 案例标题 */
.home-page .home-case-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin: 0 0 clamp(25px, 3vw, 42px);
    padding: 0;
}
.home-page .home-case-title {
    min-width: 0;
    margin: 0;
    padding: 0;
}
.home-page .home-case-title h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.home-page .home-case-title .case-title-line1 {
    color: #f7f8f9;
}
.home-page .home-case-title .case-title-line2 {
    color: #ad7d3c;
}
.home-page .home-case-head .home-action-btn {
    flex: 0 0 auto;
    margin: 0;
    color: #202830;
    background: transparent;
}
.home-page .home-case-head .home-action-btn:hover {
    background: var(--hp-gold);
    color: #171717;
}
/* 案例卡片布局 */
.home-page .home-case-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    grid-template-rows:
        clamp(290px, 27vw, 400px)
        clamp(240px, 22vw, 330px);
    gap: clamp(12px, 1.4vw, 22px);
    margin: 0;
    padding: 0;
}
/* 统一卡片基础样式 */
.home-page .home-case-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(201, 161, 100, .22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}
.home-page .home-case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 161, 100, .65);
    box-shadow: 0 15px 36px rgba(15, 24, 33, .09);
}
/* 位置 1、2 */
.home-page .home-case-card[data-case-position="1"] {
    grid-column: 1;
    grid-row: 1;
}
.home-page .home-case-card[data-case-position="2"] {
    grid-column: 2;
    grid-row: 1;
}
/* 位置 3：右侧纵向大卡片 */
.home-page .home-case-card[data-case-position="3"] {
    grid-column: 3;
    grid-row: 1 / span 2;
}
/* 位置 4：底部横向卡片 ←修复根源：重写border，覆盖style.css .case-card.wide {border-left:none} */
.home-page .home-case-card[data-case-position="4"] {
    grid-column: 1 / span 2;
    grid-row: 2;
    flex-direction: row;
    border: 1px solid rgba(201, 161, 100, .22);
}

/* 图片区域 */
.home-page .home-case-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: clamp(10px,1.2vw,18px);
    overflow: hidden;
    background: transparent;
}

/* 产品图片：1、2、3卡片图片放大 */
.home-page .home-case-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
    background: transparent;
    transform: scale(1.12);
    transition: transform .4s ease;
}

/* 覆盖 style.css 中原有的图片透明度和黑色遮罩 */
.home-page .home-case-card img {
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
}
/* 禁止原来的底部黑色渐变遮罩 */
.home-page .home-case-card::before {
    display: none;
    content: none;
}
.home-page .home-case-card:hover .home-case-image-wrap img {
    transform: scale(1.18);
}
/* 产品名称区域：透明，显示模块背景 */
.home-page .home-case-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 0 0 auto;
    width: 100%;
    padding: 16px clamp(15px, 1.5vw, 23px) 20px;
    background: transparent;
    border: 0;
}
.home-page .home-case-copy {
    border-top: 0;
}
.home-page .home-case-copy .case-product-code,
.home-page .home-case-card .case-product-code {
    display: block;
    color: #ae813f;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .04em;
}
.home-page .home-case-copy b {
    display: block;
    color: #f2f2f2;
    font-size: clamp(14px, 1.15vw, 18px);
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
/* 详情箭头：统一放在各自卡片右下角 */
.home-page .home-case-card .case-arrow {
    position: absolute;
    z-index: 5;
    top: auto;
    right: 13px;
    bottom: 13px;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #a77a39;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(201, 161, 100, .8);
    border-radius: 50%;
    font-size: 18px;
    transition:
        color .25s ease,
        background .25s ease,
        transform .25s ease;
}
.home-page .home-case-card .case-arrow:hover {
    color: #fff;
    background: var(--hp-gold);
    border-color: var(--hp-gold);
    transform: translateX(2px);
}
/* 第四张产品图片区域 */
.home-page .home-case-wide-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 57%;
    width: 57%;
    height: 100%;
    min-width: 0;
    padding: clamp(8px,1vw,14px);
    background: transparent;
}
/* 第四张产品图片：适度放大 */
.home-page .home-case-wide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;

    transform: scale(1.04);
    transition: transform .4s ease;
}

/* 鼠标悬停：轻微放大 */
.home-page .home-case-card:hover .home-case-wide-image img {
    transform: scale(1.07);
}
/* 第四张产品文字区域：靠左下方对齐 */
.home-page .home-case-wide-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;

    flex: 1 1 auto;

    width: 43%;
    height: 100%;
    min-width: 0;

    box-sizing: border-box;

    padding: 24px;

    background: transparent;
    border: 0;
}

.home-page .home-case-wide-copy p {
    width: 100%;
    margin: 0;
}
.home-page .home-case-wide-copy b {
    display: block;
    margin-top: 9px;
    color: #f2f2f2;
    font-size: clamp(15px, 1.35vw, 21px);
    line-height: 1.5;
    font-weight: 600;
}
/* 删除第四张产品名称下方原有的金色装饰线 */
.home-page .home-case-wide-copy b::after {
    display: none;
    content: none;
}



/* =========================================================
   7. 首页底部
========================================================= */

.home-page ~ .footer {
    position: relative;
    z-index: 2;
}



/* =========================================================
   8. 大屏幕
========================================================= */

@media (min-width: 1600px) {
    .home-page .home-hero-inner {
        gap: 80px;
    }

    .home-page .home-hero .hero-title {
        font-size: clamp(68px, 4.2vw, 82px);
    }

    .home-page .home-visual-stage {
        height: 490px;
    }
}


/* =========================================================
   9. 中等桌面屏幕
========================================================= */

@media (max-width: 1200px) {
    :root {
        --hp-gutter: 38px;
    }

    .home-page .home-hero-inner {
        grid-template-columns:
            minmax(0, .95fr)
            minmax(0, 1.05fr);

        gap: 28px;
    }

    .home-page .home-hero .hero-title {
        font-size: clamp(38px, 4.4vw, 56px);
    }

    .home-page .home-visual-stage {
        height: clamp(290px, 35vw, 420px);
    }

    .home-page .home-feature-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 25px 30px;
    }

    .home-page .home-case-grid {
        grid-template-rows: 300px 250px;
    }
}


/* =========================================================
   10. 平板
========================================================= */

@media (max-width: 900px) {
    :root {
        --hp-gutter: 28px;
    }

    .home-page .home-hero {
        min-height: auto;

        padding-top: 80px;
        padding-bottom: 75px;
    }

    .home-page .home-hero-inner {
        grid-template-columns: minmax(0, 1fr);

        gap: 45px;
    }

    .home-page .home-hero-content {
        max-width: 720px;
    }

    .home-page .home-hero .hero-title {
        max-width: 100%;

        font-size: clamp(42px, 7vw, 64px);
    }

    .home-page .home-hero .hero-desc {
        max-width: 600px;
    }

    .home-page .home-hero-visual {
        min-height: 0;
    }

    .home-page .home-visual-frame {
        max-width: 720px;
    }

    .home-page .home-visual-stage {
        height: clamp(300px, 55vw, 450px);
    }

    .home-page .home-efficiency {
        padding-top: 65px;
    }

    .home-page .home-product-intro-inner {
        grid-template-columns: minmax(0, 1fr);

        gap: 35px;
    }

    .home-page .home-product-image-wrap {
        min-height: 300px;
    }

    .home-page .home-product-image-wrap img {
        max-height: 430px;
    }

    .home-page .home-product-copy h2 {
        font-size: clamp(30px, 5vw, 43px);
    }

    .home-page .home-dream-inner {
        grid-template-columns: minmax(0, 1fr);

        gap: 42px;
    }

    .home-page .home-dream-gallery {
        grid-template-rows:
            clamp(170px, 29vw, 260px)
            clamp(170px, 29vw, 260px);
    }

    .home-page .home-dream-content h2 {
        font-size: clamp(30px, 5.5vw, 44px);
    }

    .home-page .home-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        grid-template-rows: none;
        grid-auto-rows: minmax(260px, 38vw);
    }

    .home-page .home-case-card[data-case-position="1"] {
        grid-column: 1;
        grid-row: 1;
    }

    .home-page .home-case-card[data-case-position="2"] {
        grid-column: 2;
        grid-row: 1;
    }

    .home-page .home-case-card[data-case-position="3"] {
        grid-column: 1;
        grid-row: 2;
    }

    .home-page .home-case-card[data-case-position="4"] {
        grid-column: 2;
        grid-row: 2;

        flex-direction: column;
    }

    .home-page .home-case-wide-image {
        flex: 0 0 auto;

        width: 100%;
        height: clamp(160px, 24vw, 220px);
        min-height: 0;

        padding: 12px;
        box-sizing: border-box;
    }

    .home-page .home-case-wide-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .home-page .home-case-wide-copy {
        flex: 0 0 auto;

        width: 100%;

        padding: 15px 17px;

        border-left: 0;
    }

}


/* =========================================================
   11. 手机
========================================================= */

@media (max-width: 560px) {
    :root {
        --hp-gutter: 20px;
    }

    .home-page .home-hero {
        padding-top: 60px;
        padding-bottom: 65px;
    }

    .home-page .home-hero-inner {
        gap: 32px;
    }


    .home-page .home-hero .hero-title {
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1.2;
    }

    .home-page .home-hero .hero-desc {
        margin-top: 18px;

        font-size: 14px;
        line-height: 1.85;
    }

    .home-page .home-hero-actions {
        gap: 10px;

        margin-top: 25px;
    }

    .home-page .home-hero-actions .btn,
    .home-page .home-secondary-btn {
        flex: 1 1 135px;

        min-width: 0;
        min-height: 45px;

        padding: 0 12px;

        font-size: 13px;
    }


    .home-page .home-visual-frame {
        padding: 8px;
    }

    .home-page .home-visual-topline,
    .home-page .home-visual-bottomline {
        min-height: 29px;

        padding: 0 5px;

        font-size: 8px;
    }

    .home-page .home-visual-stage {
        height: 260px;
    }

    .home-page .home-visual-decoration {
        width: 45px;
        height: 45px;
    }

    .home-page .home-visual-decoration-2 {
        width: 35px;
        height: 35px;
    }


    /* 优势栏 */
    .home-page .home-feature-section {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .home-page .home-feature-bar {
        grid-template-columns: minmax(0, 1fr);

        gap: 18px;
    }

    .home-page .home-feature-item {
        gap: 13px;
    }

    .home-page .home-feature-icon-wrap {
        width: 43px;
        height: 43px;
    }

    .home-page .home-feature-copy h4 {
        font-size: 14px;
    }

    .home-page .home-feature-copy p {
        font-size: 12px;
    }

    .home-page .home-certifications {
        margin-top: 8px;
        padding-top: 0;
    }

    .home-page .home-certifications-heading {
        flex-direction: column;
        gap: 5px;

        margin-bottom: 18px;
    }

    .home-page .home-certification-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .home-page .home-certification-image {
        width: 100%;
        max-width: 360px;
        aspect-ratio: 1.3 / 1;
    }

    /* 标题 */
    .home-page .home-efficiency {
        padding-top: 50px;
        padding-bottom: 25px;

        gap: 10px;
    }

    .home-page .home-efficiency h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .home-page .home-efficiency p {
        margin-top: 15px;

        font-size: 14px;
    }


    /* 产品介绍 */
    .home-page .home-product-intro {
        padding-bottom: 60px;
    }

    .home-page .home-product-intro-inner {
        gap: 27px;
    }

    .home-page .home-product-image-wrap {
        min-height: 240px;

        padding: 25px 14px;
    }

    .home-page .home-product-image-wrap::before {
        inset: 8px;
    }

    .home-page .home-product-image-wrap img {
        max-height: 300px;
    }

    .home-page .home-product-copy h2 {
        font-size: 28px;
    }

    .home-page .home-product-copy > p {
        font-size: 14px;
    }

    .home-page .home-action-btn {
        min-width: 150px;
        min-height: 45px;

        margin-top: 23px;
        padding: 0 17px;

        gap: 15px;

        font-size: 13px;
    }

    /* 产品与服务 */
    .home-page .home-dream-service {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .home-page .home-dream-inner {
        gap: 30px;
    }

    .home-page .home-dream-gallery {
        grid-template-columns:
            minmax(0, .9fr)
            minmax(0, 1.1fr);

        grid-template-rows: 135px 135px;

        gap: 8px;
    }

    .home-page .home-dream-image-3 .white-text-box {
        width: 92%;
        min-height: 48px;

        padding: 9px 10px;

        font-size: 11px;
    }

    .home-page .home-dream-content h2 {
        font-size: 28px;
    }

    .home-page .home-dream-content > p {
        font-size: 14px;
    }

    .home-page .home-dream-features {
        gap: 9px;

        margin-top: 20px;
    }

    .home-page .home-dream-features li {
        font-size: 13px;
    }

    /* 案例 */
    .home-page .home-case-study {
        padding-top: 50px;
        padding-bottom: 20px;
    }

    .home-page .home-case-head {
        align-items: flex-start;
        flex-direction: column;

        gap: 20px;

        margin-bottom: 25px;
    }

    .home-page .home-case-title h2 {
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .home-page .home-case-grid {
        grid-template-columns: minmax(0, 1fr);

        grid-auto-rows: 290px;
        gap: 14px;
    }

    .home-page .home-case-card[data-case-position="1"],
    .home-page .home-case-card[data-case-position="2"],
    .home-page .home-case-card[data-case-position="3"],
    .home-page .home-case-card[data-case-position="4"] {
        grid-column: 1;
        grid-row: auto;

        flex-direction: column;
    }

    .home-page .home-case-image-wrap {
        padding: 20px;
    }

    .home-page .home-case-copy {
        padding: 14px 16px 17px;
    }

    .home-page .home-case-wide-image {
        flex: 0 0 auto;

        width: 100%;
        height: 175px;
        min-height: 0;

        padding: 12px;
        box-sizing: border-box;
    }

    .home-page .home-case-wide-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .home-page .home-case-wide-copy {
        flex: 0 0 auto;

        width: 100%;

        padding: 14px 16px;

        border-left: 0;
    }

}


/* =========================================================
   12. 减少动态效果偏好
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}