/* ==========================================================
   内页通用样式（关于我们 / 产品展示 / 新闻资讯 / 联系我们 / 搜索）
   继承 css/index.css 的头部、页脚与基础变量，仅补充内页组件
   ========================================================== */

:root {
    --orange: #f68800;
    --orange-light: #f7941d;
    --blue: #133688;
    --text: #333;
    --sub: #666;
    --gray: #f9fafb;
    --line: #eee;
}

body {
    padding-top: 100px;
}

html {
    scroll-behavior: smooth;
}

/* 锚点定位避开固定头部 */
[id] {
    scroll-margin-top: 130px;
}

/* ---------- 内页 Banner ---------- */
.page-hero {
    position: relative;
    height: 340px;
    background: url(../images/temporary/banner.jpg) center center / cover no-repeat;
    display: flex;
    align-items: center;
}

/* 各内页专属横幅 */
.page-hero.hero-about {
    background-image: url(../images/banner-about.jpg);
}

.page-hero.hero-products {
    background-image: url(../images/banner-products.jpg);
}

.page-hero.hero-news {
    background-image: url(../images/banner-news.jpg);
}

.page-hero.hero-contact {
    background-image: url(../images/banner-contact.jpg);
}

.page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 18, 40, 0.60) 0%, rgba(10, 18, 40, 0.34) 55%, rgba(10, 18, 40, 0.12) 100%);
}

.page-hero .hero-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-hero .hero-en {
    display: block;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.2;
}

.page-hero .hero-line {
    width: 44px;
    height: 3px;
    background: var(--orange);
}

/* ---------- 面包屑 ---------- */
.crumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.crumb {
    padding: 18px 0;
    font-size: 14px;
    color: #999;
}

.crumb a {
    color: var(--sub);
    transition: color 0.3s;
}

.crumb a:hover {
    color: var(--orange);
}

.crumb .sep {
    margin: 0 8px;
    color: #ccc;
}

.crumb .now {
    color: var(--orange);
}

/* ---------- 内容区 ---------- */
.inner-section {
    padding: 70px 0;
}

.inner-section.gray {
    background: var(--gray);
}

.inner-layout {
    display: flex;
    align-items: flex-start;
    gap: 56px;
}

.side-bar {
    width: 210px;
    flex: 0 0 210px;
    position: sticky;
    top: 130px;
}

.side-bar .side-title {
    background: var(--blue);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 22px 24px;
    letter-spacing: 1px;
}

.side-bar .side-title span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    text-transform: uppercase;
}

.side-nav {
    border: 1px solid var(--line);
    border-top: 0;
    background: #fff;
}

.side-nav a {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    color: var(--sub);
    border-left: 3px solid transparent;
    transition: all 0.25s;
}

.side-nav a + a {
    border-top: 1px solid #f3f3f3;
}

.side-nav a:hover,
.side-nav a.active {
    color: var(--orange);
    border-left-color: var(--orange);
    background: #fffaf3;
}

.side-contact {
    margin-top: 24px;
    border: 1px solid var(--line);
    padding: 24px;
    background: var(--gray);
}

.side-contact h4 {
    font-size: 16px;
    margin: 0 0 14px;
    color: var(--text);
}

.side-contact p {
    font-size: 13px;
    color: var(--sub);
    line-height: 24px;
    word-break: break-all;
}

.side-contact .tel {
    font-size: 22px;
    color: var(--orange);
    font-weight: 600;
    margin-top: 6px;
}

.main-col {
    flex: 1;
    min-width: 0;
}

/* ---------- 区块标题 ---------- */
.sec-title {
    margin-bottom: 34px;
}

.sec-title .en {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: #bbb;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sec-title h2 {
    font-size: 28px;
    color: var(--text);
    margin: 0 0 16px;
    font-weight: 600;
}

.sec-title .line {
    width: 36px;
    height: 3px;
    background: var(--orange-light);
}

.sec-title.center {
    text-align: center;
}

.sec-title.center .line {
    margin: 0 auto;
}

.sec-title .desc {
    color: var(--sub);
    font-size: 15px;
    line-height: 1.8;
    margin-top: 16px;
}

/* ---------- 关于我们：公司简介 ---------- */
.about-intro {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 40px;
    align-items: center;
}

