/* ========================================
 * pages.css - 原站页面版块样式（首页/关于/联系我们/资质）
 * 来源：kmrijie.cn/assets/index.css
 * ======================================== */

/* ========== 首页 Banner ========== */
.body-wrap {
    margin-top: -60px;
    background-color: #FA940F;
    background: linear-gradient(180deg, #FFF6D4 0%, rgba(254, 249, 229, 0.43) 100%);
}

.body {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    height: 483px;
    max-width: 1200px;
    margin: 0 auto;
}

.index-banner {
    height: 428px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 200px;
}

.index-banner-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.body-title {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.title1 {
    color: #252629;
    font-size: 48px;
    font-weight: 600;
}

.title2 {
    margin-top: 30px;
    color: #252629;
    font-size: 30px;
    line-height: 52px;
}

/* ========== 数据面板 ========== */
.data {
    display: flex;
    height: 100px;
    transform: translateY(-50px);
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #FFF;
    z-index: 2;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0px 100px 28px 0px rgba(0, 0, 0, 0.00), 0px 64px 26px 0px rgba(0, 0, 0, 0.00), 0px 36px 22px 0px rgba(0, 0, 0, 0.01), 0px 16px 16px 0px rgba(0, 0, 0, 0.02), 0px 4px 9px 0px rgba(0, 0, 0, 0.02);
}

.data-item {
    flex: 1;
    color: #051033;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.data-item-line {
    width: 1px;
    height: 30px;
    background: #EEE;
}

.data-label {
    font-size: 16px;
}

.data-value {
    text-align: center;
    font-size: 16px;
}

.data-value b {
    font-size: 32px;
}

/* ========== 通用标题 ========== */
.section-title {
    margin-top: 80px;
    margin-bottom: 60px;
    color: #252629;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
}

/* ========== 服务卡片区（data2） ========== */
.data2 {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.data2-item {
    padding: 16px;
    padding-left: 47px;
    border-radius: 12px;
    background: #F6F7F9;
    display: flex;
    justify-content: space-between;
    width: calc(50% - 12px);
    margin-top: 24px;
    cursor: pointer;
    box-sizing: border-box;
}

.data2-item:nth-child(2n + 1) {
    margin-right: 12px;
}

.data2-item:nth-child(2n) {
    margin-left: 12px;
}

.data2-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.data2-title {
    color: #252629;
    font-size: 24px;
    font-weight: 600;
}

.data2-title2 {
    margin-top: 8px;
    color: #727376;
    font-size: 16px;
    font-weight: 400;
}

.data2-img {
    border-radius: 12px;
    background: #fff;
    width: 166px;
    height: 166px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data2-img img {
    width: 144px;
    height: 144px;
}

.data2-button {
    margin-top: 30px;
    border-radius: 4px;
    border: 1px solid #E4E5E6;
    background: #FFF;
    padding: 6px 12px;
    color: #939499;
    font-size: 14px;
    cursor: pointer;
    align-self: flex-start;
    display: flex;
    align-items: center;
}

.data2-button-consult {
    width: 20px;
    height: 20px;
    margin-left: 4px;
    display: none;
}

.data2-item:hover {
    background: #FECE01;
}

.data2-item:hover .data2-img {
    background: rgba(255, 255, 255, 0.20);
}

.data2-item:hover .data2-button {
    background-color: transparent;
    border-color: transparent;
    color: #252629;
    font-weight: 600;
}

.data2-item:hover .data2-button-consult {
    display: inline-block;
}

/* ========== 专家介绍区（data3） ========== */
.data3-wrap {
    background: #F6F7F9;
}

.data3-title {
    padding-top: 70px;
    margin-top: 60px;
    margin-bottom: 0;
    padding-bottom: 60px;
}

.data3 {
    padding-left: 120px;
    padding-right: 120px;
    padding-bottom: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.data3-item {
    background-color: #fff;
    width: calc(33.3% - 24px);
    padding-bottom: 18px;
}

.data3-item + .data3-item {
    margin-left: 24px;
}

.data3-item .data2-button-consult {
    display: inline-block;
}

.data3-item .data2-button {
    background-color: transparent;
    border-color: transparent;
    color: #252629;
    font-weight: 600;
    margin-left: 24px;
    padding-left: 0;
}

.data3-img {
    text-align: center;
}

.data3-img img {
    width: 100%;
    max-width: 100%;
    height: 212px;
    border-radius: 6px 6px 0 0;
    object-fit: cover;
}

.data3-title1 {
    margin-top: 18px;
    color: #051033;
    font-size: 24px;
    font-weight: 500;
    padding-left: 24px;
}

.data3-title2 {
    margin-top: 7px;
    color: #697085;
    font-size: 16px;
    font-weight: 400;
    padding-left: 24px;
}

/* ========== 客户评价区（data4） ========== */
.data4 {
    display: flex;
    overflow-x: auto;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.data4-title {
    padding-top: 70px;
    padding-bottom: 60px;
    color: #252629;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
}

.data4-item {
    flex: 1;
    padding: 24px 30px;
    border-radius: 12px;
    background: #F6F7F9;
    display: flex;
    flex-direction: column;
}

.data4-item + .data4-item {
    margin-left: 20px;
}

.data4-flag {
    width: 20px;
}

.data4-flag-end {
    align-self: flex-end;
    margin-top: 12px;
}

.data4-item h5 {
    margin-top: 12px;
    color: #252629;
    font-size: 22px;
    font-weight: 600;
}

.data4-item h6 {
    margin-top: 8px;
    color: #252629;
    font-size: 18px;
    font-weight: 400;
}

/* ========== 弹窗遮罩 ========== */
.mask {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.mask-content {
    padding: 36px 63px 30px;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
}

.mask-close {
    position: absolute;
    top: 14px;
    right: 12px;
    z-index: 1;
    width: 14px;
    cursor: pointer;
}

.mask h5 {
    color: #333;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    line-height: 26px;
}

.mask h6 {
    color: #727376;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    text-align: center;
}

.mask-weixin-xcx {
    width: 200px;
    height: 200px;
    border-radius: 6px;
    margin-top: 16px;
    margin-bottom: 6px;
}

/* ========== 关于安心页 ========== */
.about-banner {
    display: flex;
    padding: 40px 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-banner-imgs {
    flex: 1;
    margin-right: 40px;
}

.about-banner-img {
    width: 100%;
    border-radius: 8px;
}

.about-banner-txt {
    flex: 1;
}

.about-banner-txt h3 {
    color: #252629;
    font-size: 40px;
    font-weight: 600;
}

.about-banner-txt p {
    margin-top: 16px;
    color: #252629;
    font-size: 16px;
}

.about-data-wrap {
    padding: 60px 120px;
    background: #F6F7F9;
}

.about-data {
    max-width: 1200px;
    margin: 0 auto;
}

.about-data-title {
    color: #252629;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
}

.about-data ul {
    margin-top: 36px;
    display: flex;
    justify-content: space-around;
}

.about-data li {
    display: flex;
    flex-direction: column;
    color: #252629;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.about-data li:last-child {
    margin-left: 40px;
}

.about-data ul img {
    width: 452px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.about-data2 {
    padding-left: 120px;
    padding-right: 120px;
    padding-bottom: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-data2-title {
    color: #252629;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    padding-top: 60px;
    padding-bottom: 70px;
}

.about-data2-wrap {
    display: flex;
    justify-content: space-between;
}

.about-data2 li {
    display: flex;
}

.about-data2-year {
    width: 77px;
    flex-shrink: 0;
    color: #252629;
    font-size: 20px;
    font-weight: 600;
    line-height: 34px;
}

.about-data2-line .points {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #E4E5E6;
    display: block;
    position: absolute;
    left: -4px;
    top: 0;
    z-index: 1;
}

.about-data2-line {
    background-color: #E4E5E6;
    position: absolute;
    left: 0;
    top: 12px;
    z-index: 1;
    width: 2px;
    height: 100%;
}

.about-data2-content {
    color: #939499;
    font-size: 20px;
    line-height: 34px;
    display: flex;
    padding-bottom: 24px;
    position: relative;
    padding-left: 28px;
}

.about-data2 li:last-child .about-data2-line {
    background-color: transparent;
}

.about-data2-imgs div {
    padding: 20px 10px;
    background-color: #F6F7F9;
    border-radius: 12px;
}

.about-data2-imgs div:first-child {
    margin-bottom: 23px;
}

.about-data2-imgs img {
    width: 262px;
    border-radius: 8px;
}

/* ========== 联系我们页 ========== */
.contact-banner {
    padding: 40px 120px;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-banner-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: #FEF9E5;
    height: 500px;
}

.contact-banner-img {
    width: 100%;
    height: 277px;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
}

.contact-banner-item h5 {
    color: #000;
    font-size: 24px;
    font-weight: 600;
    margin-top: 22px;
    padding: 0 30px;
}

.contact-banner-item p {
    margin-top: 9px;
    color: #727376;
    font-size: 18px;
    font-weight: 400;
    padding: 0 30px;
}

.contact-banner-item a {
    color: #FA940F;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    margin-top: 21px;
    width: fit-content;
    padding: 0 30px;
}

.contact-banner-item a img {
    width: 16px;
    margin-right: 8px;
}

.contact-banner-big,
.contact-banner-list {
    flex: 1;
}

.contact-banner-list {
    display: flex;
    flex-wrap: wrap;
    margin-left: 24px;
}

.contact-banner-small {
    width: calc(50% - 12px);
    margin-top: 24px;
    height: calc(250px - 12px);
}

.contact-banner-small:first-child,
.contact-banner-small:nth-child(2) {
    margin-top: 0;
}

.contact-banner-small:nth-child(2n) {
    margin-left: 24px;
}

.contact-banner-small .contact-banner-img {
    width: 100%;
    height: 134px;
    object-fit: cover;
}

.contact-banner-small h5 {
    margin-top: 14px;
    font-size: 18px;
    padding: 0 14px;
}

.contact-banner-small p {
    margin-top: 7px;
    font-size: 14px;
    padding: 0 14px;
}

.contact-banner-small a {
    padding: 0 14px;
}

/* ========== 资质页面 ========== */
.image-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.image-page h2 {
    color: #252629;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
}

.image-page img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-page .back-link {
    display: inline-block;
    margin-top: 30px;
    color: #FA940F;
    font-size: 16px;
    text-decoration: none;
}

.image-page .back-link:hover {
    text-decoration: underline;
}
