/* ========== 恒祥照明 - 全局样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.8;
    background: #f5f7fa;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== 颜色变量 ========== */
:root {
    --sky-blue: #87CEEB;
    --mid-blue: #4A90D9;
    --deep-blue: #1E5FA8;
    --dark-blue: #0D47A1;
    --bright-cyan: #00D4FF;
    --orange: #FF9900;
    --cctv-red: #D32F2F;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --text-dark: #1a1a2e;
    --text-gray: #666;
}

/* ========== 金属拉丝卡片效果 ========== */
.card-metal {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 50%, #e8eef5 100%);
    border: 1px solid rgba(74, 144, 217, 0.3);
    border-radius: 10px;
    box-shadow: 
        0 4px 15px rgba(30, 95, 168, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(30, 95, 168, 0.1);
    position: relative;
    overflow: hidden;
}
.card-metal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(74, 144, 217, 0.03) 2px,
        rgba(74, 144, 217, 0.03) 4px
    );
    pointer-events: none;
}
.card-metal::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: metalShine 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes metalShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* ========== 弧光效果 ========== */
.arc-glow {
    position: relative;
    background: linear-gradient(135deg, #1E5FA8 0%, #4A90D9 50%, #87CEEB 100%);
    overflow: hidden;
}
.arc-glow::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.arc-glow::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(135, 206, 235, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.arc-glow > * { position: relative; z-index: 2; }

/* ========== CCTV标识（第二个C红色） ========== */
.cctv-mark {
    font-weight: bold;
}
.cctv-mark span {
    color: var(--cctv-red);
}

/* ========== 头部导航 ========== */
.header {
    background: linear-gradient(135deg, #0D47A1 0%, #1E5FA8 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img { height: 40px; }
.nav { display: flex; gap: 5px; }
.nav a {
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 15px;
}
.nav a:hover, .nav a.active {
    background: rgba(255,255,255,0.2);
    color: var(--bright-cyan);
}

/* ========== 页面区块 ========== */
.page-section {
    padding: 70px 0;
}
.page-title {
    text-align: center;
    font-size: 32px;
    color: var(--deep-blue);
    margin-bottom: 15px;
    font-weight: bold;
}
.page-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--mid-blue), var(--bright-cyan));
    margin: 15px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 40px;
}
.arc-glow .page-title { color: #fff; }
.arc-glow .section-subtitle { color: rgba(255,255,255,0.9); }

/* ========== Hero横幅 ========== */
.hero {
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

/* ===== 图2风格主页横幅（深蓝渐变+金属光带+灯具剪影，文字严格按海报排版） ===== */
.hero-poster {
    position: relative;
    padding: 90px 0 110px;
    background: #0a2a5e url('../images/hero_bg.jpg') center/100% 100% no-repeat;
    color: #fff;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,20,48,.38) 0%, rgba(6,20,48,.06) 55%, rgba(6,20,48,.28) 100%);
}
.hero-poster .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.hero-brand {
    max-width: 420px;
    text-align: left;
    margin-right: 4%;
}
.hero-title {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1.15;
    margin-bottom: 26px;
    color: #fff;
    text-shadow: 0 4px 26px rgba(0,0,0,.5);
}
.hero-cctv {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #ffd54f;
    text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero-slogan {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.hero-en {
    font-size: 13px;
    letter-spacing: 5px;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    text-align: center;
}
/* 功能按钮条（海报下方弱化保留，图上无此元素） */
.hero-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 16px;
}
.hero-actions .btn-primary,
.hero-actions .btn-orange {
    padding: 10px 28px;
    font-size: 14px;
}
.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero .subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}
.tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}
.tag {
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 25px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========== 按钮 ========== */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--mid-blue), var(--deep-blue));
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 95, 168, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 95, 168, 0.4);
}
.btn-orange {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #FFB347, var(--orange));
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}
.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