.about-intro .pic {
    overflow: hidden;
    border-radius: 8px;
}

.about-intro .pic img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-intro .pic:hover img {
    transform: scale(1.04);
}

.about-intro .txt p {
    color: var(--sub);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 16px;
}

.about-intro .txt p strong {
    color: var(--text);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.about-tags span {
    font-size: 13px;
    color: var(--orange);
    background: #fff5e8;
    border: 1px solid #ffe4c4;
    padding: 6px 14px;
    border-radius: 999px;
}

/* 数据条 */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 50px;
    border: 1px solid var(--line);
    background: #fff;
}

.stat-item {
    padding: 32px 20px;
    text-align: center;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--line);
}

.stat-item em {
    display: block;
    font-style: normal;
    font-size: 34px;
    font-weight: 700;
    color: var(--orange);
    line-height: 1.1;
}

.stat-item em i {
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    margin-left: 2px;
}

.stat-item p {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--sub);
}

/* ---------- 发展历程 ---------- */
.timeline {
    position: relative;
    padding-top: 6px;
}

.tl-item {
    display: grid;
    grid-template-columns: 96px 24px 1fr;
    column-gap: 18px;
    margin-bottom: 26px;
    align-items: start;
}

.tl-year {
    text-align: right;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    line-height: 24px;
}

.tl-rail {
    position: relative;
    align-self: stretch;
    min-height: 80px;
}

.tl-rail::before {
    content: '';
    position: absolute;
    left: calc(50% - 1px);
    top: 4px;
    bottom: -26px;
    width: 2px;
    background: #e8e8e8;
}

.tl-rail .dot {
    position: absolute;
    left: calc(50% - 6px);
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px #fff2e0;
}

.tl-body {
    background: var(--gray);
    border-left: 3px solid transparent;
    padding: 18px 22px;
    transition: all 0.3s;
}

.tl-item:hover .tl-body {
    background: #fff;
    border-left-color: var(--orange);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.tl-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--text);
    line-height: 1.6;
}

.tl-body p {
    margin: 0;
    font-size: 14px;
    color: var(--sub);
    line-height: 1.9;
}

/* ---------- 卡片组 ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-item {
    background: #fff;
    border: 1px solid var(--line);
    padding: 34px 28px;
    transition: all 0.3s;
}

.card-item:hover {
    border-color: #ffe0bc;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
    transform: translateY(-4px);
}

.card-item .no {
    font-size: 13px;
    letter-spacing: 2px;
    color: #ccc;
    font-family: 'Poppins', Arial, sans-serif;
}

.card-item h3 {
    font-size: 19px;
    color: var(--text);
    margin: 12px 0 14px;
}

.card-item p {
    font-size: 14px;
    color: var(--sub);
    line-height: 1.9;
    margin: 0;
}

.card-item .ico {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff5e8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.card-item .ico svg {
    width: 22px;
    height: 22px;
    stroke: var(--orange);
}

/* ---------- 资质横幅 ---------- */
.honor-band {
    position: relative;
    height: 0;
    padding-top: 32%;
    background: url(../images/temporary/7.jpg) center center / cover no-repeat;
    margin: 60px 0;
}

.honor-band .band-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 18, 40, 0.72), rgba(10, 18, 40, 0.2));
}

.honor-band .band-text {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding-left: 44px;
    box-sizing: border-box;
    z-index: 2;
    color: #fff;
}

.honor-band .band-mask {
    background: linear-gradient(90deg, rgba(10, 18, 40, 0.88) 0%, rgba(10, 18, 40, 0.55) 45%, rgba(10, 18, 40, 0.18) 100%);
}

.honor-band .band-text h3 {
    font-size: 26px;
    margin: 0 0 10px;
}

.honor-band .band-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ---------- CTA ---------- */
.cta-band {
    background: var(--blue);
    color: #fff;
    padding: 46px 0;
}

.cta-band .cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-band h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

.cta-band p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.cta-band .btn {
    padding: 15px 44px;
}

/* ---------- 产品展示 ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.filter-bar button {
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--sub);
    font-size: 14px;
    padding: 10px 24px;
    transition: all 0.25s;
}

.filter-bar button:hover {
    color: var(--orange);
    border-color: #ffd6a3;
}

.filter-bar button.on {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.prod-card {
    border: 1px solid var(--line);
    background: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

/* 产品默认只显示前 6 个，其余待“加载更多” */
.prod-card.prod-hidden {
    display: none;
}

