/* ============ 基础重置 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

:root {
    --primary-red: #c8161d;
    --primary-blue: #1a3d8f;
    --dark-blue: #0f2655;
    --light-gray: #f5f7fa;
    --border: #e6e8ec;
    --text-light: #666;
    --text-muted: #999;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ 顶部信息条 ============ */
.topbar {
    background: #1a3d8f;
    color: #fff;
    font-size: 13px;
    height: 36px;
    line-height: 36px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar .left { opacity: .9; }
.topbar .right a { margin-left: 20px; opacity: .9; }
.topbar .right a:hover { opacity: 1; }

/* ============ 头部 ============ */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #c8161d 0%, #c8161d 45%, #fff 45%, #fff 55%, #1a3d8f 55%);
    display: flex; align-items: center; justify-content: center;
    font-family: Georgia, serif; font-weight: bold; font-size: 32px;
    color: #fff; text-shadow: 1px 1px 0 rgba(0,0,0,.15);
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    position: relative;
}
.logo-mark::after {
    content: "J"; position: absolute; line-height: 1;
}
.logo-text h1 {
    font-size: 22px; color: var(--dark-blue); font-weight: bold; letter-spacing: 1px;
}
.logo-text p {
    font-size: 11px; color: var(--text-light); letter-spacing: 3px;
    margin-top: 2px;
}

.nav ul { display: flex; gap: 8px; }
.nav a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    color: #333;
    position: relative;
    font-weight: 500;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 4px;
    width: 0; height: 3px;
    background: var(--primary-red);
    transition: all .3s;
    transform: translateX(-50%);
}
.nav a:hover, .nav a.active { color: var(--primary-red); }
.nav a:hover::after, .nav a.active::after { width: 30px; }

.contact-btn {
    background: linear-gradient(135deg, var(--primary-red), #e63946);
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 4px;
    font-size: 14px !important;
    margin-left: 12px;
}
.contact-btn::after { display: none; }
.contact-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(200,22,29,.3); }

