* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. 专门针对p标签：强制覆盖浏览器默认样式（最高优先级） */
p {
    margin-block-start: 0 !important;
    /* 清零顶部默认边距 */
    margin-top: 0 !important;
    /* 兼容旧版浏览器 */

}

/* ========== 以下是你原有大屏样式，完全保留 ========== */
.banner-title {
    position: absolute;
    top: 86%;
    left: 7.2%;
    transform: translate(10%, -50%);
    z-index: 10;
    color: white;
    font-family: "Source Han Serif SC", "Source_Han_Serif_SC", "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 2px;
    font-family: "Source Han Serif SC", "Microsoft Yahei", "PingFang SC", sans-serif;
    letter-spacing: 4px;
}

.page-py-120 {
    padding-top: 99px;
    padding-bottom: 99px;
}

/* 容器布局 */
.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

@media (min-width: 1024px) {
    .text-des-size {
        font-size: 1.125rem;
        line-height: 2.8rem;
    }
}

.h2 {
    /* 完全复用banner-title的字体属性 */
    font-family: "Source Han Serif SC", "Source_Han_Serif_SC", "Segoe UI", "Helvetica Neue", sans-serif;
    font-family: "Source Han Serif SC", "Microsoft Yahei", "PingFang SC", sans-serif;
    font-size: 3.3rem;
    font-weight: 700;
}

.text-red {
    color: #8b572a;
}

.font-bold {
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.text-des-size {
    font-size: 1.125rem;
}

.whitespace-pre-line {
    white-space: pre-line;
    /* 保留换行符，实现每行单独显示 */
}

.text-gray-700 {
    color: #444;
    /* 深灰色正文 */
}

.text-lg {
    font-size: 1.125rem;
}

.origin-section {
    position: relative;
    min-height: 760px;
    height: 760px;
    width: 100%;
}

/* 背景图片样式 */
.origin-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例且铺满容器 */
    z-index: 1;
    /* 图片在下层 */
}

/* 文字容器：实现上下居中+靠左 */
.origin-text-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* 文字在上层 */
    display: flex;
    align-items: center;
    /* 垂直上下居中 */
    justify-content: flex-start;
    /* 水平靠左 */
    padding: 0 20px;
    box-sizing: border-box;
    /* 内边距不影响宽度计算 */
}

/* 文字内容样式 */
.origin-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 文字内部元素靠左 */
    gap: 8px;
    /* 对应原gap-y-8（8*4=32） */
    color: white;
    width: 100%;
    max-width: none;
}

/* 标题样式 */
.origin-title {
    font-size: 24px;
    /* 对应原text-3xl，可根据需求调整 */
    font-weight: bold;
    margin: 0;
    font-family: "Source Han Serif SC", "Source_Han_Serif_SC", "Segoe UI", "Helvetica Neue", sans-serif;
    font-family: "Source Han Serif SC", "Microsoft Yahei", "PingFang SC", sans-serif;
    color: #fff;
}

/* 正文样式 */
.origin-desc {
    display: flex;
    line-height: 35px;
    font-size: 18px;
    /* 对应原text-lg */
    white-space: pre-line;
    /* 保留换行 */
    margin: 0;

}

/* 响应式：大屏适配（≥1024px，对应原lg:） */
@media (min-width: 1024px) {
    .origin-section {
        background-color: transparent;
    }

    .origin-text-container {
        padding: 0 calc(150* 1px);
        /* 对应原lg:px-[16.5rem] */
    }

    .origin-title {
        font-size: 45px;
        color: #fff;
        /* 大屏标题放大，可选 */
    }
}

.container {
    display: flex;
    flex-direction: column-reverse;
    /* 移动端先显示文字 */
    min-height: 730px;
    /* 最小高度匹配需求 */
}

/* 图片区域 */
.img-section {
    width: 100%;
    height: 100%;
    /* 移动端图片高度适配屏幕宽度 */
    flex-shrink: 0;
}

.img-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 图片填充容器，保持比例 */
}

/* 文字区域 */
.text-section {
    flex: 1;
    padding: 4rem 1.5rem;
    /* 移动端内边距 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    /* 标题与文字的间距 */
}

.text-content h2 {
    font-size: 2.8rem;
    /* 3xl 对应 30px 左右 */
    font-weight: bold;
    color: #8b572a;
    font-family: "Source Han Serif SC", "Microsoft Yahei", "PingFang SC", sans-serif;

}

.text-content img {
    width: 55vw;
    /* 移动端文字图宽度 */
}

/* PC端适配（屏幕≥1024px） */
@media (min-width: 1024px) {
    .container {
        flex-direction: row;
        /* PC端左右排列 */
    }

    .img-section {
        width: 54%;
        height: auto;
        /* PC端图片高度自适应容器 */
    }

    .text-section {
        padding: 0 10rem;
        margin-left: 85px;
        /* PC端左右内边距 */
    }

    .text-content img {
        width: 20rem;
        margin-top: 30px;
        /* PC端文字图宽度 */
    }
}

