﻿img {
    max-width: 100%;
    
}
.container {
    width: 1200px;
    margin: 0 auto;
}
.wrap{
    width: 1200px;
    margin:0 auto;
}
a {
    text-decoration: none;
    color: #3b2a1a;
}
/* Banner */
.page-banner {
    width:100%;
    height:320px;
    background: url("../images/sxjzzp_banner.png") no-repeat center center;
    background-size: cover;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}
.banner-text h1 {
    font-size:48px;
    color:#fff;
    margin-bottom:12px;
}
.banner-text p {
    font-size:20px;
    color:#fff;
    margin-bottom:8px;
}
.banner-text span {
    font-size:16px;
    color:#fff;
    opacity:0.92;
}
/* 主体页面 */
.suoxian-page{
    padding:5px 0;
}
.intro-box {
    max-width: 900px;
    width: 92%;
    margin: 40px auto;
    padding: 40px 48px;

    /* 比页面背景更明显的暖米黄卡片 */
    background: linear-gradient(180deg, #fbeed4 0%, #f3dcb3 100%);

    border-radius: 16px;
    position: relative;

    /* 卡片浮起，区块感更强 */
    box-shadow:
        0 10px 24px rgba(120, 80, 30, 0.12),
        inset 0 0 0 1px rgba(184, 28, 34, 0.35);
}

/* 内侧细红框，替代双红线 */
.intro-box::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 12px;
    border: 1px solid #b81c22;
    pointer-events: none;
}

/* 左上角小装饰 */
.intro-box .corner-tl {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 18px;
    height: 18px;
    border-top: 1px solid #b81c22;
    border-left: 1px solid #b81c22;
    pointer-events: none;
}

/* 右下角小装饰 */
.intro-box .corner-br {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 18px;
    height: 18px;
    border-bottom: 1px solid #b81c22;
    border-right: 1px solid #b81c22;
    pointer-events: none;
}

.intro-box p {
    font-size: 17px!important;
    line-height: 1.95;
    color: #3b2a1a;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 2;
}


.section-title {
    background: url("../images/lmt.png") center center no-repeat;
    background-size: contain; /* contain 完整显示整张图，保持原图比例，但是会留白 */
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 32px;
}


@media screen and (max-width:768px){
    .section-title{
        background: url("../images/lmt.png") center center no-repeat;
        background-size: 100% auto;
        padding:15px 16px;
    }
    .section-title h2{
        font-size:22px;
    }
}


.section-title h2 {
    font-size: 28px;
    color: #8c2323;
    margin-bottom: 6px;
}

.section-title p {
    color: #6b5a44;
    font-size: 15px;
    margin: 0;
}


/* ========== 产品展示 一行3个 ========== */
.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-item {
    background: #fff9ef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}
.product-item .img-box {
    width: 100%;
    height: 320px;
    overflow: hidden;
}
.product-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-item h3 {
    padding: 16px 20px 8px;
    font-size:18px;
    color:#8c2323;
}
.product-item p {
    padding:0 20px 20px;
    font-size:14px;
    color:#555;
    line-height:1.6;
}

/* ========== 核心优势 左右交替图文 ========== */
.advantage-block{
    margin-bottom:60px;
}
.advantage-row{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:32px;
    align-items:center;
    margin-bottom:36px;
}
.adv-img{
    border-radius:12px;
    overflow:hidden;
    background: #f3e9d8;
    height:260px;
}
.adv-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}
.adv-text h3{
    font-size:20px;
    color:#8c2323;
    margin-bottom:12px;
    /* 标题浅底色+边框 */
    background:#fff8ee;
    border:1px solid #e6d9c0;
    padding:10px 14px;
    border-radius:6px;
    display:inline-block;
}
.adv-text p{
    font-size:15px;
    color:#444;
    line-height:1.8;
}

/* ========== 专属实力 左右交替图文 ========== */
.strength-block{
    margin-bottom:60px;
}
.strength-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px;
    align-items:center;
    margin-bottom:36px;
}
.str-img{
    border-radius:12px;
    overflow:hidden;
    background: #f3e9d8;
    height:260px;
}
.str-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}
.str-text h3{
    font-size:20px;
    color:#8c2323;
    margin-bottom:12px;
    /* 标题浅底色+边框 */
    background:#fff8ee;
    border:1px solid #e6d9c0;
    padding:10px 14px;
    border-radius:6px;
    display:inline-block;
}
.str-text p{
    font-size:15px;
    color:#444;
    line-height:1.8;
}
/* 3列：产品展示 */
.product-list-3col{
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:24px;
}
/* 2列：核心优势 & 定制实力 */
.product-list-2col{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:24px;
}
/* 移动端全部单列 */
@media(max-width:768px){
    .product-list-3col,
    .product-list-2col{
        grid-template-columns: repeat(1,1fr);
    }
}


/* 联系块 */
/* contact-block 对应CSS，去掉白色背景，适配族谱仿古风格 */
.contact-block{
    margin-top:40px;
    padding:0 20px;
    text-align:center;
    background:transparent;
}