/* ============ Banner ============ */
.hero {
    height: 560px;
    background: linear-gradient(135deg, #0f2655 0%, #1a3d8f 60%, #2a5fb4 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center;
    justify-content: center;   /* 让 .container 在 hero 中横向居中 */
}
.hero > .container {
    width: 100%;               /* 显式撑开到最大 1280px，避免 flex 下被内容压缩 */
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(200,22,29,.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 50%);
}
.hero-pattern {
    position: absolute; right: -50px; top: 50%; transform: translateY(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 2px) 0 0 / 30px 30px;
    opacity: .6;
    border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero h2 {
    font-size: 52px; font-weight: bold; margin-bottom: 24px; line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hero h2 span { color: #ffc857; }
.hero p {
    font-size: 20px; opacity: .9; margin-bottom: 36px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; }
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: all .3s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--primary-red); color: #fff;
    box-shadow: 0 6px 20px rgba(200,22,29,.3);
}
.btn-primary:hover { background: #a8121a; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,22,29,.4); }
.btn-outline {
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: #fff; color: var(--primary-blue); }

/* ============ 通用区块 ============ */
.section { padding: 80px 0; }
.section-light { background: var(--light-gray); }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 {
    font-size: 36px; color: var(--dark-blue); margin-bottom: 14px; font-weight: bold;
    position: relative; display: inline-block;
}
.section-title h2::after {
    content: ""; position: absolute; left: 50%; bottom: -14px;
    width: 50px; height: 4px; background: var(--primary-red);
    transform: translateX(-50%); border-radius: 2px;
}
.section-title p {
    font-size: 15px; color: var(--text-muted); margin-top: 24px; letter-spacing: 1px;
}

/* ============ 公司简介 ============ */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro .img-box {
    height: 380px;
    background: linear-gradient(135deg, #1a3d8f, #2a5fb4);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 80px;
    box-shadow: 0 20px 40px rgba(26,61,143,.2);
}
.about-intro .img-box::before {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 10px, transparent 10px 20px);
}
.about-intro h3 { font-size: 28px; color: var(--dark-blue); margin-bottom: 8px; }
.about-intro .subtitle { color: var(--primary-red); font-size: 15px; margin-bottom: 24px; letter-spacing: 2px; }
.about-intro p { color: var(--text-light); font-size: 15px; line-height: 2; margin-bottom: 16px; }
.about-stats {
    display: grid; grid-template-columns: repeat(4,1fr);
    margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 38px; font-weight: bold; color: var(--primary-red); }
.stat-item .num span { font-size: 16px; }
.stat-item .label { color: var(--text-light); font-size: 14px; margin-top: 4px; }

/* ============ 产品中心 ============ */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all .35s;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    border-color: var(--primary-blue);
}
.product-card .img {
    height: 200px;
    display: flex; align-items: center; justify-content: center;
    font-size: 60px; color: #fff;
    background: linear-gradient(135deg, var(--primary-blue), #2a5fb4);
}
.product-card:nth-child(2n) .img { background: linear-gradient(135deg, #c8161d, #e63946); }
.product-card:nth-child(3n) .img { background: linear-gradient(135deg, #0f2655, #1a3d8f); }
.product-card:nth-child(4n) .img { background: linear-gradient(135deg, #2a5fb4, #4a7fd4); }
.product-card .info { padding: 22px; }
.product-card h3 { font-size: 18px; color: var(--dark-blue); margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.product-card .more {
    display: inline-block; margin-top: 14px;
    color: var(--primary-red); font-size: 13px; font-weight: 500;
}

/* ============ 解决方案 ============ */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
    position: relative;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    display: flex; align-items: flex-end;
    color: #fff;
    cursor: pointer;
    transition: all .4s;
    background: linear-gradient(135deg, #1a3d8f, #0f2655);
}
.solution-card:nth-child(2) { background: linear-gradient(135deg, #c8161d, #8b0d12); }
.solution-card:nth-child(3) { background: linear-gradient(135deg, #2a5fb4, #1a3d8f); }
.solution-card:nth-child(4) { background: linear-gradient(135deg, #0f2655, #1a3d8f); }
.solution-card:nth-child(5) { background: linear-gradient(135deg, #c8161d, #e63946); }
.solution-card:nth-child(6) { background: linear-gradient(135deg, #4a7fd4, #2a5fb4); }
.solution-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7) 100%);
}
.solution-card .icon-bg {
    position: absolute; top: 30px; right: 30px;
    font-size: 80px; opacity: .15;
}
.solution-card .content { position: relative; z-index: 1; padding: 28px; }
.solution-card h3 { font-size: 22px; margin-bottom: 10px; }
.solution-card p { font-size: 14px; opacity: .9; line-height: 1.7; }
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,.2); }

/* ============ 服务流程 ============ */
.process { background: var(--light-gray); }
.process-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; position: relative; }
.process-steps::before {
    content: "";
    position: absolute; top: 40px; left: 10%; right: 10%; height: 2px;
    background: var(--primary-blue); opacity: .2;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step .num {
    width: 80px; height: 80px; border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-blue);
    color: var(--primary-blue);
    font-size: 28px; font-weight: bold;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; transition: all .3s;
}
.process-step:hover .num { background: var(--primary-red); border-color: var(--primary-red); color: #fff; transform: scale(1.05); }
.process-step h3 { font-size: 17px; color: var(--dark-blue); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-light); }

/* ============ 合作品牌 ============ */
.brands-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.brand-item {
    height: 90px; background: #fff;
    border: 1px solid var(--border); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark-blue); font-weight: bold; font-size: 16px;
    transition: all .3s;
}
.brand-item:hover {
    transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,.06);
    border-color: var(--primary-red); color: var(--primary-red);
}

/* ============ 案例 ============ */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.05); transition: all .3s; }
.case-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,.1); }
.case-card .img {
    height: 220px;
    background: linear-gradient(135deg, #1a3d8f, #2a5fb4);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 60px;
    position: relative;
}
.case-card:nth-child(2) .img { background: linear-gradient(135deg, #c8161d, #e63946); }
.case-card:nth-child(3) .img { background: linear-gradient(135deg, #0f2655, #1a3d8f); }
.case-card:nth-child(4) .img { background: linear-gradient(135deg, #2a5fb4, #4a7fd4); }
.case-card:nth-child(5) .img { background: linear-gradient(135deg, #8b0d12, #c8161d); }
.case-card:nth-child(6) .img { background: linear-gradient(135deg, #1a3d8f, #0f2655); }
.case-card .tag {
    position: absolute; top: 16px; left: 16px;
    background: rgba(255,255,255,.95); color: var(--primary-red);
    padding: 4px 12px; border-radius: 3px; font-size: 12px; font-weight: 500;
}
.case-card .info { padding: 22px; }
.case-card h3 { font-size: 18px; color: var(--dark-blue); margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.case-card .meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; color: var(--text-muted); font-size: 12px; }

/* ============ 新闻 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.08); border-color: transparent; }
.news-card .img {
    height: 200px;
    background: linear-gradient(135deg, #1a3d8f, #2a5fb4);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.4); font-size: 80px;
}
.news-card:nth-child(2) .img { background: linear-gradient(135deg, #c8161d, #e63946); }
.news-card:nth-child(3) .img { background: linear-gradient(135deg, #0f2655, #1a3d8f); }
.news-card .info { padding: 24px; }
.news-card .date { color: var(--primary-red); font-size: 13px; margin-bottom: 10px; font-weight: 500; }
.news-card h3 { font-size: 17px; color: var(--dark-blue); line-height: 1.5; margin-bottom: 10px; min-height: 50px; }
.news-card p { font-size: 14px; color: var(--text-light); line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============ 联系我们 ============ */
.contact-section { background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue)); color: #fff; }
.contact-section .section-title h2 { color: #fff; }
.contact-section .section-title p { color: rgba(255,255,255,.8); }
.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.contact-item {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    transition: all .3s;
}
.contact-item:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.contact-item .icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary-red);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin: 0 auto 20px;
}
.contact-item h3 { font-size: 17px; margin-bottom: 10px; }
.contact-item p { font-size: 14px; opacity: .85; line-height: 1.7; }

/* ============ 页脚 ============ */
.footer { background: #0a1a3a; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 30px; height: 2px; background: var(--primary-red);
}
.footer-about p { font-size: 14px; line-height: 1.9; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { font-size: 13px; line-height: 1.9; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    font-size: 13px;
    text-align: center;
    color: rgba(255,255,255,.5);
}

/* ============ 子页面 Banner ============ */
.page-banner {
    height: 260px;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(200,22,29,.2), transparent 60%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: 42px; margin-bottom: 12px; }
.page-banner .breadcrumb { font-size: 14px; opacity: .8; }
.page-banner .breadcrumb a { margin: 0 8px; }
.page-banner .breadcrumb a:hover { color: #ffc857; }

/* ============ 关于我们详情 ============ */
.about-detail .content-block { margin-bottom: 60px; }
.about-detail h2 { font-size: 28px; color: var(--dark-blue); margin-bottom: 20px; padding-left: 16px; border-left: 4px solid var(--primary-red); }
.about-detail p { font-size: 15px; color: var(--text-light); line-height: 2; margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 30px; }
.value-card { background: var(--light-gray); padding: 32px 24px; border-radius: 8px; text-align: center; transition: all .3s; }
.value-card:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.value-card .icon { font-size: 40px; color: var(--primary-red); margin-bottom: 14px; }
.value-card h3 { font-size: 18px; color: var(--dark-blue); margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.7; }

.license-section { text-align: center; }
.license-box {
    display: inline-block;
    max-width: 600px;
    padding: 24px;
    background: var(--light-gray);
    border-radius: 8px;
    border: 1px solid var(--border);
}
.license-info {
    text-align: left;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    font-size: 14px;
}
.license-info .label { color: var(--text-muted); }
.license-info .value { color: var(--dark-blue); font-weight: 500; }

/* ============ 联系页面 ============ */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-block h2 { font-size: 28px; color: var(--dark-blue); margin-bottom: 30px; }
.contact-info-list .item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px dashed var(--border); }
.contact-info-list .item:last-child { border: none; }
.contact-info-list .icon {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), #e63946); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.contact-info-list h3 { font-size: 16px; color: var(--dark-blue); margin-bottom: 6px; }
.contact-info-list p { font-size: 15px; color: var(--text-light); line-height: 1.7; }
.map-box {
    height: 480px;
    background: linear-gradient(135deg, #e8eef5, #d4dde8);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-size: 14px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.map-box .marker {
    width: 40px; height: 40px; border-radius: 50% 50% 50% 0;
    background: var(--primary-red); transform: rotate(-45deg);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    box-shadow: 0 6px 16px rgba(200,22,29,.4);
}
.map-box .marker i { transform: rotate(45deg); }
.map-placeholder { text-align: center; }
.map-placeholder p { margin-top: 16px; }

/* ============ 表单 ============ */
.contact-form { background: var(--light-gray); padding: 40px; border-radius: 8px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--dark-blue); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--border); border-radius: 4px;
    font-size: 14px; font-family: inherit;
    transition: all .25s; background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26,61,143,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { background: var(--primary-red); color: #fff; padding: 14px 40px; border-radius: 4px; font-size: 15px; border: none; cursor: pointer; transition: all .3s; }
.form-submit:hover { background: #a8121a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,22,29,.3); }

/* ============ 产品页 ============ */
.product-categories { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.cat-btn {
    padding: 10px 26px; background: #fff; border: 1px solid var(--border);
    border-radius: 24px; cursor: pointer; font-size: 14px; color: var(--text-light);
    transition: all .25s;
}
.cat-btn:hover, .cat-btn.active { background: var(--primary-red); color: #fff; border-color: var(--primary-red); }

.product-detail { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 24px; }
.detail-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all .3s; }
.detail-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.08); border-color: var(--primary-blue); }
.detail-card .img {
    height: 220px;
    background: linear-gradient(135deg, #1a3d8f, #2a5fb4);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 70px;
}
.detail-card:nth-child(3n+2) .img { background: linear-gradient(135deg, #c8161d, #e63946); }
.detail-card:nth-child(3n) .img { background: linear-gradient(135deg, #0f2655, #1a3d8f); }
.detail-card .info { padding: 24px; }
.detail-card .brand-tag {
    display: inline-block; background: rgba(26,61,143,.1); color: var(--primary-blue);
    padding: 3px 10px; border-radius: 3px; font-size: 12px; margin-bottom: 10px;
}
.detail-card h3 { font-size: 17px; color: var(--dark-blue); margin-bottom: 10px; }
.detail-card .features { font-size: 13px; color: var(--text-light); line-height: 1.8; }
.detail-card .features li { padding-left: 18px; position: relative; }
.detail-card .features li::before {
    content: "✓"; position: absolute; left: 0; color: var(--primary-red); font-weight: bold;
}

/* ============ 行业解决方案图文布局 ============ */
.case-large { background: var(--light-gray); padding: 40px; border-radius: 8px; margin-bottom: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.case-large > div { min-width: 0; overflow-wrap: anywhere; }
.case-large .img-side { height: 360px; border-radius: 6px; overflow: hidden; }
.case-large .img-side img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-large h2 { font-size: 26px; color: var(--dark-blue); margin-bottom: 16px; }
.case-large .meta { color: var(--primary-red); font-size: 14px; margin-bottom: 16px; }
.case-large p { color: var(--text-light); line-height: 2; margin-bottom: 12px; }

/* ============ 新闻列表 ============ */
.news-list .news-item {
    display: grid; grid-template-columns: 200px 1fr; gap: 30px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 8px; padding: 24px; margin-bottom: 20px;
    transition: all .3s;
}
.news-list .news-item:hover { box-shadow: 0 12px 28px rgba(0,0,0,.08); border-color: transparent; transform: translateX(6px); }
.news-list .date-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: #fff; border-radius: 6px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px;
}
.news-list .date-box .day { font-size: 42px; font-weight: bold; line-height: 1; }
.news-list .date-box .ym { font-size: 13px; margin-top: 8px; opacity: .9; }
.news-list .content h3 { font-size: 19px; color: var(--dark-blue); margin-bottom: 12px; }
.news-list .content p { font-size: 14px; color: var(--text-light); line-height: 1.9; }
.news-list .content .more { display: inline-block; margin-top: 12px; color: var(--primary-red); font-size: 13px; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .products-grid, .solutions-grid, .news-grid, .cases-grid, .contact-grid, .values-grid { grid-template-columns: repeat(2,1fr); }
    .brands-grid { grid-template-columns: repeat(3,1fr); }
    .about-intro, .contact-page-grid { grid-template-columns: 1fr; }
    .case-large { padding: 24px; gap: 24px; }
    .case-large .img-side { height: 300px; }
    .case-large h2 { font-size: 22px; }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .process-steps { grid-template-columns: repeat(2,1fr); }
    .process-steps::before { display: none; }
    .nav { display: none; }
    .hero h2 { font-size: 36px; }
    .hero p { font-size: 17px; }
    .about-stats { grid-template-columns: repeat(2,1fr); gap: 20px; }
}
@media (max-width: 640px) {
    .products-grid, .solutions-grid, .news-grid, .cases-grid, .contact-grid, .values-grid,
    .brands-grid, .product-detail, .footer-grid { grid-template-columns: 1fr; }
    .topbar .left { display: none; }
    .hero { height: 460px; }
    .hero h2 { font-size: 28px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 26px; }
    .logo-text h1 { font-size: 17px; }
    .logo-text p { font-size: 10px; }
    .news-list .news-item { grid-template-columns: 1fr; }
    .case-large { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding: 14px; gap: 14px; margin-bottom: 24px; }
    .case-large--image-right { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
    .case-large .img-side { height: clamp(180px, 45vw, 260px); }
    .case-large h2 { font-size: 18px; line-height: 1.5; margin-bottom: 12px; }
    .case-large .meta { font-size: 11px; margin-bottom: 10px; }
    .case-large p { font-size: 14px; line-height: 1.75; margin-bottom: 10px; }
}

/* ================================================
   真实图片资源覆盖（追加在文件末尾，优先级生效）
   ================================================ */

/* === Hero 大图 === */
.hero {
    background: linear-gradient(135deg, rgba(15,38,85,.78) 0%, rgba(26,61,143,.55) 50%, rgba(15,38,85,.72) 100%),
                url('../images/hero-banner.jpeg') center/cover no-repeat;
}
.hero-pattern { opacity: .2; }

/* === 关于我们 缩略图 === */
.about-intro .img-box {
    background: url('../images/about-building.jpeg') center/cover no-repeat;
    color: transparent;
    font-size: 0;
}
.about-intro .img-box::before { display: none; }

/* === 产品卡片背景（首页 + 产品页） === */
.product-card .img,
.detail-card .img {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: transparent !important;
    font-size: 0 !important;
    position: relative;
}
.product-card .img::after,
.detail-card .img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,38,85,0) 55%, rgba(15,38,85,.25) 100%);
    pointer-events: none;
}

/* 首页产品 8 张 + 产品页 15 张映射 */
.product-card:nth-child(1) .img,
.detail-card:nth-child(1) .img { background-image: url('../images/product-1-video.jpeg'); }
.product-card:nth-child(2) .img,
.detail-card:nth-child(2) .img { background-image: url('../images/product-2-audio.jpeg'); }
.product-card:nth-child(3) .img,
.detail-card:nth-child(3) .img { background-image: url('../images/product-3-display.jpeg'); }
.product-card:nth-child(4) .img,
.detail-card:nth-child(4) .img { background-image: url('../images/product-4-control.jpeg'); }
.product-card:nth-child(5) .img,
.detail-card:nth-child(5) .img { background-image: url('../images/product-5-board.jpeg'); }
.product-card:nth-child(6) .img,
.detail-card:nth-child(6) .img { background-image: url('../images/product-6-translation.jpeg'); }
.product-card:nth-child(7) .img,
.detail-card:nth-child(7) .img { background-image: url('../images/product-7-wireless.jpeg'); }
.product-card:nth-child(8) .img,
.detail-card:nth-child(8) .img { background-image: url('../images/product-8-software.jpeg'); }
.detail-card:nth-child(9) .img  { background-image: url('../images/product-1-video.jpeg'); }
.detail-card:nth-child(10) .img { background-image: url('../images/product-2-audio.jpeg'); }
.detail-card:nth-child(11) .img { background-image: url('../images/product-2-audio.jpeg'); }
.detail-card:nth-child(12) .img { background-image: url('../images/product-3-display.jpeg'); }
.detail-card:nth-child(13) .img { background-image: url('../images/product-5-board.jpeg'); }
.detail-card:nth-child(14) .img { background-image: url('../images/product-4-control.jpeg'); }
.detail-card:nth-child(15) .img { background-image: url('../images/product-6-translation.jpeg'); }

/* === 解决方案卡背景 === */
.solution-card {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.solution-card .icon-bg { display: none; }
.solution-card::before {
    background: linear-gradient(180deg, rgba(15,38,85,.05) 0%, rgba(15,38,85,.45) 50%, rgba(0,0,0,.85) 100%) !important;
}
.solution-card:nth-child(1) { background-image: url('../images/solution-1-gov.jpeg'); }
.solution-card:nth-child(2) { background-image: url('../images/solution-2-enterprise.jpeg'); }
.solution-card:nth-child(3) { background-image: url('../images/solution-3-edu.jpeg'); }
.solution-card:nth-child(4) { background-image: url('../images/solution-4-medical.jpeg'); }
.solution-card:nth-child(5) { background-image: url('../images/solution-5-court.jpeg'); }
.solution-card:nth-child(6) { background-image: url('../images/solution-6-command.jpeg'); }

/* === 工程案例卡背景（含首页 3 张 + 案例页 12 张） === */
.case-card .img {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: transparent !important;
    font-size: 0 !important;
}
.case-card:nth-child(1) .img  { background-image: url('../images/solution-1-gov.jpeg'); }
.case-card:nth-child(2) .img  { background-image: url('../images/solution-2-enterprise.jpeg'); }
.case-card:nth-child(3) .img  { background-image: url('../images/solution-3-edu.jpeg'); }
.case-card:nth-child(4) .img  { background-image: url('../images/solution-4-medical.jpeg'); }
.case-card:nth-child(5) .img  { background-image: url('../images/solution-5-court.jpeg'); }
.case-card:nth-child(6) .img  { background-image: url('../images/solution-6-command.jpeg'); }
.case-card:nth-child(7) .img  { background-image: url('../images/solution-1-gov.jpeg'); }
.case-card:nth-child(8) .img  { background-image: url('../images/solution-2-enterprise.jpeg'); }
.case-card:nth-child(9) .img  { background-image: url('../images/about-building.jpeg'); }
.case-card:nth-child(10) .img { background-image: url('../images/solution-3-edu.jpeg'); }
.case-card:nth-child(11) .img { background-image: url('../images/news-2-ai.jpeg'); }
.case-card:nth-child(12) .img { background-image: url('../images/solution-4-medical.jpeg'); }

/* === 新闻卡背景 === */
.news-card .img {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: transparent !important;
    font-size: 0 !important;
}
.news-card:nth-child(1) .img { background-image: url('../images/news-1-engineer.jpeg'); }
.news-card:nth-child(2) .img { background-image: url('../images/news-2-ai.jpeg'); }
.news-card:nth-child(3) .img { background-image: url('../images/news-3-partner.jpeg'); }

/* === 子页面 Banner 也用 hero 图做底 === */
.page-banner {
    background: linear-gradient(135deg, rgba(15,38,85,.85) 0%, rgba(26,61,143,.7) 60%, rgba(15,38,85,.85) 100%),
                url('../images/hero-banner.jpeg') center/cover no-repeat;
}

/* === 联系页面 地图位置背景图替换为公司外景 === */
.map-box {
    background: linear-gradient(135deg, rgba(15,38,85,.15), rgba(26,61,143,.15)),
                url('../images/about-building.jpeg') center/cover no-repeat;
    border: none;
}
.map-placeholder {
    background: rgba(255,255,255,.95);
    padding: 24px 32px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

/* ============ 自定义 LOGO 图片 ============ */
.logo-img {
    height: 64px;          /* 默认高度，被 inline style 覆盖 */
    width: auto;
    max-width: 520px;      /* 默认上限，可被 inline style 覆盖 */
    display: block;
    object-fit: contain;
}
/* LOGO 较高时让 header 自动撑开 + 容器允许 logo 占更多空间 */
.header .container { min-height: 88px; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 20px; }
.header .logo { flex-shrink: 0; min-width: 0; }   /* 不挤压 logo */
.header .nav { flex-shrink: 1; min-width: 0; }    /* nav 可以略微挤压 */

/* ============ Hero Banner 轮播 ============ */
.hero-carousel {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: #0f2655;
}
.hero-carousel .hero {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    pointer-events: none;
}
.hero-carousel .hero.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    pointer-events: auto;
}
/* 左右切换按钮 */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.5);
    background: rgba(0,0,0,.3);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    transition: all .3s;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.hero-nav:hover {
    background: var(--primary-red);
    border-color: transparent;
    transform: translateY(-50%) scale(1.05);
}
.hero-nav.prev { left: 30px; }
.hero-nav.next { right: 30px; }
/* 圆点指示器 */
.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.hero-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: all .3s;
    border: none;
}
.hero-dots span.active {
    width: 32px;
    border-radius: 5px;
    background: var(--primary-red);
}
.hero-dots span:hover { background: rgba(255,255,255,.7); }
.hero-dots span.active:hover { background: var(--primary-red); }

@media (max-width: 768px) {
    .hero-carousel { height: 460px; }
    .hero-nav { width: 40px; height: 40px; font-size: 22px; }
    .hero-nav.prev { left: 12px; }
    .hero-nav.next { right: 12px; }
}

/* ============ Banner 内容位置 / 按钮样式 ============ */
/* 关键：把 hero-content 解锁到整个容器宽度 (1280px)，不再受 720px 限制 */
.hero .hero-content {
    max-width: none;
    width: 100%;
}

/* 水平对齐：用 text-align 控制（按钮另外用 justify-content） */
.hero[data-h="left"]   .hero-content { text-align: left; }
.hero[data-h="center"] .hero-content { text-align: center; }
.hero[data-h="right"]  .hero-content { text-align: right; }
.hero[data-h="left"]   .hero-btns    { justify-content: flex-start; }
.hero[data-h="center"] .hero-btns    { justify-content: center; }
.hero[data-h="right"]  .hero-btns    { justify-content: flex-end; }

/* 给标题/段落一个柔性上限，避免单行太长导致视觉发散；居中时尤其重要 */
.hero[data-h="left"]   .hero-content h2,
.hero[data-h="left"]   .hero-content p { margin-right: auto; max-width: 820px; }
.hero[data-h="right"]  .hero-content h2,
.hero[data-h="right"]  .hero-content p { margin-left: auto;  max-width: 820px; }
.hero[data-h="center"] .hero-content h2,
.hero[data-h="center"] .hero-content p { margin-left: auto; margin-right: auto; max-width: 960px; }

/* 垂直位置：基于 banner 整个高度 (560px) 锚定到上/中/下 */
.hero[data-v="top"]    { align-items: flex-start; padding-top: 50px;    padding-bottom: 0; }
.hero[data-v="middle"] { align-items: center;    padding-top: 0;        padding-bottom: 0; }
.hero[data-v="bottom"] { align-items: flex-end;  padding-top: 0;        padding-bottom: 50px; }

/* 文字颜色 */
.hero[data-color="dark"] h2,
.hero[data-color="dark"] p { color: #0f2655; text-shadow: 0 1px 2px rgba(255,255,255,.6); }
.hero[data-color="dark"] h2 span { color: #c8161d; }

/* Banner 按钮的扩展样式 */
.btn-dark {
    background: var(--dark-blue); color: #fff;
    box-shadow: 0 6px 20px rgba(15,38,85,.3);
}
.btn-dark:hover { background: #061944; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,38,85,.4); }

.btn-white {
    background: #fff; color: var(--primary-red);
    box-shadow: 0 6px 20px rgba(255,255,255,.2);
    border: 2px solid #fff;
}
.btn-white:hover { background: var(--primary-red); color: #fff; transform: translateY(-2px); }

/* ============ 联系页 地图嵌入 ============ */
.map-box-embed {
    padding: 0;
    overflow: hidden;
    background: #f0f2f5;
}
.map-box-embed iframe,
.map-box-embed > div,
.map-box-embed embed,
.map-box-embed object {
    width: 100% !important;
    height: 100% !important;
    min-height: 480px;
    border: none !important;
    display: block;
}
.map-box-image .map-placeholder {
    background: rgba(255,255,255,.95);
}

/* ============ 精致图标容器（替代原来的纯红色圆） ============ */

/* 通用 SVG 图标 */
.ico {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* ① 深色背景下的图标（联系我们 contact-section） — 玻璃质感 */
.contact-section .contact-item .icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow:
        0 6px 18px rgba(0,0,0,.15),
        inset 0 1px 0 rgba(255,255,255,.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin: 0 auto 22px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all .35s cubic-bezier(.4,0,.2,1);
}
.contact-section .contact-item .icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, #e63946 100%);
    opacity: 0;
    transition: opacity .35s;
    z-index: 0;
    border-radius: inherit;
}
.contact-section .contact-item .icon .ico {
    position: relative;
    z-index: 1;
    transition: transform .35s;
}
.contact-section .contact-item:hover .icon { border-color: transparent; transform: translateY(-2px); }
.contact-section .contact-item:hover .icon::before { opacity: 1; }
.contact-section .contact-item:hover .icon .ico { transform: scale(1.1); }

/* ② 联系页 contact-info-list 左侧 — 红色渐变圆 */
.contact-info-list .item .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #e63946 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(200,22,29,.25);
    transition: all .3s;
    overflow: hidden;
}
.contact-info-list .item:hover .icon {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 12px 28px rgba(200,22,29,.35);
}

/* ③ 关于我们价值卡 — 浅底淡红 hover 变实色 */
.value-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(200,22,29,.10) 0%, rgba(200,22,29,.04) 100%);
    border: 1px solid rgba(200,22,29,.15);
    color: var(--primary-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin: 0 auto 16px;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.value-card .icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-red), #e63946);
    opacity: 0;
    transition: opacity .35s;
    z-index: 0;
    border-radius: inherit;
}
.value-card .icon .ico {
    position: relative;
    z-index: 1;
    transition: transform .35s;
}
.value-card:hover .icon { border-color: transparent; box-shadow: 0 10px 28px rgba(200,22,29,.25); }
.value-card:hover .icon::before { opacity: 1; }
.value-card:hover .icon { color: #fff; transform: translateY(-2px); }
.value-card:hover .icon .ico { transform: scale(1.08); }