/* ========== 关于我们 ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}
.about-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.about-text h3 {
    color: var(--deep-blue);
    font-size: 24px;
    margin-bottom: 20px;
}
.about-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 15px;
}
/* 关于我们页纯文本简介 */
.about-sole {
    max-width: 980px;
    margin: 0 auto 50px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-item {
    text-align: center;
    padding: 30px 20px;
}
.stat-item .num {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: var(--deep-blue);
    margin-bottom: 8px;
}
.stat-item .label {
    color: var(--text-gray);
    font-size: 14px;
}

/* ========== 品牌背书 ========== */
.brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.brand-card {
    padding: 30px;
    text-align: center;
}
.brand-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}
.brand-card h4 {
    color: var(--deep-blue);
    font-size: 20px;
    margin-bottom: 12px;
}
.brand-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ========== 工厂实力 ========== */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.factory-item {
    padding: 0 0 26px;
    text-align: center;
    transition: transform 0.3s;
    overflow: hidden;
}
.factory-item:hover {
    transform: translateY(-5px);
}
.factory-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 18px;
}
.factory-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.factory-item:hover .factory-img img {
    transform: scale(1.06);
}
.factory-icon {
    display: none;
}
.factory-item h4 {
    color: var(--deep-blue);
    font-size: 17px;
    margin-bottom: 12px;
    padding: 0 18px;
}
.factory-item p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.7;
    padding: 0 20px;
}

/* ========== 产品展示 ========== */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}
.product-filter button {
    padding: 10px 24px;
    background: #fff;
    border: 1px solid var(--mid-blue);
    color: var(--deep-blue);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}
.product-filter button.active, .product-filter button:hover {
    background: linear-gradient(135deg, var(--mid-blue), var(--deep-blue));
    color: #fff;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.product-item {
    overflow: hidden;
    transition: transform 0.3s;
}
.product-item:hover {
    transform: translateY(-5px);
}
.product-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #f0f4fa, #e8eef7);
}
.product-info {
    padding: 20px;
}
.product-info h4 {
    color: var(--deep-blue);
    font-size: 16px;
    margin-bottom: 10px;
}
.product-info p {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
}
.btn-detail {
    color: var(--mid-blue);
    font-size: 13px;
    font-weight: bold;
}
.btn-detail:hover {
    color: var(--orange);
}

/* ========== 客户案例 ========== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.case-item {
    overflow: hidden;
    transition: transform 0.3s;
}
.case-item:hover {
    transform: translateY(-5px);
}
.case-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #f0f4fa, #e8eef7);
}
.case-info {
    padding: 20px;
}
.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--mid-blue), var(--deep-blue));
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 10px;
}
.case-info h4 {
    color: var(--deep-blue);
    font-size: 16px;
    margin-bottom: 10px;
}
.case-info p {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 列表卡片：点击图片进入详情 */
.product-img,
.case-img,
.news-img {
    cursor: pointer;
}

/* ========== 合作客户 ========== */
.client-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.client-item {
    padding: 25px 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: transform 0.3s;
}
.client-item:hover {
    transform: scale(1.05);
}
.client-item img {
    max-height: 50px;
    object-fit: contain;
}

/* ========== 新闻列表 ========== */
.news-search {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.news-search input {
    width: 400px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.news-list {
    max-width: 900px;
    margin: 0 auto;
}
.news-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 25px;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.news-item:hover {
    transform: translateX(5px);
}
.news-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}
.news-cat {
    display: inline-block;
    padding: 3px 10px;
    background: var(--orange);
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 8px;
}
.news-info h3 {
    color: var(--deep-blue);
    font-size: 18px;
    margin-bottom: 8px;
}
.news-info h3 a:hover {
    color: var(--orange);
}
.news-meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}
.news-desc {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}
.btn-more {
    color: var(--mid-blue);
    font-size: 13px;
    font-weight: bold;
}
.btn-more:hover {
    color: var(--orange);
}
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.news-pagination button {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}
.news-pagination button.active {
    background: var(--deep-blue);
    color: #fff;
    border-color: var(--deep-blue);
}

