/* 业务模式 - 参考设计稿布局：左右两栏 958×1128，铺满一屏 */
/* 🎉 热更新测试 - 第3次修改 - CSS热更新成功！ */
.business-model-section {
    padding: 0;
    background-color: #EAE3DE;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* 标题区域 - 固定在左上角 */
.business-model-header {
    position: absolute;
    top: 5.94vw;
    left: 13.05vw;
    z-index: 2;
}

.business-model-header .tit {
    line-height: 56px;
    color: #ffffff;
    position: relative;
    font-family: var(--bm-title-font, nm);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: left;
}

.business-model-header .tit:after {
    content: "";
    position: absolute;
    bottom: -2.4vw;
    left: 0;
    width: 6.354vw;
    height: 3px;
    background-color: #FF2426;
}

/* 布局：左右两栏背景 + 固定内容（每栏按 958×1128 比例） */
.business-model-inner {
    display: flex;
    width: 100%;
    max-width: 1916px;
    margin: 0 auto;
    aspect-ratio: 1920 / 1000;
    height: auto;
}

.bm-column {
    position: relative;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    overflow: visible;
}

.bm-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.25; /* 按设计稿透明度 */
}

.bm-left .bm-overlay {
    background: linear-gradient(135deg, rgba(7, 18, 32, 1) 0%, rgba(7, 18, 32, 1) 100%);
}

.bm-right .bm-overlay {
    background: linear-gradient(135deg, rgba(234, 227, 222, 1) 0%, rgba(234, 227, 222, 1) 100%);
}

.bm-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bm-left .bm-content {
    padding: 0;
    justify-content: flex-end;
    padding-bottom: 4.25vw;
}

.bm-right .bm-content {
    padding: 0;
    justify-content: flex-end;
    padding-bottom: 4.25vw;
}

