/* ========================================
   Shiguang Trading - Modern Business Website
   Main Stylesheet
   ======================================== */

:root {
    --primary-color: #003d82;
    --primary-dark: #002a5c;
    --primary-light: #e8eef7;
    --accent-color: #ff6b35;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a6a;
    --text-light: #6a6a8a;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #eef1f5;
    --border-color: #e0e4e8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    padding: 4px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    gap: 6px;
    background: var(--bg-light);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.lang-btn {
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26,95,180,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(26,95,180,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26,95,180,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   Section Common Styles
   ======================================== */

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========================================
   Products Section
   ======================================== */

.products-section {
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.product-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* 产品列表页：标题右侧「查看详情」按钮（与标题同高） */
.product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.product-title-row h3 {
    margin: 0;
    min-width: 0;
}
.product-title-row .btn-detail {
    flex: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 61, 130, 0.08);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    transition: var(--transition);
}
.product-title-row .btn-detail:hover {
    background: var(--primary-color);
    color: #fff;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-link:hover {
    gap: 10px;
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* ========================================
   About Section (Homepage)
   ======================================== */

.about-section {
    background: var(--bg-white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image .experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    z-index: 4;
    background: var(--primary-color);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.about-feature-item .check {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ========================================
   Contact CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color);
    font-size: 1rem;
    padding: 16px 40px;
}

.cta-section .btn:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-brand .social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ========================================
   Page Header (Inner Pages)
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 140px 0 60px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   Products Page Styles
   ======================================== */

.products-page .products-grid {
    margin-top: 40px;
}

.category-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ========================================
   About Page Styles
   ======================================== */

.about-page .about-inner {
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========================================
   Contact Page Styles
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* 微信二维码：默认只显示文案，点击展开，可点击放大 */
.qr-reveal {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 4px; padding: 8px 14px;
    font-size: 0.9rem; font-weight: 600; color: var(--primary-color);
    background: rgba(0, 61, 130, 0.08); border: 1px dashed var(--primary-color);
    border-radius: 8px; cursor: pointer; transition: var(--transition);
}
.qr-reveal:hover { background: rgba(0, 61, 130, 0.16); }
.qr-reveal::before { content: "▸"; }
.qr-box { margin-top: 10px; }
.qr-img {
    display: block; max-width: 150px; border-radius: 8px;
    border: 1px solid var(--border-color); cursor: zoom-in;
}
.qr-tip { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--text-light); }
body.qr-zoom-lock { overflow: hidden; }

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(26,95,180,0.1);
}

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

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-inner,
    .about-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-image .experience-badge {
        right: 20px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu a {
        display: block;
        padding: 14px 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 24px;
    }
}

/* ========================================
   产品中心 多级下拉导航
   ======================================== */
.nav-menu .caret { font-size: .7em; opacity: .7; }
.nav-menu .has-dropdown { position: relative; }
.nav-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    display: none;
    z-index: 1200;
}
.nav-menu .has-dropdown:hover > .dropdown { display: block; }
.nav-menu .dropdown > li { position: relative; }
.nav-menu .dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: .92rem;
    white-space: nowrap;
}
.nav-menu .dropdown a:hover { background: var(--primary-light); color: var(--primary-color); text-decoration: none; }
.nav-menu .submenu {
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    display: none;
    z-index: 1201;
}
.nav-menu .has-sub:hover > .submenu { display: block; }
.nav-menu .submenu a { font-size: .88rem; font-weight: 400; }

@media (max-width: 900px) {
    .nav-menu .dropdown,
    .nav-menu .submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border-color);
        border-radius: 0;
        margin-left: 16px;
        padding: 0;
        min-width: 0;
    }
    .nav-menu .has-dropdown.open > .dropdown,
    .nav-menu .has-sub.open > .submenu { display: block; }
    .nav-menu .dropdown a,
    .nav-menu .submenu a { padding: 8px 16px; }
    /* 移动端：产品中心一级链接展开子菜单而非直接跳转 */
    .nav-menu .has-dropdown > a,
    .nav-menu .has-sub > a { cursor: pointer; }
}