/* ========== 新闻详情 ========== */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}
.breadcrumb {
    color: #999;
    font-size: 13px;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: var(--mid-blue);
}
.news-detail h1 {
    color: var(--deep-blue);
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.detail-meta {
    color: #999;
    font-size: 13px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}
.detail-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}
.detail-content {
    color: #444;
    font-size: 15px;
    line-height: 2;
}
.detail-content p {
    margin-bottom: 15px;
}
.detail-content h3 {
    color: var(--deep-blue);
    margin: 25px 0 15px;
}
.related-news {
    max-width: 900px;
    margin: 40px auto 0;
}
.related-news h3 {
    color: var(--deep-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mid-blue);
}
.related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.related-item {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}
.related-item a {
    color: var(--deep-blue);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    line-height: 1.5;
}
.related-item a:hover {
    color: var(--orange);
}
.related-item .date {
    color: #999;
    font-size: 12px;
}

/* ========== 联系我们 ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.contact-info {
    padding: 35px;
}
.contact-info h3 {
    color: var(--deep-blue);
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mid-blue);
}
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-icon {
    font-size: 24px;
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--mid-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-text h4 {
    color: var(--deep-blue);
    font-size: 15px;
    margin-bottom: 5px;
}
.contact-text p {
    color: var(--text-gray);
    font-size: 14px;
}
.contact-form {
    padding: 35px;
}
.contact-form h3 {
    color: var(--deep-blue);
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--mid-blue);
}
.form-item {
    margin-bottom: 18px;
}
.form-item label {
    display: block;
    color: var(--deep-blue);
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: bold;
}
.form-item input, .form-item textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.form-item input:focus, .form-item textarea:focus {
    outline: none;
    border-color: var(--mid-blue);
}
.form-item textarea {
    min-height: 100px;
    resize: vertical;
}
.map-wrap {
    position: relative;
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.map-wrap iframe {
    display: block;
    width: 100%;
}
/* 高德地图搜索框与结果列表 */
.amap-searchbar {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 20;
    display: flex;
    gap: 8px;
}
.amap-searchbar input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d4dce6;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.amap-searchbar input:focus {
    border-color: #1E5FA8;
}
.amap-searchbar button {
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    background: #1E5FA8;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.amap-searchbar button:hover {
    background: #0D47A1;
}
.amap-results {
    position: absolute;
    top: 60px;
    left: 12px;
    right: 12px;
    z-index: 20;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    display: none;
}
.amap-results.show {
    display: block;
}
.amap-result-item {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f3f7;
    cursor: pointer;
}
.amap-result-item:last-child {
    border-bottom: none;
}
.amap-result-item:hover {
    background: #f0f6ff;
}
.amap-result-item b {
    display: block;
    font-size: 14px;
    color: #1a2b3c;
    margin-bottom: 2px;
}
.amap-result-item span {
    font-size: 12px;
    color: #8a97a6;
}

/* ========== 网站地图 ========== */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.sitemap-col {
    padding: 25px;
}
.sitemap-col h3 {
    color: var(--deep-blue);
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--mid-blue);
}
.sitemap-col ul li {
    margin-bottom: 10px;
}
.sitemap-col ul li a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.3s;
}
.sitemap-col ul li a:hover {
    color: var(--orange);
    padding-left: 5px;
}