/* 容器样式 */
.brand-values-container {
    min-height: 530px;
    padding: 0;
    position: relative;
}

.brand-values {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 730px !important;
}

.brand-values-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    padding: 0 8rem;
    max-width: 1200px;
    /* 模拟 lg:px-[16.5rem] 效果 */
    margin: 0;
}

/* 标题区域 */
.brand-values-title-wrap {
    width: 100%;
    padding: 4rem 0;
    /* 模拟 lg:py-0 py-16 */
}

.brand-values-main-title {
    font-size: 2.5rem;
    /* text-3xl */
    font-weight: bold;
    text-align: center;
    color: #8b572a;
    /* 示例红色，可替换 */
    margin-bottom: 2.5rem;
}

/* 价值观卡片网格 */
.brand-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 2.5rem;
    /* 模拟 pt-t70 */
    margin-top: 3.5rem;
}

/* 大屏适配 */
@media (min-width: 1024px) {
    .brand-values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 9rem 0;
        margin-top: 0;
    }
}

/* 单个价值观卡片 */
.brand-value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: 3 center;
}

.brand-value-icon {
    width: 4rem;
    /* w-16 */
    height: auto;
}

@media (min-width: 1024px) {
    .brand-value-icon {
        width: 7rem;
    }
}

.brand-value-name {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: bold;
    color: #8b572a;
    margin-top: 1.5rem;
    line-height: 1;

}

@media (min-width: 1024px) {
    .brand-value-name {
        font-size: 2.8rem;
        margin-top: 3.5rem;
    }
}

.brand-value-desc {
    font-size: 0.875rem;
    /* text-des-size 自定义 */
    color: #4a5568;
    /* text-gray-700 */
    margin-top: 0.75rem;
    white-space: pre-line;
}

@media (min-width: 1024px) {
    .brand-value-desc {
        margin-top: 1.5rem;
    }
}

.brand-values {
    min-height: 930px;
    padding: 5rem 1.5rem;
    /* 上下大间距，左右小间距 */
    position: relative;
}

/* 内容内层：居中对齐，限制最大宽度避免大屏过宽 */
.brand-values__inner {
    max-width: 1400px;
    /* 适配 lg:px-[16.5rem] 的视觉宽度 */
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* 标题区域 */
.brand-values__title-wrap {
    width: 100%;
    padding: 4rem 0;
}

.brand-values__main-title {
    font-size: 2.7rem;
    /* 3xl */
    font-weight: 700;
    text-align: center;
    color: #8b572a;
    /* 茶百道红，可替换 */
    margin-top: 2.5rem;
    font-family: "Source Han Serif SC", "Microsoft Yahei", "PingFang SC", sans-serif;
}

/* 网格布局：核心四列逻辑 */
.brand-values__grid {
    width: 100%;
    /* 小屏：单列 */
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    /* 上下间距 */
    margin-top: 3.5rem;
}

/* 大屏断点（≥1024px）：强制四列均分 */
@media (min-width: 1024px) {
    .brand-values__grid {
        grid-template-columns: repeat(4, 1fr);
        /* 严格四列 */
        gap: 0 2.25rem;
        /* 左右列间距，上下无间距 */
        margin-top: 0;
        padding-top: 3rem;
    }
}

/* 单个卡片样式 */
.brand-value__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
}

/* 图标样式 */
.brand-value__icon {
    width: 4rem;
    /* 小屏尺寸 */
    height: auto;
}

@media (min-width: 1024px) {
    .brand-value__icon {
        width: 4rem;
        /* 大屏尺寸 */
    }
}

/* 卡片标题 */
.brand-value__name {
    font-size: 1rem;
    /* 小屏 */
    font-weight: 700;
    color: #011e41;
    margin-top: 1.5rem;
    line-height: 1;
    /* 无行高，紧凑 */
    font-family: "Source Han Serif SC", "Microsoft Yahei", "PingFang SC", sans-serif;
}

@media (min-width: 1024px) {
    .brand-value__name {
        font-size: 1.5rem;
        /* 大屏大标题 */
        margin-top: 1.5rem;
    }
}

/* 卡片描述 */
.brand-value__desc {
    font-size: 0.875rem;
    color: #4a5568;
    /* gray-700，和图片中一致 */
    margin-top: 0.75rem;
    /* 保留换行+手动换行，和图片一致 */
    white-space: pre-line;
    /* 调整行高，匹配图片的间距 */
    line-height: 2;
    /* 文字居中对齐（图片中是居中的） */
    text-align: center;
}

@media (min-width: 1024px) {
    .brand-value__desc {
        margin-top: 1.5rem;
        font-size: 1.2rem;
    }
}

