/* ==========================================================
   谊安环保 · 官网样式 — 参考 szdustfilter.com
   ========================================================== */

/* ===================== VARIABLES ===================== */
:root {
    --red: #c62828;
    --red-dark: #b71c1c;
    --red-light: #ef5350;
    --blue: #1565c0;
    --blue-light: #e3f2fd;
    --primary: #1a237e;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-alt: #f5f5f5;
    --bg-gray: #f0f0f0;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.1);
    --radius: 4px;
    --transition: 0.3s ease;
    --font-cn: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --font-en: 'Inter', Arial, sans-serif;
    --font-base: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

/* ===================== RESET ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-base);
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
    background: var(--bg);
    overflow-x: hidden;
}
a { color: var(--blue); transition: var(--transition); }
a:hover { color: var(--red); text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; }
.container { max-width: 1200px; }

/* ===================== TOP BAR ===================== */
.top-bar {
    background: var(--red);
    color: #fff;
    font-size: 12px;
    line-height: 36px;
    height: 36px;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-welcome { color: rgba(255,255,255,0.85); }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar-phone a { color: #fff; font-weight: 700; font-size: 13px; }
.top-bar-phone a:hover { color: rgba(255,255,255,0.8); }
.top-bar-phone i { margin-right: 4px; }

/* ===================== HEADER / NAV ===================== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo { display: flex; align-items: center; }
.logo a { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon { flex-shrink: 0; }
.logo-text { line-height: 1.15; }
.logo-cn {
    font-family: var(--font-cn);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}
.logo-en {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 80px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
}
.main-nav > ul > li > a i.fa-angle-down { margin-left: 3px; font-size: 11px; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--red); }
.main-nav > ul > li.active > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--red);
    border-radius: 3px 3px 0 0;
}

/* Language switch in nav */
.lang-nav-item { margin-left: 8px; }
.lang-nav-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    line-height: 1;
    height: 32px;
}
.lang-nav-switch .lang-btn {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    padding: 2px 4px;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-base);
}
.lang-nav-switch .lang-btn.active { color: var(--red); }
.lang-nav-switch .lang-btn:hover { color: var(--red); text-decoration: none; }
.lang-divider { color: var(--border); font-size: 11px; }

/* Dropdown */
.main-nav > ul > li.has-sub .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.3s;
    z-index: 100;
}
.main-nav > ul > li.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav .sub-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.6;
}
.main-nav .sub-menu li a:hover { color: var(--red); background: #fff5f5; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--text); border-radius: 4px; transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================== BREADCRUMB ===================== */
.breadcrumb-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 12px;
}
.breadcrumb-bar a { color: var(--text-muted); }
.breadcrumb-bar a:hover { color: var(--red); }
.breadcrumb-bar span { color: var(--text-light); }
.breadcrumb-bar i { margin: 0 6px; color: #ccc; font-size: 12px; }

/* ===================== PAGE BANNER ===================== */
.page-banner {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(198,40,40,0.08) 0%, transparent 70%);
}
.page-banner h2 {
    font-family: var(--font-cn);
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 2;
}
.page-banner p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 6px;
    position: relative;
    z-index: 2;
}

/* ===================== SECTION TITLE ===================== */
.section-header { text-align: center; margin-bottom: 36px; }
.section-title-cn {
    font-family: var(--font-cn);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 4px;
    letter-spacing: 1px;
}
.section-title-en {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0 0 6px;
}
.section-arrow { color: var(--red); font-size: 18px; opacity: 0.5; }

/* ===================== SECTION ===================== */
.section { padding: 60px 0; }
.section-gray { background: var(--bg-alt); }

