/* ========================================
   石家庄华品金属制品有限公司 官方网站
   主样式表
   ======================================== */

/* ===== 基础变量（浅蓝色调主题） ===== */
:root {
    --primary: #1565C0;          /* 主色：深蓝 */
    --primary-dark: #0D47A1;
    --primary-light: #42A5F5;
    --accent: #0288D1;            /* 强调蓝 */
    --accent-light: #B3E5FC;      /* 极浅蓝 */
    --dark: #1a2744;
    --dark-secondary: #1e3a5f;
    --text: #1a2744;
    --text-light: #4a5f80;
    --text-lighter: #7a92b0;
    --bg: #EFF6FF;               /* 全局背景：极浅蓝 */
    --bg-white: #ffffff;
    --bg-light: #DBEAFE;         /* 浅蓝背景 */
    --bg-gray: #E8F0FE;
    --bg-section-alt: #F0F7FF;   /* 交替section背景 */
    --border: #BFDBFE;
    --shadow: 0 2px 16px rgba(21,101,192,0.10);
    --shadow-hover: 0 8px 28px rgba(21,101,192,0.18);
    --radius: 10px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 100px;
}

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
    /* 全局浅蓝斜纹底纹 */
    background-image: 
        linear-gradient(135deg, rgba(21,101,192,0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(21,101,192,0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(21,101,192,0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(21,101,192,0.03) 25%, var(--bg) 25%);
    background-size: 40px 40px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== 顶部信息栏 ===== */
.top-bar {
    background: var(--dark);
    color: #ccc;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    color: #ccc;
}

/* ===== 导航栏（深蓝主题） ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    box-shadow: 0 2px 12px rgba(21,101,192,0.3);
    height: var(--header-height);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 82px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-cn {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.logo-en {
    font-size: 11px;
    color: var(--accent-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav ul {
    display: flex;
    gap: 5px;
}

.nav ul li a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s;
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===== Hero Banner ===== */
.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slide-content .subtitle {
    font-size: 20px;
    margin-bottom: 12px;
    opacity: 0.95;
}

.hero-factory {
    font-size: 44px;
    font-weight: 700;
    color: #FFD700;
    margin: 10px 0 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 8px;
}

.slide-content .desc {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(21,101,192,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21,101,192,0.45);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 6px;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: #fff;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.slider-arrows .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrows .arrow:hover {
    background: rgba(0,0,0,0.5);
}

.arrow.prev { left: 20px; }
.arrow.next { right: 20px; }

/* ===== 通用区块样式 ===== */
.section {
    padding: 80px 0;
    background: var(--bg-white);
}

.section:nth-child(even) {
    background: linear-gradient(180deg, var(--bg-section-alt) 0%, var(--bg-light) 100%);
}

/* 奇数section也加浅蓝渐变 */
.section:nth-child(odd) {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-section-alt) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-en {
    font-size: 14px;
    color: var(--text-lighter);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(21,101,192,0.25);
}

/* ===== 公司简介 ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.highlight-text {
    font-size: 20px;
    color: var(--primary) !important;
    font-weight: 600;
    padding: 15px 0;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 20px 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}

/* 视频区块（替换原 about-image） */
.about-video {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper {
    position: relative;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.video-caption {
    background: rgba(196, 18, 48, 0.9);
    color: #fff;
    padding: 10px 18px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-icon {
    font-size: 16px;
}

/* ===== 导航下拉菜单 ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: var(--radius);
    border-top: 3px solid var(--primary);
    min-width: 140px;
    z-index: 200;
    padding: 8px 0;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 18px;
    color: var(--text) !important;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.more-link {
    background: var(--bg-light);
    color: var(--primary) !important;
}

.dropdown-menu li a.more-link {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 10px;
    font-weight: 600;
}

/* 关系图 */
.about-relation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.relation-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
}

.relation-card.highlight {
    border: 2px solid var(--primary);
    background: rgba(196, 18, 48, 0.03);
}

.relation-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.relation-card h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 10px;
}

.relation-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.relation-arrow {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
}

/* ===== 产品中心 ===== */
.product-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.product-img {
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-section-alt) 100%);
    position: relative;
}

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

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

.product-img .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-section-alt));
    color: var(--text-lighter);
    font-size: 16px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.product-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(21, 101, 192, 0.10);
    color: var(--primary);
    font-size: 12px;
    border-radius: 3px;
    font-weight: 600;
}

/* ===== 荣誉资质 ===== */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.honor-card {
    text-align: center;
}

.honor-img {
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    background: var(--bg-gray);
}

.honor-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.honor-img .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    color: var(--text-lighter);
}

.honor-card p {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

/* ===== 工厂展示 ===== */
.factory-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.gallery-tab {
    display: none;
}

.gallery-tab.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== 客户见证 ===== */
.client-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

.client-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.client-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--border);
    background: var(--bg-white);
}

.client-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.client-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.client-label {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    background: linear-gradient(90deg, var(--bg-light) 0%, var(--bg-section-alt) 100%);
    letter-spacing: 0.5px;
}
}

