/* =========================================
   STILL IMAGES 页面专属样式
   ========================================= */

/* 1. 顶部大图 */
.page-hero {
    width: 100%;
    display: block;
    line-height: 0;
    padding-top: 0; 
}
.page-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =========================================
   2. OUR PROMISE 折叠面板模块
   ========================================= */
.promise-section {
    background-color: #f2f2f2; /* 浅灰色背景 */
    padding: 120px 0;
}

.promise-container {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: flex-start;
}

/* 左侧大标题 */
.promise-left {
    flex: 1;
    max-width: 550px;
}

.promise-heading {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
}

/* 右侧折叠面板 */
.promise-right {
    flex: 1;
    max-width: 550px;
}

.promise-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 手风琴项目 */
.accordion-item {
    border-bottom: 1px solid #dcdcdc;
}
.accordion-item:first-child {
    border-top: 1px solid #dcdcdc;
}

.accordion-header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    user-select: none;
    transition: color 0.3s ease;
}
.accordion-header:hover {
    color: #777;
}

/* 箭头图标 */
.accordion-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    transform: rotate(0deg); /* 初始向下 */
    color: #333;
}

/* 内容区域（默认收起） */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

/* 内容区域的文字样式 */
.accordion-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}
.accordion-content p:last-child {
    margin-bottom: 25px; /* 底部留白 */
}

/* =========================================
   展开状态的样式 (通过 JS 切换 .active)
   ========================================= */
.accordion-item.active .accordion-icon {
    transform: rotate(180deg); /* 箭头向上 */
}
.accordion-item.active .accordion-content {
    max-height: 500px; /* 足够大的值，让内容自然展开 */
    padding-top: 5px;
}

/* =========================================
   响应式适配
   ========================================= */
@media (max-width: 1024px) {
    .promise-container {
        flex-direction: column;
        gap: 60px;
    }
    .promise-left, .promise-right {
        max-width: 100%;
    }
    .promise-heading {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .page-hero img {
        max-height: 60vh; 
    }
    .promise-section {
        padding: 60px 0;
    }
    .promise-heading {
        font-size: 20px;
    }
    .promise-title {
        font-size: 20px;
    }
    .accordion-header {
        font-size: 15px;
        padding: 15px 0;
    }
    .accordion-content p {
        font-size: 14px;
    }
}