/* 面包屑 */
.breadcrumb { font-size: .88rem; color: var(--text-light); margin: 0 0 18px; }
.breadcrumb a { color: var(--primary-color); }
.breadcrumb span.sep { margin: 0 8px; opacity: .6; }

/* 新闻卡片 */
.news-card .product-image { aspect-ratio: 16/9; }
.news-card .news-date { color: var(--text-light); font-size: .82rem; margin-top: 4px; }
.news-detail-body { white-space: pre-wrap; line-height: 1.9; color: var(--text-medium); }

/* ========================================
   产品分类总览 / 参数对比表
   ======================================== */
.category-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.category-block {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
}
.category-block h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--primary-color); }
.category-block h3 a { color: inherit; }
.sub-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-links a {
    font-size: .85rem;
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-medium);
}
.sub-links a:hover { border-color: var(--primary-color); color: var(--primary-color); background: var(--primary-light); text-decoration: none; }

.cat-intro {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 28px;
    color: var(--text-medium);
    line-height: 1.8;
}

.compare-group { margin-bottom: 32px; }
.compare-group-title { font-size: 1.15rem; color: var(--primary-color); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }
.compare-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.compare-link {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 12px 16px; border: 1px solid var(--border-color); border-radius: var(--radius-md);
    color: var(--text-dark); background: #fff;
}
.compare-link:hover { border-color: var(--primary-color); color: var(--primary-color); box-shadow: var(--shadow-sm); text-decoration: none; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.cmp-table th, .cmp-table td { padding: 10px 14px; border: 1px solid var(--border-color); text-align: center; font-size: .9rem; white-space: nowrap; }
.cmp-table thead th { background: var(--primary-color); color: #fff; font-weight: 600; position: sticky; top: 0; }
.cmp-table thead th.cmp-corner { background: var(--primary-dark); text-align: left; }
.cmp-table tbody th[scope=row] { background: var(--bg-light); text-align: left; font-weight: 600; color: var(--text-dark); }
.cmp-table tbody tr:nth-child(even) th[scope=row] { background: #eef2f7; }
.cmp-table tbody tr:hover td { background: var(--primary-light); }
.cmp-note { margin-top: 12px; font-size: .82rem; color: var(--text-light); }

@media (max-width: 600px) {
    .cmp-table th, .cmp-table td { padding: 8px 10px; font-size: .82rem; }
}

/* 联系页地图 */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 600px) { .map-embed iframe { height: 280px; } }

/* 产品列表页：去掉蓝色 page-header，面包屑紧贴导航下方 */
.products-page { padding-top: 96px; }
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* 参数对比（按分类聚合 + 产品展开） */
.compare-sub-title { font-size: 1rem; color: var(--text-dark); margin: 18px 0 10px; }
.compare-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.compare-item { border: 1px solid var(--border-color); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.compare-item > summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between;
    gap: 12px; padding: 14px 18px; font-weight: 600; color: var(--text-dark);
}
.compare-item > summary::-webkit-details-marker { display: none; }
.compare-item[open] > summary { border-bottom: 1px solid var(--border-color); color: var(--primary-color); }
.compare-toggle { color: var(--primary-color); font-weight: 500; white-space: nowrap; }
.compare-item[open] .compare-toggle { color: var(--text-light); }
.compare-item .table-scroll { border: none; border-radius: 0; }
.compare-item > p { padding: 0 18px 12px; }

/* 产品详情：响应式两栏 → 单栏 */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* 产品详情：结构化描述小节 */
.pd-sub { margin: 22px 0 10px; font-size: 1.05rem; color: var(--primary-color); }
.pd-sub:first-of-type { margin-top: 0; }
.pd-text { color: var(--text-medium); line-height: 1.7; }
.pd-features { margin: 0; padding-left: 20px; color: var(--text-medium); line-height: 1.7; }
.pd-features li { margin-bottom: 6px; }

/* 小屏头部优化 */
@media (max-width: 600px) {
    .header-inner { padding: 0 12px; }
    .logo { font-size: 1rem; gap: 8px; }
    .logo-icon { width: 34px; height: 34px; font-size: 1.1rem; }
    .header-right { gap: 8px; }
    .lang-btn { padding: 3px 7px; font-size: .72rem; }
    .hero-inner { gap: 24px; }
    .features-grid { gap: 20px; }
    .product-info { padding: 18px; }
    .category-overview { grid-template-columns: 1fr; }
    .compare-links { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 24px; }
}

/* ========================================
   新版首页
   ======================================== */
.muted { color: var(--text-light); }

.home-hero {
    background: linear-gradient(135deg, #003d82 0%, #002a5c 100%);
    color: #fff;
    padding: 130px 0 60px;
}
.home-hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.home-hero-badge {
    display: inline-block; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25); color: #ffd9c7;
    padding: 6px 14px; border-radius: 20px; font-size: .85rem; margin-bottom: 18px;
}
.tri-title .tri-ru { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1.15; }
.tri-title .tri-zh { display: block; font-size: 1.3rem; font-weight: 600; margin-top: 8px; color: #cfe0f5; }
.tri-title .tri-en { display: block; font-size: 1rem; font-weight: 400; margin-top: 4px; color: #a9c4e6; }
.home-hero-sub { margin-top: 16px; }
.home-hero-sub p { color: #dbe7f7; }
.home-hero-sub .tri-zh { font-size: .95rem; color: #b9cfea; margin-top: 6px; }
.home-hero-sub .tri-en { font-size: .85rem; color: #9fb8da; margin-top: 4px; }
.home-hero-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.btn-cta { background: var(--accent-color); color: #fff; box-shadow: 0 6px 18px rgba(255,107,53,.35); }
.btn-cta:hover { background: #e85c28; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.home-hero-media img { width: 100%; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }

.home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.home-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 18px; text-align: center; }
.home-stat .n { font-size: 2rem; font-weight: 800; color: #fff; }
.home-stat .l { display: flex; flex-direction: column; color: #cfe0f5; font-size: .85rem; }
.home-stat .l span:last-child { color: #9fb8da; font-size: .78rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.cat-card {
    display: flex; flex-direction: column; height: 100%;
    text-align: center; padding: 26px 16px;
    border: 1px solid var(--border-color); border-radius: 14px; background: #fff; transition: var(--transition);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); text-decoration: none; }
.cat-icon { font-size: 2.4rem; margin-bottom: 12px; }
.cat-name { display: flex; flex-direction: column; gap: 2px; }
.cat-name .cat-ru { font-weight: 700; color: var(--primary-color); }
.cat-name .cat-zh { font-size: .9rem; color: var(--text-dark); }
.cat-name .cat-en { font-size: .78rem; color: var(--text-light); }
.cat-count { margin-top: auto; padding-top: 10px; font-size: .75rem; color: var(--accent-color); font-weight: 600; }

.home-contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.home-contact-info h3 { font-size: 1.15rem; margin-bottom: 18px; color: var(--primary-color); }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 10px; background: #fff; color: var(--text-dark); }
.channel:hover { text-decoration: none; border-color: var(--primary-color); box-shadow: var(--shadow-sm); }
.ch-ico { font-size: 1.4rem; }
.home-contact-form { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 24px; box-shadow: var(--shadow-sm); }

@media (max-width: 900px) {
    .home-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .home-hero-media { order: -1; }
    .home-contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .home-hero { padding: 100px 0 40px; }
    .tri-title .tri-ru { font-size: 1.85rem; }
    .tri-title .tri-zh { font-size: 1.05rem; }
    .home-stats { grid-template-columns: 1fr; }
    .home-hero-cta { flex-direction: column; }
    .home-hero-cta .btn { width: 100%; justify-content: center; }
    .btn { min-height: 46px; }
    .channel { padding: 12px; }
}

/* 图片尺寸适配页面 */
.home-hero-media img {
    width: 100%;
    max-height: 420px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.home-about .about-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* 核心优势 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv-card {
    text-align: center; padding: 28px 18px; background: #fff;
    border: 1px solid var(--border-color); border-radius: 14px;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-color); }
.adv-icon { font-size: 2.4rem; margin-bottom: 12px; }
.adv-card h3 { display: flex; flex-direction: column; gap: 2px; font-size: 1rem; margin-bottom: 8px; }
.adv-card h3 .tri-ru { color: var(--primary-color); font-weight: 700; }
.adv-card h3 .tri-zh { font-size: .9rem; color: var(--text-dark); }
.adv-card h3 .tri-en { font-size: .78rem; color: var(--text-light); font-weight: 400; }
.adv-card p { color: var(--text-light); font-size: .85rem; }

/* 出口国家 */
.export-countries { margin-top: 36px; text-align: center; }
.ec-label { display: block; color: var(--text-light); font-size: .85rem; margin-bottom: 14px; }
.ec-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ec-chip {
    background: #fff; border: 1px solid var(--border-color); border-radius: 20px;
    padding: 7px 14px; font-size: .9rem; color: var(--text-dark);
}
.ec-chip:hover { border-color: var(--primary-color); color: var(--primary-color); }

@media (max-width: 900px) {
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .home-hero-media img { max-height: 280px; }
    .adv-grid { grid-template-columns: 1fr; }
}

/* 出口国家（主题化） */
.export-countries {
    margin-top: 40px;
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}
.ec-label { display: block; color: var(--primary-color); font-weight: 700; font-size: .95rem; margin-bottom: 16px; }
.ec-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ec-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--border-color); border-radius: 20px;
    padding: 7px 14px; font-size: .9rem; color: var(--text-dark); transition: var(--transition);
}
.ec-chip:hover { border-color: var(--primary-color); color: var(--primary-color); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ec-flag { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* 三语标签：俄为主，中英小字辅助 */
.tri-label .tri-zh, .tri-label .tri-en { font-size: .82em; opacity: .85; }
.tri-label .tri-en { opacity: .7; }
.tri-label .tri-zh::before, .tri-label .tri-en::before { content: "·"; margin: 0 6px; opacity: .5; }

/* section 标题：俄文突出，中英缩小 */
.section-title .tri-ru { display: block; }
.section-title .tri-zh { display: block; font-size: .62em; font-weight: 600; color: var(--text-light); margin-top: 6px; }
.section-title .tri-en { display: block; font-size: .46em; font-weight: 400; color: var(--text-light); margin-top: 2px; }

/* 联系区副标题与信息标题三语 */
.section-subtitle .tri-ru { display: block; }
.section-subtitle .tri-zh { display: block; font-size: .85em; color: var(--text-light); margin-top: 4px; }
.section-subtitle .tri-en { display: block; font-size: .78em; color: var(--text-light); }
.home-contact-info h3 .tri-ru { display: block; }
.home-contact-info h3 .tri-zh, .home-contact-info h3 .tri-en { display: block; font-size: .8em; color: var(--text-light); font-weight: 500; }

/* 首屏副语言再缩小 */
.tri-title .tri-zh { font-size: 1.05rem; }
.tri-title .tri-en { font-size: .85rem; }

/* 分类卡片：长俄文名换行，避免溢出卡片 */
.cat-card { overflow: hidden; }
.cat-name { min-width: 0; }
.cat-name .cat-ru {
    font-size: .92rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.cat-name .cat-zh, .cat-name .cat-en {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* 关于公司：简介俄文为主，中英缩小 */
.home-about .about-content .tri-ru { font-size: 1rem; line-height: 1.8; color: var(--text-medium); }
.home-about .about-content .tri-zh { font-size: .88em; line-height: 1.7; color: var(--text-light); margin-top: 10px; }
.home-about .about-content .tri-en { font-size: .8em; line-height: 1.7; color: var(--text-light); margin-top: 6px; }

/* 轮播图 */
.carousel { position: relative; overflow: hidden; border-radius: 14px; }
.carousel-track { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: none; aspect-ratio: auto; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.65); cursor: pointer; transition: all .2s; }
.carousel-dot.active { background: #fff; width: 22px; border-radius: 6px; }
.home-hero-media .carousel { box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.about-image .carousel { box-shadow: var(--shadow-md); }

/* 首页 7 个分类卡片排成一行 */
.cat-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 关于我们 富文本 */
.about-richtext { max-width: 900px; margin: 0 auto; }
.about-richtext .tri-ru { white-space: pre-line; line-height: 1.9; color: var(--text-medium); }
.about-richtext .tri-zh { white-space: pre-line; line-height: 1.9; color: var(--text-light); font-size: .92em; margin-top: 14px; }
.about-richtext .tri-en { line-height: 1.8; color: var(--text-light); font-size: .85em; margin-top: 12px; }

/* 关于我们 文章（原新闻迁入） */
.about-articles { display: flex; flex-direction: column; gap: 24px; max-width: 960px; margin: 0 auto; }
.about-article { display: grid; grid-template-columns: 280px 1fr; gap: 0; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.about-article-cover { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.about-article-main { padding: 20px 22px; }
.about-article-main h3 { color: var(--primary-color); margin-bottom: 6px; }
.about-article-body { white-space: pre-line; color: var(--text-medium); line-height: 1.8; margin-top: 10px; }
@media (max-width: 700px) { .about-article { grid-template-columns: 1fr; } .about-article-cover { max-height: 220px; } }

/* 问题解读 FAQ */
.faq-item { border: 1px solid var(--border-color); border-radius: 10px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-item > summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item[open] > summary { border-bottom: 1px solid var(--border-color); background: var(--primary-light); }
.faq-item > summary .tri-ru { font-weight: 700; color: var(--primary-color); }
.faq-item > summary .tri-zh { font-size: .92rem; color: var(--text-dark); }
.faq-item > summary .tri-en { font-size: .82rem; color: var(--text-light); }
.faq-answer { padding: 16px 20px; }
.faq-answer .tri-ru { white-space: pre-line; color: var(--text-medium); line-height: 1.8; }
.faq-answer .tri-zh { white-space: pre-line; color: var(--text-light); font-size: .92em; line-height: 1.8; margin-top: 12px; }
.faq-answer .tri-en { white-space: pre-line; color: var(--text-light); font-size: .84em; line-height: 1.7; margin-top: 10px; }

/* FAQ 单语言显示 */
.faq-item > summary { color: var(--primary-color); font-weight: 700; font-size: 1rem; }
.faq-answer { white-space: pre-line; color: var(--text-medium); line-height: 1.85; }

/* 关于我们 富文本（单语言） */
.about-richtext { max-width: 900px; margin: 0 auto; color: var(--text-medium); line-height: 1.9; }
.about-richtext p { margin-bottom: 10px; }
.about-richtext ul { margin: 8px 0 0 20px; }
.about-richtext li { margin-bottom: 6px; }

/* 图册（办公楼环境等） */
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.album-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; box-shadow: var(--shadow-sm); }
.album-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.album-item:hover img { transform: scale(1.06); }
.album-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 12px 8px; color: #fff; font-size: .82rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 3000; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: .92rem; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: none; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.album-count { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 12px; }

.lightbox img { position: relative; z-index: 1; }
.lb-close, .lb-prev, .lb-next { z-index: 2; }