/* ===================== HOME BANNER (Swiper) ===================== */
.home-banner { height: 480px; margin-top: 0; }
.home-banner .swiper-slide { height: 480px; }
.home-banner .swiper-slide > div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.slide-content h2 {
    font-family: var(--font-cn);
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.slide-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
    max-width: 520px;
}
.slide-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--red);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--red);
    transition: 0.3s;
}
.slide-btn:hover { background: transparent; color: #fff; border-color: #fff; text-decoration: none; }
.swiper-pagination-bullet { width: 40px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.4); }
.swiper-pagination-bullet-active { background: #fff; }

/* ===================== STATS STRIP ===================== */
.stats-strip { background: var(--blue); padding: 36px 0; color: #fff; }
.stat-item { text-align: center; border-left: 1px solid rgba(255,255,255,0.12); }
.stat-item:first-child { border-left: none; }
.stat-item h2 { font-size: 34px; font-weight: 800; margin: 0; line-height: 1.1; }
.stat-item h5 { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.7); margin: 4px 0 0; letter-spacing: 0.5px; }

/* ===================== PRODUCTS ===================== */
.cat-filter { text-align: center; margin-bottom: 28px; font-size: 13px; color: var(--text-muted); }
.cat-filter a { color: var(--text-light); padding: 0 6px; font-weight: 500; }
.cat-filter a.active, .cat-filter a:hover { color: var(--red); }

.product-grid { margin: 0 -12px; }
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    transition: 0.3s;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: transparent; }
.product-card a { text-decoration: none; display: block; }

/* Product image with hover zoom */
.product-img { overflow: hidden; position: relative; }
.product-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: 0.5s; display: block; }
.product-card:hover .product-img img { transform: scale(1.06); }

.product-img .img-placeholder {
    width: 100%; aspect-ratio: 1/1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px; font-weight: 700; letter-spacing: 2px;
    transition: 0.5s;
}
.product-img .img-placeholder i { font-size: 42px; margin-bottom: 8px; opacity: 0.4; }
.product-card:hover .img-placeholder { transform: scale(1.06); }

.product-name {
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    background: #fff;
}
.product-card:hover .product-name { color: var(--red); }

/* ===================== ABOUT ===================== */
.about-text { max-width: 900px; margin: 0 auto; }
.about-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 16px;
    text-indent: 2em;
}

/* ===================== FEATURES ===================== */
.feature-grid { overflow: hidden; }
.feature-left {
    background: var(--primary);
    color: #fff;
    padding: 40px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.feature-left h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.feature-left p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0; }
.feature-box { display: block; position: relative; overflow: hidden; height: 100%; min-height: 160px; }
.feature-box-img {
    width: 100%; height: 100%; min-height: 160px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.5s;
}
.feature-box-img i { font-size: 48px; color: rgba(255,255,255,0.2); }
.feature-box:hover .feature-box-img { transform: scale(1.08); }
.feature-box-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    text-align: center;
}
.feature-box-overlay span { color: #fff; font-size: 14px; font-weight: 600; }

/* ===================== QUALITY CARDS ===================== */
.quality-card {
    text-align: center;
    padding: 32px 20px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 24px;
    transition: 0.3s;
}
.quality-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.quality-icon {
    width: 60px; height: 60px;
    margin: 0 auto 14px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.quality-icon i { font-size: 24px; color: var(--red); }
.quality-card h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 8px; }
.quality-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin: 0; }
.quality-card:hover .quality-icon { background: var(--red); }
.quality-card:hover .quality-icon i { color: #fff; }

/* ===================== NEWS CARDS ===================== */
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    transition: 0.3s;
    min-height: 200px;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.news-date { font-size: 26px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 8px; }
.news-card h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin: 0 0 8px; line-height: 1.4; }
.news-card h4 a { color: var(--primary); }
.news-card h4 a:hover { color: var(--red); }
.news-desc { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ===================== MORE BUTTON ===================== */
.more-row { text-align: center; margin-top: 20px; }
.btn-more {
    display: inline-block;
    padding: 10px 36px;
    border: 2px solid var(--red);
    color: var(--red);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
}
.btn-more:hover { background: var(--red); color: #fff; text-decoration: none; }

/* ===================== INNER PAGE CONTENT ===================== */
.inner-section { padding: 50px 0; }

/* Section heading styles (shared by .section and .inner-section) */
.section h3,
.inner-section h3 {
    font-family: var(--font-cn);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}
.section h3::after,
.inner-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--red);
}
.section p,
.inner-section p { font-size: 14px; color: var(--text-light); line-height: 1.9; margin-bottom: 14px; }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: #f0f0f0; }
.timeline-item { position: relative; padding: 0 0 24px 24px; }
.timeline-item::before {
    content: ''; position: absolute; left: -22px; top: 4px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--red); border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--red);
}
.timeline-item h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin: 0 0 2px; }
.timeline-item p { font-size: 13px; color: var(--text-light); margin: 0; }

