/* ========== 页面业务样式（独立命名，无父元素前缀）========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

body { overflow-y: scroll; }

/* 全屏区块容器：高度由内容撑开，至少一屏 */
.section-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* 背景图层：sticky 固定在视口，内容滚到底后才随区块滚出 */
.section-wrapper picture {
    display: block;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.bg-layer {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 内容布局层：覆盖在背景上方，高度随内容撑开 */
.content-layout {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    margin-top: -100vh;
    display: flex;
    flex-direction: column;
}

/* 文本块 */
.text-block {
    padding: 0.5rem;
}

/* 对齐辅助类（不用 .l .r 简写） */
.align-left {
    margin-left: 0.9rem;
    align-self: flex-start;
}

.align-right {
    margin-right: 0.9rem;
    align-self: flex-end;
}

.text-block .tag {
    display: inline-block;
    padding: 0.2rem 1rem;
    line-height: 1;
    text-align: center;
    border-radius: 0.2rem;
    border: 1px solid #EDAF72;
    color: #EDAF72;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.text-block .tagline {
    margin-top: 0.34rem;
    position: relative;
}
.text-block .tagline::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.4s ease;
}

.text-block .tagline-w::after {
    width: 210px;
}

/* 通用标题样式（独立命名） */
.main-heading {
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-weight: bold;
    text-shadow: 0 0.02rem 0.1rem rgba(0, 0, 0, 0.3);
}

/* 通用描述文字样式（独立命名） */
.text-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

/* 按钮样式 */
.action-btn {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 0.2rem;
    background: linear-gradient(180deg, #F2DBBA 0%, #CCA074 100%);
    color: #000000;
    text-decoration: none;
    margin-top: 0.3rem;
    border: none;
    transition: color 0.3s;
}

/* 图标容器 */
.icon-box {
    margin-bottom: 0.2rem;
}

/* 卡片标题（独立命名，不带前缀） */
.sub-heading {
    margin-bottom: 0.1rem;
    font-weight: bold;
}

/* 分隔线 */
.divider-line {
    width: 0.5rem;
    height: 0.02rem;
    background-color: #ddd;
    margin: 0.15rem 0;
}

/* 卡片描述 */
.card-text {
    line-height: 1.5;
}

/* ========== 响应式设计（基于2560设计稿）========== */

/* PC端 (>= 1200px) */
@media (min-width: 1200px) {
    .content-layout { padding: 0; justify-content: center; }
    .action-btn { padding: 0.25rem 0.8rem; }
}

/* Tablet Landscape (900px - 1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
    .content-layout { padding: 0; justify-content: center; }
    .action-btn { padding: 0.35rem 1rem; }
}

/* Tablet Portrait (600px - 899px) */
@media (min-width: 600px) and (max-width: 899px) {
    .content-layout { padding: 12vh 0; justify-content: space-between; }
    .action-btn { padding: 0.5rem 1.2rem; }
    
    /* 小屏：文字块居中靠上，重写对齐方式 */
    .align-left, .align-right {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        align-self: center;
        max-width: initial;
    }
    .card-group { flex-wrap: wrap; }
    .text-block .tagline::after {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile (< 600px) */
@media (max-width: 599px) {
    .content-layout { padding: 10vh 0 0 0; justify-content: flex-start; }
    .action-btn { 
        padding: 0.6rem 1.5rem; 
        display: block; 
        margin: 0.5rem auto 0; 
    }
    
    /* 移动端：文字块居中靠上，重写对齐方式 */
    .align-left, .align-right {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        align-self: center;
        max-width: 90%;
    }
    /* 卡片单列堆叠 */
    .card-group { flex-wrap: wrap; }
    .text-block .tagline::after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 899px) {
    .card-group {
        justify-content: center;
    }
}

/* 向下滚动提示 */
.scroll-hint {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    pointer-events: none;
    transition: opacity 0.6s ease;
    animation: hintPulse 2.2s ease-in-out infinite;
}

.scroll-hint svg {
    color: rgba(255, 255, 255, 1);
}
.scroll-hint.hidden {
    opacity: 0;
}
.scroll-hint span {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.scroll-hint .chevron {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}
@keyframes hintPulse {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.allhigh-block {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 0;
    width: 9.77rem;
}

@media (max-width: 899px) {
    .allhigh-block {
        display: block;
        width: auto;
        padding-left: 0;
        margin-right: auto;
    }
}

.text-color-main {
    color: #f0ceaa;
}