/* ===== 联系我们 ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-qr {
    display: flex;
    justify-content: center;
}

.qr-box {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.qr-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 12px;
    display: block;
}

.qr-box p {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

.qr-placeholder {
    width: 100%;
    padding: 60px 30px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.qr-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.qr-placeholder p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
}

.qr-note {
    font-size: 12px !important;
    color: var(--text-lighter) !important;
}

/* ===== 页脚（深蓝主题） ===== */
.footer {
    background: linear-gradient(135deg, #0d2137 0%, #1a3a6e 100%);
    color: rgba(255,255,255,0.75);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #aaa;
}

.footer-links h4,
.footer-products h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links ul li,
.footer-products ul li {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #888;
}

.footer-bottom a {
    color: var(--primary-light);
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(196, 18, 48, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }

    .header .container {
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.open {
        max-height: 500px;
    }

    .nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav ul li a {
        padding: 12px 20px;
        border-radius: 0;
    }

    .hero {
        height: 380px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content .subtitle {
        font-size: 16px;
    }

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

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

    .about-relation {
        flex-direction: column;
    }

    .relation-arrow {
        transform: rotate(90deg);
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .honor-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .client-gallery {
        grid-template-columns: 1fr;
    }
    .slide-content h1 {
        font-size: 22px;
    }
}

/* ===== 浅蓝色调全局补充样式 ===== */

/* about区域背景 */
.about {
    background: linear-gradient(160deg, #ffffff 0%, #EEF5FF 60%, #DBEAFE 100%) !important;
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(66,165,245,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* products区域背景 */
.products {
    background: linear-gradient(180deg, #F0F7FF 0%, #E8F0FE 50%, #EEF5FF 100%) !important;
}

/* certificates区域 */
.certificates {
    background: linear-gradient(160deg, #EEF5FF 0%, #DBEAFE 100%) !important;
}

/* factory区域 */
.factory {
    background: linear-gradient(180deg, #F0F7FF 0%, #E3F0FF 100%) !important;
}

/* clients区域 */
.clients {
    background: linear-gradient(160deg, #DBEAFE 0%, #EEF5FF 50%, #F0F7FF 100%) !important;
}

/* contact区域 */
.contact {
    background: linear-gradient(160deg, #EEF5FF 0%, #DBEAFE 40%, #E3EEFF 100%) !important;
}

/* regions区域已有样式会覆盖 */

/* 卡片通用白色背景带蓝边 */
.about-relation .relation-item,
.honor-card .honor-img,
.factory-content {
    border: 1px solid var(--border);
}

/* Hero数据条浅蓝加强 */
.hero-stats {
    background: rgba(13, 71, 161, 0.55) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* 联系卡片蓝色调 */
.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #EEF5FF 100%) !important;
    border: 1px solid var(--border);
}
.contact-card:hover {
    background: linear-gradient(135deg, var(--bg-light) 0%, #DBEAFE 100%) !important;
    border-color: var(--primary-light);
}
.contact-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
}

/* 工厂展示标签按钮蓝色调 */
.tab-btn.active {
    background: var(--primary) !important;
    color: #fff !important;
}
.tab-btn:hover {
    background: var(--bg-light) !important;
    color: var(--primary) !important;
}

/* 分隔线下划线浅蓝 */
.about-badge,
.hero-badge {
    background: rgba(21,101,192,0.75) !important;
    border: 1px solid rgba(255,255,255,0.25);
}

/* ===== 产品详情按钮 ===== */
.product-detail-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}
.product-detail-btn:hover {
    background: var(--primary-dark);
    transform: translateX(3px);
}
.product-card .product-info {
    display: flex;
    flex-direction: column;
}
.product-card .product-info .product-detail-btn {
    align-self: flex-start;
}

/* ===== 地区描述段 ===== */
.rc-desc {
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.6;
    padding: 8px 14px 6px;
    border-left: 3px solid var(--primary-light);
    margin: 0 12px 10px;
    background: rgba(21,101,192,0.04);
    border-radius: 0 6px 6px 0;
}

/* ===== 新闻资讯版块 ===== */
.news {
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

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

.news-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.news-img {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-featured .news-img {
    min-height: 240px;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-img-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    font-size: 48px;
    color: var(--primary-light);
}

.news-tag-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.news-content {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-lighter);
}

.news-category {
    color: var(--accent);
    font-weight: 500;
}

.news-content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.5;
}
.news-featured .news-content h3 {
    font-size: 17px;
}

.news-content h3 a {
    color: inherit;
    transition: color 0.2s;
}
.news-content h3 a:hover {
    color: var(--primary);
}

.news-content p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    display: inline-block;
    margin-top: 14px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}
.news-read-more:hover {
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

.news-more {
    text-align: center;
    margin-top: 36px;
}

/* 新闻图标样式（无图片版本） */
.news-icon-main {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius);
    min-height: 200px;
}

.news-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: var(--bg-light);
    border-radius: var(--radius);
    min-height: 160px;
    padding: 30px;
}

.news-soon {
    opacity: 0.7;
}

.news-soon .news-icon {
    background: var(--bg-gray);
    font-size: 40px;
}

@media (min-width: 768px) {
    .news-featured .news-icon-main {
        grid-column: 1 / 2;
        min-height: 100%;
    }
    .news-featured .news-content {
        grid-column: 2 / 3;
    }
}

