/* 舸匠内容替换后的样式补充（2026-11-18）
   仅覆盖必要部分，原站 app.css / main.css 保持不变 */

/* 章节标题：替代原「壮发·产品」等写死中文的图片标题 */
.sec-title {
    line-height: 1.3;
}

.sec-title span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #9FB3C8;
    letter-spacing: .32em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* 首页 8 个产品分类图标：图标为 200x200 SVG，按 56px 显示，取消精灵图位移 */
.pro-cate li a {
    width: 96px;
    height: 96px;
    padding-top: 8px;
}

.pro-cate li .img {
    height: 68px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-cate li .img img {
    width: 68px;
    height: 68px;
    transform: none !important;
    object-fit: cover;
}

.pro-cate li.on a {
    background: #EAF3FB !important;
    border-color: #0561AA !important;
    box-shadow: 0 8px 18px rgba(5, 97, 170, .14);
}

.pro-cate li.on h3 {
    color: #0561AA !important;
}

.pro-cate li h3 {
    font-size: 13px;
    white-space: nowrap;
}

html[lang="en"] .pro-cate li h3 {
    white-space: normal;
    font-size: 11px;
    line-height: 1.3;
    word-break: break-word;
}

@media (max-width: 991px) {
    .pro-cate {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pro-cate li {
        width: 25%;
        margin-bottom: 14px;
    }

    .pro-cate li a {
        width: 84px;
        height: 84px;
        padding-top: 7px;
    }

    .pro-cate li .img {
        height: 52px;
    }

    .pro-cate li .img img {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 414px) {
    .pro-cate li a {
        width: 70px;
        height: 70px;
        padding-top: 6px;
    }

    .pro-cate li .img {
        height: 42px;
    }

    .pro-cate li .img img {
        width: 42px;
        height: 42px;
    }

    .pro-cate li h3 {
        font-size: 12px;
    }
}

/* 关于我们四宫格底部图标：原站为 60px 左右的小图标 */
.p2c li a .cont {
    padding: 1.6rem 1rem 0.9rem;
}

.p2c li a .cont img {
    width: 64px;
    height: 64px;
    padding-right: 0;
    margin: 0 auto;
}

/* 关于我们图片上的白色文案需要压暗背景 */
.p2a .img {
    position: relative;
}

.p2a .img::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(2, 22, 42, .72), rgba(2, 22, 42, .38) 55%, rgba(2, 22, 42, .05));
    pointer-events: none;
}

.pro-cate li.on img {
    transform: none !important;
}

/* 关于我们：1440 断点下原样式 width:100% 会让长文案顶到右边界，限制为可读栏宽 */
@media (min-width: 992px) {
    .p2a .cont {
        right: auto;
        width: 60%;
        max-width: 760px;
        line-height: 1.9;
    }

    .p2a .cont h3 {
        margin-bottom: 2.4rem;
        padding-bottom: 2.4rem;
    }
}

/* 内页 Banner：统一裁切高度，并显示页面标题 */
.page-banner {
    max-height: 420px;
    overflow: hidden;
}

.page-banner img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.page-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(4, 27, 48, .12), rgba(4, 27, 48, .48));
}

.page-banner .nybt {
    z-index: 2;
    top: 40%;
}

.page-banner .nybt h3 {
    display: block;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

@media (max-width: 767px) {
    .page-banner,
    .page-banner img {
        height: 200px;
    }

    .page-banner .nybt {
        top: 34%;
    }

    .page-banner .nybt h3 {
        font-size: 22px;
    }
}

/* 语言切换 */
.lang-switch {
    line-height: 60px;
    margin-right: 16px;
    font-size: 14px;
}

.lang-switch a {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 3px 12px;
}

.lang-switch a:hover {
    background: #0561AA;
    border-color: #0561AA;
    color: #fff;
}

.xymob-lang {
    position: absolute;
    right: 52px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    z-index: 3;
}

.xymob-lang a {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 2px 9px;
    line-height: 1.2;
}

/* 侧栏「在线留言」行动区（原为写死中文的图片） */
.page-message-img.cta-box {
    font-size: 14px;
    background: linear-gradient(135deg, #0561AA, #044E8A);
    border-radius: 4px;
    padding: 24px 16px;
    text-align: center;
}

.page-message-img.cta-box a {
    display: block;
    color: #fff;
}

.page-message-img.cta-box strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .06em;
}

.page-message-img.cta-box span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
}

/* ============================================================
   联系我们页面（page/contact.html）
   ============================================================ */
.contact-page {
    font-size: 14px;
    color: #4a4a4a;
}

.contact-intro {
    padding-bottom: 24px;
    border-bottom: 1px solid #eef2f6;
}

.contact-intro h2 {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 700;
    color: #102A43;
}

.contact-intro-text p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.9;
    color: #5a5a5a;
}