/* 111 */
/* 外层容器：作为定位参考，设置高度和最小高度 */
.h-930 {
    height: 930px;
    min-height: 930px;
    position: relative;
}

/* 大屏下外层容器取消背景色（仅小屏显示） */
@media (min-width: 1024px) {
    .h-930.lg\:bg-transparent {
        background-color: transparent;
    }
}

/* 背景图片：绝对定位铺满容器 */
.h-930 img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 保持图片比例，填满容器 */
    opacity: 1;
}

/* 大屏下图片恢复相对定位（不影响布局） */
@media (min-width: 1024px) {
    .h-930 img.lg\:relative {
        position: relative;
    }
}

/* 文字容器：绝对定位（大屏）/相对定位（小屏），层级高于图片 */
.text-container {
    position: relative;
    /* 小屏默认相对定位 */
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    /* 确保在图片上方 */
    display: flex;
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 小屏水平居中 */
    padding: 16px 6px;
    /* 小屏内边距 */
}

/* 大屏下文字容器的样式 */
@media (min-width: 1024px) {
    .text-container.lg\:absolute {
        position: absolute;
        width: 80%;
        justify-content: flex-start;
        /* 大屏左对齐 */
        padding: 0 140px;
        /* 大屏内边距 */
    }
}

/* 文字内容块：响应式对齐 */
.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 小屏居中 */
    text-align: center;
    /* 小屏文字居中 */
    gap: 8px;
    /* 间距 */
    color: #fff;
    /* 文字白色 */
}

/* 大屏下文字左对齐 */
@media (min-width: 1024px) {
    .text-content.lg\:items-start {
        align-items: flex-start;
        text-align: left;
    }
}

/* 标题样式 */
.h2 {
    font-size: 3rem;
    /* 3xl */
    font-weight: bold;
    color: #8b572a;
}

/* 描述文本样式 */
.text-des-size {
    font-size: 1.125rem;
    /* lg */
    white-space: pre-line;
    /* 保留换行 */
}

/* ========== 以上是你原有代码，完全保留 ========== */

/* ========== 以下是新增/修改的移动端适配规则（仅影响小屏，不改动大屏） ========== */
/* 移动端基础样式（屏幕<1024px） */
@media (max-width: 1023px) {

    /* Banner标题适配 */
    .banner-title {
        top: 80%;
        left: 5%;
        transform: translateY(-50%);
        font-size: 2rem;
        letter-spacing: 2px;
        line-height: 1.2;
    }

    /* 匠心传承模块适配 */
    .page-py-120 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .h2 {
        font-size: 1.8rem !important;
    }

    .text-des-size {
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }

    .text-lg {
        font-size: 1rem !important;
    }

    /* 起源模块适配 */
    .origin-section {
        min-height: 500px !important;
        height: auto !important;
    }

    .origin-text-container {
        padding: 0 1rem !important;
    }

    .origin-title {
        font-size: 1.5rem !important;
    }

    .origin-desc {
        font-size: 1rem !important;
        line-height: 1.8 !important;
    }

    /* 品牌使命模块适配 */
    .container {
        min-height: auto !important;
        padding: 1rem 0 !important;
    }

    .img-section {
        height: 300px !important;
    }

    .text-section {
        padding: 2rem 1rem !important;
    }

    .text-content h2 {
        font-size: 1.8rem !important;
    }

    .text-content img {
        width: 80vw !important;
        max-width: 400px !important;
    }

    /* 品牌价值观模块适配 */
    .brand-values {
        min-height: auto !important;
        padding: 2rem 1rem !important;
    }

    .brand-values__inner {
        max-width: 100% !important;
        padding: 0 1rem !important;
        gap: 1.5rem !important;
    }

    .brand-values__title-wrap {
        padding: 2rem 0 !important;
    }

    .brand-values__main-title {
        font-size: 1.8rem !important;
        margin-top: 1rem !important;
    }

    .brand-values__grid {
        gap: 2rem !important;
        margin-top: 1rem !important;
    }

    .brand-value__card {
        padding: 1rem 0.5rem !important;
    }

    .brand-value__icon {
        width: 3rem !important;
    }

    .brand-value__name {
        font-size: 1.2rem !important;
        margin-top: 1rem !important;
        color: #8b572a !important;
    }

    .brand-value__desc {
        font-size: 0.9rem !important;
        line-height: 1.8 !important;
        margin-top: 0.5rem !important;
    }

    /* 品牌愿景模块适配 */
    .h-930 {
        height: auto !important;
        min-height: 400px !important;
    }

    .text-container {
        padding: 2rem 1rem !important;
    }

    .text-content {
        gap: 1rem !important;
    }

    .text-content .text-des-size {
        font-size: 2rem !important;
        line-height: 1.5 !important;
    }
}