/* 双环帧动画容器 - 横跨左右两栏中间 */
.dual-ring-animation {
    position: absolute;
    top: calc(50% - 2.66vw);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54.07vw;
    height: 23.57vw;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.js-business-model.rings-animated .dual-ring-animation {
    opacity: 1;
}

.dualRingSwiper {
    width: 100%;
    overflow: hidden;
}

.dualRingSwiper img {
    display: block;
    width: 100%;
    height: auto;
}

/* 内容主体：保持原有文案区域布局 */
.bm-main {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.bm-left .bm-main {
    padding: 0 5.8vw 0 13vw;
}

.bm-right .bm-main {
    padding: 0 13vw 0 5.8vw;
}

/* 文案区域 */
.bm-text-block {
    position: relative;
    z-index: 2;
    /* max-width: 70%; */
    text-align: left;
}

.bm-left .bm-text-block {
    color: #ffffff;
}

.bm-right .bm-text-block {
    color: #131e2b;
}

.bm-name {
    margin-bottom: 2.2vw;
    font-family: var(--bm-title-font, nm);
    line-height: 56px;
    text-transform: uppercase;
    letter-spacing: 3px;
}


/* 仅在 PC 端将左右标题分别放到各自环的中心，文案与按钮保持原来的底部布局
   标题定位相对每一列的 .bm-content（整列高度），左右可以单独微调 */
@media screen and (min-width: 1025px) {
    /* 取消中间容器的定位，让绝对定位标题以 .bm-content 为参考 */
    .bm-main,
    .bm-text-block {
        position: static;
    }

    /* 左右标题单独定位到各自环的中心附近 */
    .bm-left .bm-name,
    .bm-right .bm-name {
        position: absolute;
        top: 45%;              /* 垂直位置：正中心 */
        transform: translate(-50%, -50%);
        width: 40%;
        text-align: center;
    }

    .bm-left .bm-name {
        left: 72%;             /* 物业发展：环形正中心 */
    }

    .bm-right .bm-name {
        left: 28%;             /* 资产管理：环形正中心 */
    }
}

.bm-desc {
    line-height: 40px;
    margin-bottom: 2.2vw;
    font-family: var(--bm-body-font, nl);
    white-space: normal;
    word-break: break-word;
}

.bm-btn {
    display: inline-block;
    width: 215px;
    line-height: 48px;
    text-align: center;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--bm-body-font, nl);
}

/* 业务模式文案/按钮：与双环动画同步出现（PC 端） */
@media screen and (min-width: 1025px) {
    .js-business-model .bm-name {
        opacity: 0;
        transition: opacity 0.6s ease;
    }

    .js-business-model .bm-desc,
    .js-business-model .bm-btn {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .js-business-model.rings-animated .bm-name {
        opacity: 1;
        transition-delay: 0s;
    }

    .js-business-model.rings-animated .bm-desc,
    .js-business-model.rings-animated .bm-btn {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.5s; /* 双环出现后0.5秒再出现 */
    }
}

/* 大屏优化：超宽屏时收紧布局并缩小环的尺寸 */
@media screen and (min-width: 1680px) {
    /* 控制整体内容宽度，避免过度拉伸 */
    .business-model-inner {
        /* max-width: 1760px; */
        margin: 0 auto;
    }

    /* 大屏下双环动画位置微调 */
    /* .dual-ring-animation { top: 50%; } */


    /* 大屏下标题也略微下移，跟随双环中心 */
    .bm-left .bm-name,
    .bm-right .bm-name {
        top: 45%;
    }

    /* 标题和内容区的间距在大屏上稍微收紧一点 */
    .business-model-header {
        top: 4.5vw;
        left: 12vw;
    }

    .bm-left .bm-content,
    .bm-right .bm-content {
        /* padding-bottom: 6vw; */
    }

    .bm-left .bm-main {
        padding: 0 6vw 0 12vw;
    }

    .bm-right .bm-main {
        padding: 0 12vw 0 6vw;
    }
}



.bm-right .bm-btn {
    border-color: #131e2b;
    color: #131e2b;
}

/* 双环图层（只负责动效） */
.bm-ring-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18vw;
    height: 18vw;
    min-width: 260px;
    min-height: 260px;
}

.bm-ring-svg {
    width: 100%;
    height: 100%;
}

/* 初始状态：双环在左右两侧待机 */
.bm-ring-left,
.bm-ring-right {
    transform: translate(-50%, -50%);
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bm-ring-left {
    transform: translate(-200%, -50%);
}

.bm-ring-right {
    transform: translate(100%, -50%);
}

/* 滚动进入视口后：双环滑入并交融 */
.js-business-model.rings-animated .bm-ring-left {
    transform: translate(-50%, -50%);
}

.js-business-model.rings-animated .bm-ring-right {
    transform: translate(-50%, -50%);
    transition-delay: 0.2s;
}

/* 双环旋转动画（循环不息） */
.bm-ring-svg .ring-outer,
.bm-ring-svg .ring-inner {
    transform-box: fill-box;
    transform-origin: center;
}


/* 双圆容器 */
.dual-circles-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
    height: 35vw;
    max-height: 600px;
}

/* 圆形项目 */
.circle-item {
    width: 30vw;
    height: 30vw;
    max-width: 500px;
    max-height: 500px;
    position: relative;
    opacity: 0;
}

/* 左圆从左侧滑入 */
.circle-item.left-circle {
    transform: translateX(-100vw);
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease;
    margin-right: -5vw;
    z-index: 2;
}

/* 右圆从右侧滑入 */
.circle-item.right-circle {
    transform: translateX(100vw);
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease;
    margin-left: -5vw;
    z-index: 1;
}

/* 动画激活状态 */
.dual-circles-wrapper.animated .circle-item {
    transform: translateX(0);
    opacity: 1;
}

.dual-circles-wrapper.animated .circle-item.right-circle {
    transition-delay: 0.2s;
}

/* 圆形容器 */
.circle-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

/* 悬停效果 */
.circle-item:hover .circle-container {
    transform: scale(1.05);
}

.circle-item.left-circle:hover .circle-container {
    transform: scale(1.05) translateX(-10px);
}

.circle-item.right-circle:hover .circle-container {
    transform: scale(1.05) translateX(10px);
}

/* 背景图片 */
.circle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.circle-item:hover .circle-bg {
    transform: scale(1.1);
}

/* 遮罩层 */
.circle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 30, 43, 0.6) 0%, rgba(19, 30, 43, 0.3) 100%);
    z-index: 1;
}

.circle-item.right-circle .circle-overlay {
    background: linear-gradient(135deg, rgba(234, 227, 222, 0.4) 0%, rgba(234, 227, 222, 0.2) 100%);
}

/* SVG 双环 */
.circle-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* 圆环旋转动画 */
@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateRingReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* 激活旋转动画：双轮驱动、循环不息 */
.js-business-model.rings-animated .bm-ring-svg .ring-outer {
    animation: rotateRing 20s linear infinite;
}

.js-business-model.rings-animated .bm-ring-svg .ring-inner {
    animation: rotateRingReverse 25s linear infinite;
}

/* 内容文字 */
.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 3;
    width: 70%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.dual-circles-wrapper.animated .circle-content {
    opacity: 1;
    transition-delay: 1.2s;
}