.prod-card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    border-color: #ffe0bc;
    transform: translateY(-4px);
}

.prod-card .thumb {
    height: 220px;
    overflow: hidden;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prod-card:hover .thumb img {
    transform: scale(1.06);
}

.prod-card .info {
    padding: 22px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-card .cat {
    font-size: 12px;
    color: var(--orange);
    letter-spacing: 1px;
}

.prod-card h3 {
    font-size: 17px;
    color: var(--text);
    margin: 10px 0 10px;
    line-height: 1.5;
}

.prod-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    margin: 0 0 14px;
    flex: 1;
}

.prod-card .more {
    font-size: 13px;
    color: var(--orange);
    align-self: flex-start;
}

/* 空结果 */
.empty-tip {
    display: none;
    padding: 60px 0;
    text-align: center;
    color: #999;
    font-size: 15px;
    border: 1px dashed #ddd;
}

/* ---------- 新闻资讯 ---------- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-item {
    display: grid;
    grid-template-columns: 92px 168px 1fr;
    gap: 24px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.news-item:hover {
    border-color: #ffe0bc;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
    transform: translateX(4px);
}

.news-date {
    text-align: center;
    border-right: 1px solid var(--line);
    padding-right: 18px;
}

.news-date em {
    display: block;
    font-style: normal;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

.news-date span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.news-thumb {
    height: 104px;
    overflow: hidden;
    background: var(--gray);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-thumb img {
    transform: scale(1.06);
}

.news-txt {
    min-width: 0;
}

.news-txt .tag {
    display: inline-block;
    font-size: 12px;
    color: var(--orange);
    background: #fff5e8;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.news-txt h3 {
    font-size: 17px;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.6;
    transition: color 0.3s;
}

.news-item:hover .news-txt h3 {
    color: var(--orange);
}

.news-txt p {
    margin: 0;
    font-size: 13px;
    color: #999;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-side-list a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    color: var(--sub);
    transition: color 0.3s;
}

.news-side-list a:hover {
    color: var(--orange);
}

.news-side-list a span {
    flex: 0 0 auto;
    color: #bbb;
    font-size: 12px;
}

.news-side-list a b {
    flex: 1;
    min-width: 0;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.load-more-wrap {
    text-align: center;
    margin-top: 34px;
}

.load-more {
    cursor: pointer;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--sub);
    font-size: 14px;
    padding: 14px 46px;
    transition: all 0.3s;
}

.load-more:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* ---------- 新闻弹窗 ---------- */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 16, 30, 0.6);
    z-index: 2000;
    padding: 60px 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal.open {
    display: block;
}

.modal-box {
    background: #fff;
    width: 780px;
    max-width: 100%;
    margin: 0 auto;
    padding: 44px 50px 50px;
    position: relative;
    box-sizing: border-box;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    background: none;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--orange);
}

.modal-box .m-tag {
    font-size: 12px;
    color: var(--orange);
}

.modal-box h2 {
    font-size: 24px;
    color: var(--text);
    margin: 12px 0 14px;
    line-height: 1.5;
}