/* ========== 弹窗 ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal.show {
    display: flex;
}
.modal-box {
    background: #fff;
    border-radius: 12px;
    max-width: 960px;
    width: 92%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 35px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}
.modal-close:hover {
    color: var(--cctv-red);
}
.modal-box h3 {
    color: var(--deep-blue);
    font-size: 22px;
    margin-bottom: 20px;
}
.modal-img {
    width: 100%;
    max-height: 62vh;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: zoom-in;
}
/* 详情弹窗：去掉金属扫光动画（card-metal::after 的白色光带） */
.modal-box.card-metal::after {
    display: none;
}
.modal-thumbs {
    display: flex;
    gap: 8px;
    margin: -8px 0 18px;
    flex-wrap: wrap;
    align-items: center;
}
.modal-thumbs.top {
    margin: 18px 0 -8px;
}
.modal-thumb {
    width: var(--thumb-w, 96px);
    height: var(--thumb-h, 64px);
    object-fit: var(--thumb-fit, cover);
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
}
.modal-thumb.active,
.modal-thumb:hover {
    border-color: #1976d2;
    opacity: 1;
}
/* 缩略图调整工具栏与面板 */
.thumb-toolbar {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 2px;
}
.thumb-tool-btn {
    font-size: 12px;
}
.thumb-panel {
    flex-basis: 100%;
    display: none;
    background: #f7f9fc;
    border: 1px solid #e3e8f0;
    border-radius: 6px;
    padding: 12px 14px;
}
.thumb-panel.open {
    display: block;
}
.thumb-panel-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 13px;
    color: #333;
}
.thumb-panel-row:last-of-type {
    margin-bottom: 10px;
}
.thumb-panel-row .tpl {
    flex: 0 0 32px;
    color: #666;
}
.thumb-panel-row label {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 13px;
}
.thumb-panel-row input[type="range"] {
    flex: 1;
    min-width: 120px;
}
.thumb-panel-done {
    display: block;
    margin-left: auto;
}
.modal-content {
    color: #444;
    font-size: 14px;
    line-height: 1.9;
}

/* ========== 后台多图上传 ========== */
.multi-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.multi-thumb {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    background: #fff;
}
.multi-thumb.primary {
    border-color: #1E5FA8;
}
.multi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.multi-thumb .thumb-del {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    background: rgba(211, 47, 47, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}
.multi-thumb .thumb-primary-tag {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(30, 95, 168, 0.88);
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
}

/* ========== 图片全屏放大查看（lightbox） ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.lightbox.show {
    display: flex;
}
.lightbox img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
    position: fixed;
    top: 16px;
    right: 28px;
    font-size: 42px;
    line-height: 1;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* ========== 页脚 ========== */
.footer {
    background: linear-gradient(135deg, #0D47A1 0%, #1E5FA8 100%);
    color: #fff;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 35px;
    margin-bottom: 35px;
}
.footer-col h4 {
    font-size: 17px;
    margin-bottom: 18px;
    color: var(--bright-cyan);
}
.footer-col p, .footer-col li {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.8;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}
.footer-col ul li a:hover {
    color: var(--bright-cyan);
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-bottom: 8px;
}
.footer-bottom a {
    color: var(--bright-cyan);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .factory-grid { grid-template-columns: repeat(2, 1fr); }
    .client-grid { grid-template-columns: repeat(4, 1fr); }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 15px; }
    .hero-poster { padding: 50px 0 96px; min-height: auto; background-size: cover; background-position: center; }
    .hero-poster .container { justify-content: center; }
    .hero-brand { max-width: 100%; margin-right: 0; text-align: center; }
    .hero-title { font-size: 40px; letter-spacing: 5px; margin-bottom: 16px; }
    .hero-cctv { font-size: 24px; margin-bottom: 12px; }
    .hero-slogan { font-size: 19px; margin-bottom: 10px; }
    .hero-en { font-size: 11px; }
    .hero-actions { bottom: 22px; }
    .nav { flex-wrap: wrap; justify-content: center; }
    .hero h1 { font-size: 28px; }
    .hero .subtitle { font-size: 15px; }
    .about-grid { grid-template-columns: 1fr; }
    .brand-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .sitemap-grid { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 1fr; }
    .related-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-section { padding: 45px 0; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .factory-grid { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