.circle-title {
    margin-bottom: 1.2vw;
    font-family: nm;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

.circle-desc {
    line-height: 1.6;
    margin-bottom: 1.5vw;
    font-family: nl;
    opacity: 0.95;
    font-size: 0.9vw;
}

.circle-item.right-circle .circle-content {
    color: #131e2b;
}

/* 按钮样式 */
.circle-btn {
    display: inline-block;
    padding: 0.6vw 1.8vw;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-family: nl;
    transition: all 0.3s ease;
    border-radius: 25px;
    font-size: 0.85vw;
}

.circle-btn:hover {
    background-color: #FF2426;
    border-color: #FF2426;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 36, 38, 0.3);
}

.circle-item.right-circle .circle-btn {
    border-color: #131e2b;
    color: #131e2b;
}

.circle-item.right-circle .circle-btn:hover {
    background-color: #FF2426;
    border-color: #FF2426;
    color: #ffffff;
}

/* 响应式设计 */
@media screen and (max-width: 1560px) {
    .business-model-header .tit {
        line-height: 42px;
    }
}

@media screen and (max-width: 1440px) {
    .dual-circles-wrapper {
        height: 30vw;
    }

    .circle-item {
        width: 28vw;
        height: 28vw;
    }

    .circle-desc {
        font-size: 1vw;
    }

    .circle-btn {
        font-size: 0.9vw;
        padding: 0.7vw 2vw;
    }
}

@media screen and (max-width: 1024px) {
    /* 移动端保持PC端布局结构，只进行同比例缩放 */
    .business-model-section {
        padding: 0;
        overflow: hidden;
    }

    /* 保持左右两栏布局 */
    .business-model-inner {
        display: flex;
        width: 100%;
        aspect-ratio: 375 / 450;
    }

    .bm-column {
        width: 50%;
        height: 100%;
        background-size: cover;
        background-position: center center;
    }

    /* 保持遮罩层 */
    .bm-overlay {
        opacity: 0.25;
    }

    /* 双环动画在移动端调整尺寸和位置 */
    .dual-ring-animation {
        width: 90vw;
        height: 39.2vw;
        top: calc(50% - 8vw);
    }

    /* 标题区域保持绝对定位，使用vw单位自适应 */
    .business-model-header {
        position: absolute;
        top: 10vw;
        left: 6vw;
        z-index: 2;
    }

    .business-model-header .tit {
        font-size: 5.6vw;
        line-height: 1.3;
        letter-spacing: 0.8vw;
        color: #ffffff;
    }

    .business-model-header .tit:after {
        bottom: -3vw;
        width: 16vw;
        height: 0.5vw;
    }

    /* 移动端也使用PC端的标题定位逻辑 */
    .bm-main,
    .bm-text-block {
        position: static;
    }

    /* 左右标题定位到各自环的中心 */
    .bm-left .bm-name,
    .bm-right .bm-name {
        position: absolute;
        top: 42%;
        transform: translate(-50%, -50%);
        width: 40%;
        text-align: center;
        font-size: 4.5vw;
        line-height: 1.2;
        margin-bottom: 0;
        font-family: nm;
        text-transform: uppercase;
        letter-spacing: 0.5vw;
    }

    .bm-left .bm-name {
        left: 50%;
        color: #ffffff;
    }

    .bm-right .bm-name {
        left: 49%;
        color: #131e2b;
    }

    /* 保持底部内容区域的布局 */
    .bm-left .bm-content,
    .bm-right .bm-content {
        padding: 0;
        justify-content: flex-end;
        padding-bottom: 6vw;
    }

    .bm-left .bm-main {
        padding: 0 1.5vw 0 1.5vw;
    }

    .bm-right .bm-main {
        padding: 0 1.5vw 0 1.5vw;
    }

    .bm-text-block {
        max-width: 100%;
        text-align: left;
    }

    .bm-left .bm-text-block {
        color: #ffffff;
    }

    .bm-right .bm-text-block {
        color: #131e2b;
    }

    /* 描述文字使用vw单位 */
    .bm-desc {
        font-size: 3.2vw;
        line-height: 1.5;
        margin-bottom: 3vw;
        font-family: nl;
    }

    /* 按钮使用vw单位 */
    .bm-btn {
        width: 28vw;
        line-height: 9vw;
        font-size: 3vw;
        border-width: 0.3vw;
        font-family: nl;
    }

    .bm-right .bm-btn {
        border-color: #131e2b;
        color: #131e2b;
    }

    /* 双环容器保持原有布局 */
    .dual-circles-wrapper {
        height: 35vw;
    }

    .circle-item {
        width: 32vw;
        height: 32vw;
    }

    .circle-desc {
        font-size: 2.5vw;
    }

    .circle-btn {
        font-size: 2vw;
        padding: 1vw 2.5vw;
    }

    .circle-title {
        font-size: 3.5vw;
        margin-bottom: 2vw;
    }
}