.modal-box .m-meta {
    font-size: 13px;
    color: #aaa;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}

.modal-box .m-body p {
    font-size: 15px;
    color: var(--sub);
    line-height: 2;
    margin: 0 0 16px;
    text-indent: 2em;
}

/* ---------- 联系我们 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.contact-card {
    border: 1px solid var(--line);
    padding: 30px 24px;
    background: #fff;
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: #ffe0bc;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.contact-card .ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff5e8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-card .ico svg {
    width: 19px;
    height: 19px;
    stroke: var(--orange);
}

.contact-card h4 {
    font-size: 15px;
    color: #999;
    font-weight: 400;
    margin: 0 0 8px;
}

.contact-card p {
    font-size: 16px;
    color: var(--text);
    margin: 0;
    line-height: 1.7;
    word-break: break-all;
}

.contact-card.small p {
    font-size: 14px;
}


.form-box h2 {
    font-size: 22px;
    margin: 0 0 8px;
    color: var(--text);
}

.form-box .form-tip {
    font-size: 13px;
    color: #999;
    margin: 0 0 26px;
    line-height: 1.7;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-row label {
    font-size: 14px;
    color: var(--sub);
}

.form-row label i {
    color: var(--orange);
    font-style: normal;
    margin-left: 4px;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    background: #fff;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    border-color: var(--orange);
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row .captcha-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-row .captcha-wrap input {
    width: 180px;
    flex: 0 0 180px;
}

.form-row .captcha-wrap img {
    display: block;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.form-row .err {
    font-size: 12px;
    color: #e23b3b;
    display: none;
}

.form-row.invalid input,
.form-row.invalid textarea {
    border-color: #e23b3b;
}

.form-row.invalid .err {
    display: block;
}

.form-submit {
    cursor: pointer;
    background: var(--orange);
    color: #fff;
    border: 0;
    font-size: 15px;
    padding: 15px 50px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-submit:hover {
    opacity: 0.9;
}

.map-box {
    border: 1px solid var(--line);
    background: #fff;
}

.map-box .map-head {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: block;
}

.map-box .map-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-box .map-head span {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 16px;
    box-sizing: border-box;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.map-box .map-info {
    padding: 22px 24px 26px;
}

.map-box .map-info h4 {
    font-size: 16px;
    margin: 0 0 12px;
    color: var(--text);
}

.map-box .map-info p {
    font-size: 14px;
    color: var(--sub);
    line-height: 1.9;
    margin: 0 0 8px;
}

.map-box .qr {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.map-box .qr img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.map-box .qr p {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.8;
}

/* ---------- 搜索页 ---------- */
.search-panel {
    background: var(--gray);
    padding: 44px 50px;
    border: 1px solid var(--line);
}

.search-form {
    display: flex;
    gap: 12px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ddd;
    background: #fff;
    padding: 15px 20px;
    font-size: 16px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
}

.search-form input:focus {
    border-color: var(--orange);
}

.search-form button {
    cursor: pointer;
    border: 0;
    background: var(--orange);
    color: #fff;
    font-size: 15px;
    padding: 0 42px;
    font-family: inherit;
    transition: opacity 0.3s;
}

.search-form button:hover {
    opacity: 0.9;
}

.hot-words {
    margin-top: 18px;
    font-size: 13px;
    color: #999;
}

.hot-words a {
    color: var(--sub);
    margin-right: 14px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.hot-words a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.search-result-head {
    font-size: 14px;
    color: #999;
    margin: 34px 0 20px;
}

/* 常用入口 */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-card {
    display: block;
    border: 1px solid var(--line);
    padding: 26px 24px;
    background: #fff;
    transition: all 0.3s;
}

.quick-card:hover {
    border-color: #ffe0bc;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.quick-card h4 {
    font-size: 17px;
    color: var(--text);
    margin: 0 0 8px;
}

.quick-card p {
    margin: 0;
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}

.quick-card .q-en {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: #ccc;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.search-result-head b {
    color: var(--orange);
    font-weight: 600;
    margin: 0 4px;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.result-item {
    display: block;
    border: 1px solid var(--line);
    padding: 20px 24px;
    background: #fff;
    transition: all 0.3s;
}

.result-item:hover {
    border-color: #ffe0bc;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.result-item .r-type {
    display: inline-block;
    font-size: 12px;
    color: var(--orange);
    background: #fff5e8;
    padding: 2px 10px;
    margin-bottom: 8px;
}

.result-item h3 {
    font-size: 16px;
    color: var(--text);
    margin: 0 0 6px;
    line-height: 1.6;
}

.result-item p {
    margin: 0;
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}

.result-item .r-type-news {
    color: #1d7a4c;
    background: #eaf7f0;
}

/* ---------- 轻提示 ---------- */
.toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    background: rgba(20, 26, 40, 0.92);
    color: #fff;
    font-size: 14px;
    line-height: 1.7;
    padding: 16px 26px;
    border-radius: 6px;
    z-index: 3000;
    max-width: 80vw;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1300px) {
    .this-1240 {
        width: 94%;
    }

    #nav a {
        padding: 0 10px;
    }

    .search {
        margin-left: 24px;
    }
}

@media (max-width: 1000px) {
    body {
        padding-top: 104px;
    }

    #header .logo {
        height: 44px;
        margin: 8px 0;
        display: block;
    }

    #header .logo img {
        height: 44px;
        width: auto;
        display: block;
    }

    .h_r {
        float: none;
        clear: both;
        width: 100%;
    }

    #nav {
        float: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #nav .after {
        display: flex;
        white-space: nowrap;
    }

    #nav a {
        line-height: 46px;
        font-size: 14px;
        padding: 0 14px;
        margin-right: 4px;
    }

    .search {
        display: none;
    }

    .page-hero {
        height: 260px;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .inner-layout {
        display: block;
    }

    .side-bar {
        width: 100%;
        flex: none;
        position: static;
        margin-bottom: 34px;
    }

    .side-contact {
        display: none;
    }

    .side-nav {
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid var(--line);
    }

    .side-nav a {
        flex: 1 1 0;
        min-width: 0;
        white-space: nowrap;
        text-align: center;
        padding: 14px 4px;
        font-size: 13px;
        border-left: 0;
        border-bottom: 2px solid transparent;
    }

    .side-nav a:hover,
    .side-nav a.active {
        border-left: 0;
        border-bottom-color: var(--orange);
    }

    .side-nav a+a {
        border-top: 0;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .prod-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .cta-band .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- 资质证书网格 ---------- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 26px;
}

.cert-card {
    background: #fff;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: all 0.3s;
}

/* 证书默认只显示前 8 个，其余待“加载更多” */
.cert-card.cert-hidden {
    display: none;
}

.cert-card:hover {
    border-color: #ffe0bc;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.cert-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f6f7f9;
    border-bottom: 1px solid #f0f0f0;
}

.cert-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-thumb img {
    transform: scale(1.04);
}

.cert-thumb .zoom {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: rgba(19, 54, 136, 0.82);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s;
}

.cert-card:hover .cert-thumb .zoom {
    opacity: 1;
}

.cert-info {
    padding: 16px 14px 18px;
    text-align: center;
}

.cert-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cert-info p {
    margin: 8px 0 0;
    font-size: 12px;
    color: #999;
    letter-spacing: 0.3px;
}

/* ---------- 车间实景：四列 ---------- */
.gallery-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* 车间实景默认只显示前 8 张，其余待“加载更多” */
.gallery-item.gallery-hidden {
    display: none;
}

.gallery-grid.cols-4 .gallery-item {
    height: 160px;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-grid.cols-4 .gallery-mask {
    height: 45%;
}

.gallery-grid.cols-4 .gallery-text {
    left: 16px;
    bottom: 16px;
    right: 16px;
    font-size: 15px;
    line-height: 1.5;
}

/* ---------- 设备视频 ---------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.video-card {
    background: #fff;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: all 0.3s;
}

/* 设备视频默认只显示前 8 个，其余待“加载更多” */
.video-card.video-hidden {
    display: none;
}

.video-card:hover {
    border-color: #ffe0bc;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.video-thumb {
    position: relative;
    aspect-ratio: 8 / 5;
    overflow: hidden;
    background: #0d1220;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.video-thumb .video-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08) 62%);
    z-index: 1;
}

.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(246, 136, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.video-card:hover .video-play {
    background: var(--orange-light);
    transform: translate(-50%, -50%) scale(1.08);
}

.video-play svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.video-thumb .video-name {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    z-index: 2;
}

.video-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 12px;
    color: #999;
}

.video-info .v-tag {
    color: var(--orange);
    background: #fff5e8;
    padding: 3px 8px;
}

/* ---------- 灯箱（证书放大 / 视频播放） ---------- */
.media-lightbox {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 10, 20, 0.88);
    z-index: 2600;
    padding: 56px 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.media-lightbox.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-lightbox .lb-close {
    position: absolute;
    right: 22px;
    top: 12px;
    width: 44px;
    height: 44px;
    line-height: 40px;
    text-align: center;
    font-size: 30px;
    color: #fff;
    opacity: 0.75;
    background: none;
    border: 0;
    cursor: pointer;
    transition: opacity 0.3s;
}

.media-lightbox .lb-close:hover {
    opacity: 1;
}

.lb-figure {
    max-width: min(720px, 92vw);
    text-align: center;
}

.lb-figure img {
    max-width: 100%;
    max-height: 74vh;
    display: block;
    margin: 0 auto;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.lb-cap {
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 16px;
}

.lb-cap span {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 4px;
}

.lb-video-wrap {
    width: min(1020px, 94vw);
    text-align: center;
}

.lb-video-wrap video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 74vh;
    display: block;
    object-fit: contain;
    background: #000;
    border-radius: 4px;
}

.lb-video-wrap .lb-cap {
    margin-top: 14px;
}

@media (max-width: 1000px) {

    .cert-grid,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    body {
        padding-top: 100px;
    }

    .page-hero {
        height: 210px;
    }

    .page-hero h1 {
        font-size: 26px;
    }

    .page-hero .hero-en {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .inner-section {
        padding: 44px 0;
    }

    .sec-title h2 {
        font-size: 22px;
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(3) {
        border-left: 0;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .stat-item em {
        font-size: 26px;
    }

    .tl-item {
        grid-template-columns: 56px 24px 1fr;
        column-gap: 12px;
    }

    .tl-year {
        font-size: 15px;
        padding-top: 3px;
    }

    .tl-body {
        padding: 14px 16px;
    }

    .card-grid,
    .prod-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        grid-template-columns: 64px 1fr;
        gap: 14px;
        padding: 16px;
    }

    .news-thumb {
        display: none;
    }

    .news-date {
        padding-right: 12px;
    }

    .news-date em {
        font-size: 22px;
    }

    .news-item:hover {
        transform: none;
    }

    .search-panel {
        padding: 26px 20px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        padding: 14px 0;
    }

    .modal-box {
        padding: 34px 22px 30px;
    }

    .honor-band {
        padding-top: 48%;
    }

    .honor-band .band-text h3 {
        font-size: 18px;
    }

    .honor-band .band-text p {
        font-size: 12px;
    }

    .cta-band h3 {
        font-size: 19px;
    }

    .footer-wrap {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
    }

    .footer-logo img {
        height: 70px;
    }

    .cert-grid {
        gap: 12px;
    }

    .cert-info {
        padding: 12px 8px 14px;
    }

    .cert-info h4 {
        font-size: 13px;
        height: 40px;
        -webkit-line-clamp: 2;
    }

    .gallery-grid.cols-4 {
        grid-template-columns: 1fr;
    }

    .gallery-grid.cols-4 .gallery-item {
        height: 210px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .media-lightbox {
        padding: 46px 14px;
    }
}

/* ==========================================================
   详情页（产品详情 / 新闻详情）
   ========================================================== */
.page-hero.slim {
    height: 240px;
}

.detail-section {
    padding: 46px 0 74px;
}

.detail-layout {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.detail-main {
    flex: 1;
    min-width: 0;
}

.detail-aside {
    width: 300px;
    flex: 0 0 300px;
}

.detail-head .d-en {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: #bbb;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.detail-head h1 {
    font-size: 30px;
    line-height: 1.45;
    color: var(--text);
    margin: 0 0 16px;
    font-weight: 600;
}

.detail-head .d-line {
    width: 36px;
    height: 3px;
    background: var(--orange-light);
}

.detail-meta {
    margin-top: 16px;
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}

.detail-cover {
    margin-top: 30px;
    background: var(--gray);
    border: 1px solid var(--line);
    overflow: hidden;
}

.detail-cover img {
    width: 100%;
    display: block;
}

.detail-body {
    margin-top: 30px;
    margin-bottom: 40px;
}

.detail-body p {
    font-size: 15px;
    line-height: 2.05;
    color: var(--sub);
    margin: 0 0 18px;
}

.detail-body h3 {
    font-size: 18px;
    color: var(--text);
    margin: 34px 0 16px;
    font-weight: 600;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.spec-table td {
    border: 1px solid var(--line);
    padding: 13px 18px;
    font-size: 14px;
    color: var(--sub);
    line-height: 1.7;
}

.spec-table td.k {
    width: 160px;
    background: var(--gray);
    color: var(--text);
}

.detail-cta {
    margin-top: 40px;
    background: var(--blue);
    color: #fff;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.detail-cta h3 {
    font-size: 19px;
    margin: 0 0 8px;
}

.detail-cta p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.detail-btn {
    flex: 0 0 auto;
    background: var(--orange);
    color: #fff;
    font-size: 14px;
    padding: 13px 36px;
    transition: opacity 0.3s;
}

.detail-btn:hover {
    opacity: 0.9;
}

.detail-back {
    display: inline-block;
    margin-top: 30px;
    font-size: 14px;
    color: var(--sub);
    transition: color 0.3s;
}

.detail-back:hover {
    color: var(--orange);
}

/* 侧栏 */
.aside-box {
    border: 1px solid var(--line);
    background: #fff;
    padding: 24px 24px 8px;
}

.aside-box h4 {
    font-size: 17px;
    color: var(--text);
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.rel-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.rel-item:last-child {
    border-bottom: 0;
}

.rel-item img {
    width: 78px;
    height: 58px;
    flex: 0 0 78px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #f2f2f2;
}

.rel-item span {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sub);
    transition: color 0.3s;
}

.rel-item:hover span {
    color: var(--orange);
}

.aside-inquiry {
    margin-top: 20px;
    border: 1px solid var(--line);
    background: var(--gray);
    padding: 24px;
}

.aside-inquiry h4 {
    font-size: 16px;
    margin: 0 0 12px;
    color: var(--text);
}

.aside-inquiry p {
    font-size: 13px;
    color: var(--sub);
    line-height: 1.9;
    margin: 0;
    word-break: break-all;
}

.aside-inquiry .tel {
    font-size: 22px;
    font-weight: 600;
    color: var(--orange);
    margin: 8px 0 4px;
    letter-spacing: 0.5px;
}

@media (max-width: 1000px) {
    .page-hero.slim {
        height: 210px;
    }

    .detail-layout {
        display: block;
    }

    .detail-aside {
        width: 100%;
        flex: none;
        margin-top: 40px;
    }

    .detail-head h1 {
        font-size: 24px;
    }

    .detail-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .spec-table td.k {
        width: 120px;
    }
}

@media (max-width: 700px) {
    .page-hero.slim {
        height: 170px;
    }

    .detail-section {
        padding: 32px 0 54px;
    }

    .detail-head h1 {
        font-size: 21px;
    }

    .detail-body p {
        font-size: 14px;
        line-height: 1.95;
    }

    .spec-table td {
        padding: 11px 12px;
        font-size: 13px;
    }

    .spec-table td.k {
        width: 96px;
    }

    .detail-cta {
        padding: 22px 20px;
    }

    .detail-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* ---------- 新闻列表：图卡网格（无日期，大图） ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.news-item.news-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.news-item.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
    border-color: #ffe0bc;
}

.news-item.news-card .news-thumb {
    display: block;
    width: 100%;
    height: 360px;
    position: relative;
}

.news-item.news-card .news-thumb img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item.news-card .news-txt {
    padding: 24px 26px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item.news-card .news-txt h3 {
    font-size: 18px;
    line-height: 1.55;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item.news-card .news-txt p {
    font-size: 14px;
    line-height: 1.85;
    color: #8a8a8a;
    margin: 0 0 18px;
}

.news-item.news-card .more {
    font-size: 13px;
    color: var(--orange);
    margin-top: auto;
}

@media (max-width: 1000px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-item.news-card .news-thumb {
        height: 240px;
    }

    .news-item.news-card .news-txt {
        padding: 20px 20px 18px;
    }

    .news-item.news-card .news-txt h3 {
        font-size: 17px;
    }
}

/* ---------- 产品详情：多图切换 ---------- */
.prod-gallery {
    margin-top: 30px;
}

.g-main {
    height: 470px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.g-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s;
}

.g-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.g-thumb {
    height: 92px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s;
}

.g-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.g-thumb:hover {
    border-color: #ffd6a3;
}

.g-thumb.on {
    border-color: var(--orange);
    box-shadow: 0 0 0 1px var(--orange) inset;
}

@media (max-width: 1000px) {
    .g-main {
        height: 340px;
    }

    .g-thumbs {
        gap: 10px;
    }

    .g-thumb {
        height: 74px;
        padding: 4px;
    }
}

@media (max-width: 700px) {
    .g-main {
        height: 230px;
    }

    .g-thumb {
        height: 58px;
    }
}

/* ---------- 关于我们：锚点与左侧导航选中 ---------- */
#profile,
#honor,
#che,
#video {
    scroll-margin-top: 100px;
}