.contact-inner{
    display:inline-block;
    padding:14px 32px;
    background:
    linear-gradient(180deg, rgba(255,246,224,0.95) 0%, rgba(251,231,194,0.95) 100%);
    border:2px solid #c8161d;
    border-radius:8px;
    box-shadow:0 4px 14px rgba(120, 50, 20, 0.12);
    position:relative;
}

/* 上下细红线装饰 */
.contact-inner::before,
.contact-inner::after{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    height:2px;
    background:#c8161d;
    opacity:0.4;
}

.contact-inner::before{
    top:6px;
}

.contact-inner::after{
    bottom:6px;
}

.contact-block h3{
    color:#c8161d;
    font-size:24px;
    font-weight:bold;
    margin:0 0 5px;
    letter-spacing:2px;
}

.contact-block p{
    color:#5a3a22;
    font-size:13px;
    margin:0 0 12px;
}

.contact-block .btn{
    display:inline-block;
    background:#c8161d;
    color:#fff;
    padding:8px 24px;
    border-radius:5px;
    font-size:14px;
    text-decoration:none;
    transition: all 0.3s;
}

.contact-block .btn:hover{
    background:#a01016;
}

@media(max-width:768px){
    .contact-inner{
        padding:12px 24px;
    }

    .contact-block h3{
        font-size:16px;
    }

    .contact-block p{
        font-size:14px;
    }

    .contact-block .btn{
        font-size:13px;
        padding:7px 20px;
    }
}


@media(max-width:768px){
    .contact-inner{
        padding:14px 24px;
    }

    .contact-block h3{
        font-size:22px;
    }

    .contact-block p{
        font-size:13px;
    }

    .contact-block .btn{
        font-size:14px;
        padding:8px 22px;
    }
}

@media(max-width:768px){
    .contact-block{
        padding:22px 16px;
    }

    .contact-block h3{
        font-size:22px;
    }

    .contact-block p{
        font-size:14px;
    }

    .contact-block .btn{
        font-size:15px;
        padding:9px 24px;
    }
}

/* 移动端适配 */
@media(max-width:768px){
    .contact-block h3{
        font-size:16px;
    }
    .contact-block p{
        font-size:14px;
    }
    .contact-block .btn{
        font-size:14px;
        padding:12px 30px;
    }
}


/* 移动端适配 */
@media screen and (max-width:1200px){
    .wrap,.container{
        width:96%;
    }
}
@media screen and (max-width:768px){
    .wrap,.container{
        width:94%;
    }
    .page-banner{
        height:220px;
    }
    .banner-text h1{
        font-size:32px;
    }
    .product-list{
        grid-template-columns: repeat(2,1fr);
    }
    .advantage-row,.strength-row{
        grid-template-columns:1fr;
        gap:20px;
    }
    .adv-img,.str-img{
        height:220px;
    }
    .suoxian-page{
        padding:5px 0;
    }
}
@media screen and (max-width:480px){
    .product-list{
        grid-template-columns:1fr;
    }
}
/* 标题区域，沿用你网站中式标题风格 */
.section-title {
    text-align: center;
    margin: 50px 0 36px;
}
.section-title h2 {
    font-size: 32px;
    color: #9e2222;
    font-weight: bold;
    margin-bottom:10px;
}
.section-title p {
    font-size:17px;
    color:#443322;
}

/* 两列容器 */
.product-list-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin:0 auto;
    padding:0 20px;
}

/* 纯文字卡片样式，和网站风格统一 */
.product-item.text-card {
    background-color: #fffaf0;
    border-radius:14px;
    padding:32px;
    box-shadow: 0 8px 20px rgba(110,70,30,0.09);
    border:1px solid #f0ddc0;
}
.product-item.text-card h3 {
    font-size:20px;
    color:#9e2222;
    margin-bottom:14px;
    font-weight:bold;
}
.product-item.text-card p {
    font-size:16px;
    color:#3b2a1a;
    line-height:1.8;
}

/* 移动端自动变成1列 */
@media (max-width:768px){
.section-title {
  margin:5px 10px;      height: 140px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* 垂直居中核心 */
        align-items: center !important;
        text-align: center !important;
        background-size: 100% auto !important;
    }
   .section-title h2{
        margin:0 0 8px 0 !important;
    }
    .section-title p{
        margin:0 !important;
    }
.intro-box {
        
       margin: 5px auto;
        
       padding: 24px 20px;
    
     }
    .product-list-2col {
        grid-template-columns: 1fr;
    }
    .section-title h2{
        font-size:18px!important;
    }
.product-list-2col {
        grid-template-columns: 1fr;
        gap: 20px; padding: 0 !important;
    }
.title-adjust {
        padding-top: 18px !important;
    }

    .title-adjust h2 {
        margin-top: 0 !important;
        margin-bottom: 6px !important;
    }

    .title-adjust p {
        margin-top: 0 !important;
    }

}