.contact-intro-text p:last-child {
    margin-bottom: 0;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.contact-meta li {
    display: flex;
    align-items: center;
    margin: 0 22px 8px 0;
    color: #102A43;
}

.contact-meta li svg {
    flex: none;
    margin-right: 7px;
    color: #0561AA;
}

/* 联系卡片 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.contact-card {
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #DCE7F2;
    border-radius: 4px;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.contact-card:hover {
    border-color: #bcd6ee;
    box-shadow: 0 10px 26px rgba(5, 97, 170, .08);
    transform: translateY(-2px);
}

.contact-card-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    color: #0561AA;
    background: #EAF3FB;
    border-radius: 50%;
}

.contact-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #102A43;
}

.contact-card-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: #0561AA;
    word-break: break-all;
}

a.contact-card-value:hover {
    color: #044E8A;
    text-decoration: underline;
}

a.contact-card-value[href^="mailto:"] {
    font-size: 13px;
    letter-spacing: -.01em;
}

.contact-card-address {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    color: #102A43;
    word-break: normal;
}

.contact-card-desc {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: #7B8FA3;
}

.contact-card-extra {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6c7a89;
}

.contact-card-extra a {
    color: #0561AA;
}

.contact-card-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #0561AA;
}

.contact-card-link:hover {
    color: #044E8A;
    text-decoration: underline;
}

/* 地图 */
.contact-map {
    margin-top: 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #DCE7F2;
    border-radius: 4px;
}

.contact-map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #f7fbff;
    border-bottom: 1px solid #DCE7F2;
}

.contact-map-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #102A43;
}

.contact-map-head a {
    font-size: 13px;
    color: #0561AA;
}

.contact-map-head a:hover {
    color: #044E8A;
    text-decoration: underline;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* 留言表单 + 侧栏信息 */
.contact-main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 30px;
}

.contact-panel {
    padding: 24px;
    background: #fff;
    border: 1px solid #DCE7F2;
    border-radius: 4px;
}

.contact-panel + .contact-panel {
    margin-top: 20px;
}

.contact-panel h3 {
    position: relative;
    margin: 0 0 18px;
    padding-left: 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #102A43;
}

.contact-panel h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 3px;
    background: #0561AA;
    border-radius: 2px;
}

.contact-panel-desc {
    margin: -8px 0 18px;
    font-size: 13px;
    line-height: 1.7;
    color: #7B8FA3;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-field {
    margin-bottom: 14px;
}

.contact-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #102A43;
}

.contact-field .req {
    margin-right: 3px;
    color: #d9534f;
}

.contact-form .form-control {
    height: 40px;
    font-size: 14px;
    border-color: #DCE7F2;
    border-radius: 2px;
    box-shadow: none;
}

.contact-form textarea.form-control {
    height: auto;
    resize: vertical;
}

.contact-form .form-control:focus {
    border-color: #0561AA;
    box-shadow: 0 0 0 3px rgba(5, 97, 170, .08);
}

.contact-captcha {
    display: flex;
    align-items: center;
}

.contact-captcha .form-control {
    flex: 1;
    min-width: 0;
}

.contact-captcha img {
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    border: 1px solid #DCE7F2;
    border-radius: 2px;
}

.contact-submit {
    min-width: 150px;
    height: 44px;
    padding: 0 34px;
    font-size: 15px;
    letter-spacing: .08em;
    color: #fff;
    background: #0561AA;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s;
}

.contact-submit:hover {
    background: #044E8A;
}

.contact-submit[disabled] {
    cursor: default;
    opacity: .6;
}

.contact-form-tip {
    margin: 12px 0 0;
    font-size: 12px;
    color: #7B8FA3;
}

.contact-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: contact-step;
}

.contact-checklist li {
    position: relative;
    padding: 0 0 14px 34px;
    font-size: 13px;
    line-height: 1.7;
    color: #5a5a5a;
    counter-increment: contact-step;
}

.contact-checklist li::before {
    content: counter(contact-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    color: #0561AA;
    background: #EAF3FB;
    border-radius: 50%;
}

.contact-checklist li:last-child {
    padding-bottom: 0;
}

.contact-links {
    display: grid;
    gap: 10px;
}

.contact-links a {
    display: block;
    padding: 11px 16px;
    font-size: 14px;
    color: #102A43;
    background: #f7fbff;
    border: 1px solid #DCE7F2;
    border-radius: 3px;
    transition: background .2s, border-color .2s, color .2s;
}

.contact-links a::after {
    content: '→';
    float: right;
    color: #0561AA;
}

.contact-links a:hover {
    color: #0561AA;
    background: #EAF3FB;
    border-color: #bcd6ee;
}

@media (max-width: 991px) {
    .contact-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-intro h2 {
        font-size: 22px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-map iframe {
        height: 280px;
    }

    .contact-panel {
        padding: 20px 16px;
    }

    .contact-map-head {
        flex-wrap: wrap;
    }
}

@media (max-width: 575px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* 手机端产品图：三类产品全部显示，均分一行 */
@media (max-width: 767px) {
    .pro-list li:last-child {
        display: list-item;
    }

    .pro-list li {
        width: calc(33.333% - 8px);
        margin: 0 4px;
    }
}

/* 移动端产品列表两列 */
@media (max-width: 767px) {
    .xypg-product-list { margin-left: -6px; margin-right: -6px; }
    .xypg-product-list li { width: calc(50% - 12px) !important; margin: 0 6px 18px !important; float: left; }
    .xypg-product-list li .img { width: 100%; }
}


/* 移动端 8 大分类两行四列 */
@media (max-width: 767px) {
    .pro-cate { flex-wrap: wrap; }
    .pro-cate li { width: 25% !important; margin-bottom: 12px; }
    .pro-cate li a { width: 70px; height: 70px; }
    .pro-cate li .img, .pro-cate li .img img { width: 44px; height: 44px; }
}

