/* 承诺板块样式 */
.section-promise {
    width: 100%;
    min-height: auto; /* 移除固定高度限制 */
    background-color: #000;
    padding: 40px 8vw 20px; /* 减小上下padding，特别是底部 */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 30px;
    position: relative; /* 添加相对定位 */
    overflow: hidden; /* 防止背景图溢出 */
}

/* 背景图片容器 */
.promise-bg-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    pointer-events: none; /* 防止图片影响交互 */
}

.promise-bg-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 1; /* 调整透明度为1 */
    filter: brightness(1.5); /* 增加亮度 */
}

/* 确保内容在背景之上 */
.promise-title,
.promise-content {
    position: relative;
    z-index: 2;
}

.promise-title {
    font-size: clamp(1.7rem, 5vw, 2.5rem);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: left;
}

.promise-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
}

.promise-text {
    font-size: clamp(1rem, 2vw, 1.4rem); /* 减小字体大小 */
    color: #dedede;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.highlight {
    color: #FFD700;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .section-promise {
        padding: calc(8vh + 20px) 5vw;
        gap: 30px;
    }
}

/* 横屏模式优化 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .section-promise {
        padding: 40px 5vw;
        min-height: auto;
    }
}