/* App detail cards */
.app-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    margin-bottom: 20px;
    transition: 0.3s;
    height: calc(100% - 20px);
}

.app-card .app-card-body {
    flex: 1;
}
.app-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.app-card .app-icon {
    width: 52px; height: 52px;
    background: #fff5f5;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.app-card .app-icon i { font-size: 22px; color: var(--red); }
.app-card h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin: 0 0 8px; }
.app-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin: 0; }

/* Case detail cards */
.case-detail-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    transition: 0.3s;
}
.case-detail-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.case-detail-img {
    width: 100%; aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px; color: rgba(255,255,255,0.3);
    transition: 0.5s;
}
.case-detail-card:hover .case-detail-img { transform: scale(1.04); }
.case-detail-body { padding: 18px 20px; }
.case-detail-body h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin: 0 0 6px; }
.case-detail-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin: 0; }

/* Contact info */
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-item i {
    width: 40px; height: 40px;
    background: #fff5f5;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--red); font-size: 16px;
    flex-shrink: 0;
}
.contact-info-item h4 { font-size: 14px; font-weight: 700; color: var(--primary); margin: 0 0 2px; }
.contact-info-item p, .contact-info-item a { font-size: 13px; color: var(--text-light); }

/* Contact form */
.contact-form-wrap {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contact-form-wrap .form-group { margin-bottom: 16px; }
.contact-form-wrap label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px; font-family: inherit;
    transition: 0.3s; background: var(--bg-alt);
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(198,40,40,0.08);
    background: #fff;
}
.contact-form-wrap textarea { resize: vertical; min-height: 100px; }
.btn-submit {
    padding: 12px 40px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}
.btn-submit:hover { background: var(--red-dark); }

/* ===================== FLOATING TOOLBAR ===================== */
.toolbar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}
.toolbar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid var(--border);
    border-right: none;
    color: var(--text-light);
    font-size: 18px;
    transition: 0.3s;
    text-decoration: none;
    position: relative;
}
.toolbar-item:first-child { border-radius: 4px 0 0 0; }
.toolbar-item:last-child { border-radius: 0 0 0 4px; }
.toolbar-item:hover { background: var(--red); color: #fff; border-color: var(--red); }
.toolbar-item .toolbar-layer {
    position: absolute;
    right: 54px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    color: var(--text);
    font-weight: 500;
}
.toolbar-item:hover .toolbar-layer { opacity: 1; visibility: visible; }
.toolbar-item .toolbar-layer img { width: 120px; height: 120px; display: block; }

/* ===================== FOOTER ===================== */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,0.6); padding: 40px 0 0; }
.footer-widgets { padding-bottom: 30px; }
.footer-widget { margin-bottom: 24px; }
.footer-widget h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    position: relative;
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--red);
}
.footer-widget p { font-size: 13px; line-height: 1.8; }
.footer-widget ul li { margin-bottom: 6px; }
.footer-widget ul li a { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-widget ul li a:hover { color: var(--red-light); padding-left: 3px; }

.footer-nav { margin-bottom: 16px; }
.footer-nav a { color: rgba(255,255,255,0.5); font-size: 13px; margin: 0 10px; }
.footer-nav a:hover { color: #fff; }

.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.9; }
.footer-contact a { color: rgba(255,255,255,0.45); }
.footer-contact a:hover { color: var(--red-light); }

.footer-qr { text-align: center; }
.footer-qr img { width: 110px; height: 110px; border-radius: 4px; margin-bottom: 6px; }
.footer-qr p { font-size: 12px; color: rgba(255,255,255,0.4); }

.social-links { margin-top: 12px; }
.social-links a {
    display: inline-flex;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    align-items: center; justify-content: center;
    margin-right: 4px;
    font-size: 14px;
    transition: 0.3s;
}
.social-links a:hover { background: var(--red); color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.25); }
.footer-bottom a:hover { color: var(--red-light); }

/* ===================== BACK TO TOP ===================== */
.back-to-top {
    position: fixed; bottom: 80px; right: 0;
    width: 44px; height: 44px;
    background: var(--red); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    opacity: 0; visibility: hidden;
    transition: 0.3s;
    z-index: 998;
    border-radius: 4px 0 0 4px;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--red-dark); color: #fff; }

/* ===================== CATEGORY NAV ===================== */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.category-nav .cat-link {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    background: #fff;
    border: 1.5px solid var(--border);
    transition: 0.3s;
    text-decoration: none;
}
.category-nav .cat-link:hover {
    color: var(--red);
    border-color: var(--red);
    background: #fff5f5;
}
.category-nav .cat-link.active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .home-banner { height: 360px; }
    .home-banner .swiper-slide { height: 360px; }
    .slide-content h2 { font-size: 28px; }
    .stat-item h2 { font-size: 26px; }
    .feature-left { padding: 28px 20px; }
}

@media (max-width: 767px) {
    .top-bar { display: none; }

    .header-inner { height: 60px; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: -280px;
        width: 280px; height: 100vh;
        background: #fff; box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        padding: 80px 20px 30px;
        transition: 0.4s; z-index: 998; overflow-y: auto;
    }
    .main-nav.open { right: 0; }
    .main-nav > ul { flex-direction: column; align-items: flex-start; }
    .main-nav > ul > li > a { line-height: 40px; padding: 0 10px; }
    .main-nav > ul > li.active > a::after { display: none; }
    .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 16px; display: none; }
    .main-nav li.has-sub.open .sub-menu { display: block; }
    .lang-nav-item { margin-left: 0; margin-top: 12px; padding-left: 10px; }

    .home-banner { height: 280px; }
    .home-banner .swiper-slide { height: 280px; }
    .slide-content h2 { font-size: 22px; }
    .slide-content p { font-size: 14px; margin-bottom: 16px; }
    .slide-btn { padding: 10px 20px; font-size: 13px; }

    .stats-strip { padding: 24px 0; }
    .stat-item { border-left: none; padding: 6px 0; }
    .stat-item h2 { font-size: 22px; }

    .section { padding: 40px 0; }
    .section-title-cn { font-size: 22px; }
    .page-banner { padding: 36px 0; }
    .page-banner h2 { font-size: 24px; }

    .product-grid .col-xs-6 { padding: 0 6px; }
    .product-card { margin-bottom: 12px; }
    .product-name { font-size: 12px; padding: 8px; }
    .product-img .img-placeholder i { font-size: 28px; }

    .feature-grid .col-xs-4 { padding: 0 2px; }
    .feature-box-img { min-height: 80px; }
    .feature-box-img i { font-size: 28px; }
    .feature-left { padding: 20px 16px; }
    .feature-left h3 { font-size: 16px; }

    .news-card { padding: 16px 18px; min-height: auto; }
    .news-date { font-size: 20px; }

    .toolbar { display: none; }
    .back-to-top { bottom: 20px; right: 10px; width: 38px; height: 38px; font-size: 16px; }

    .footer-widgets .col-sm-6 { width: 50%; }
    .footer-qr img { width: 80px; height: 80px; }
}

@media (max-width: 480px) {
    .home-banner { height: 200px; }
    .home-banner .swiper-slide { height: 200px; }
    .slide-content h2 { font-size: 18px; }
    .slide-content p { font-size: 12px; margin-bottom: 12px; }
    .slide-btn { padding: 8px 16px; font-size: 12px; }

    .stat-item h2 { font-size: 18px; }
    .stat-item h5 { font-size: 11px; }

    .product-grid .col-xs-6 { width: 50%; padding: 0 4px; }
    .product-card { margin-bottom: 8px; }

    .news-card { min-height: auto; }

    .footer-widgets .col-sm-6 { width: 100%; }
    .contact-form-wrap { padding: 20px; }
}
