/* ============================================
   PbootCMS 企业模板 - 主样式表
   版本: 1.0
   描述: PC + 移动端自适应
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --accent: #ff6d00;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-gray: #f7f8fa;
    --border: #eaeaea;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,.12);
    --radius: 8px;
    --container: 1200px;
    --header-h: 80px;
    --transition: all .3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}
img { max-width: 100%; vertical-align: middle; border: 0; }
a { color: var(--text); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 14px; outline: none; }

/* ---------- Layout ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--bg-gray); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-light); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-block { display: block; width: 100%; }

/* ---------- Top Bar ---------- */
.top-bar {
    background: #f5f5f5;
    font-size: 12px;
    color: var(--text-light);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}
.top-bar-right { display: flex; align-items: center; gap: 8px; }
.top-item { white-space: nowrap; }
.top-divider { color: #ddd; }

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 0 var(--border);
    transition: var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}
.logo { display: flex; align-items: center; }
.logo img { max-height: 46px; max-width: 200px; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--primary); }

/* Nav */
.nav-list { display: flex; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 0 22px;
    line-height: var(--header-h);
    font-size: 15px;
    color: var(--text);
    position: relative;
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--primary); }
.nav-list > li > a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 22px; right: 22px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
}
.arrow {
    display: inline-block;
    width: 6px; height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    vertical-align: middle;
}
.sub-nav {
    position: absolute;
    top: 100%; left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
.nav-list > li:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub-nav li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}
.sub-nav li:last-child a { border-bottom: none; }
.sub-nav li a:hover { background: var(--primary-light); color: var(--primary); padding-left: 26px; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-qq { color: var(--primary); display: flex; }
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav mask */
.nav-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s;
}
.nav-mask.show { opacity: 1; }

/* ---------- Banner ---------- */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.banner-slider { position: relative; width: 100%; }
.banner-item {
    width: 100%;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}
.banner-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.4), rgba(0,0,0,.1));
}
.banner-content { position: relative; z-index: 2; color: #fff; max-width: 700px; }
.banner-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.banner-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: .9;
}
.banner-btn { margin-top: 8px; }
.banner-dots {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.banner-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: var(--transition);
}
.banner-dot.active { background: #fff; width: 28px; border-radius: 5px; }
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.banner-arrow:hover { background: rgba(255,255,255,.4); }
.banner-prev { left: 24px; }
.banner-next { right: 24px; }

/* ---------- Section Head ---------- */
.section-head { text-align: center; margin-bottom: 50px; }
.section-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.section-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-item {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-icon {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-title { font-size: 18px; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-light); }

/* ---------- Products ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-item {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-img {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}
.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.product-item:hover .product-img img { transform: scale(1.08); }
.product-mask {
    position: absolute;
    inset: 0;
    background: rgba(26,115,232,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.product-item:hover .product-mask { opacity: 1; }
.product-view { color: #fff; font-size: 15px; font-weight: 500; }
.product-info { padding: 20px; }
.product-name { font-size: 16px; margin-bottom: 8px; }
.product-name a { color: var(--text); }
.product-name a:hover { color: var(--primary); }
.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.section-more { text-align: center; margin-top: 40px; }

/* ---------- About ---------- */
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-img img { width: 100%; display: block; }
.about-content .section-title { text-align: left; }
.about-content .section-tag { text-align: left; }
.about-text p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 24px;
    text-indent: 2em;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-stats li { text-align: center; }
.stat-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}
.stat-unit { font-size: 18px; font-weight: 600; color: var(--primary); }
.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---------- Cases ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.case-img {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.case-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.case-item:hover .case-img img { transform: scale(1.08); }
.case-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
    color: #fff;
    transform: translateY(20%);
    transition: var(--transition);
}
.case-item:hover .case-overlay { transform: translateY(0); }
.case-title { font-size: 18px; margin-bottom: 6px; }
.case-desc {
    font-size: 13px;
    opacity: .85;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ---------- News ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-item {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.news-img {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.news-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.news-item:hover .news-img img { transform: scale(1.06); }
.news-info { padding: 20px; display: flex; gap: 16px; }
.news-date {
    flex-shrink: 0;
    text-align: center;
    border-right: 1px solid var(--border);
    padding-right: 16px;
}
.date-day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.date-month {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.news-text { flex: 1; min-width: 0; }
.news-title {
    font-size: 15px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--primary); }
.news-desc {
    font-size: 13px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ---------- CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 70px 0;
    text-align: center;
    color: #fff;
}
.cta-title { font-size: 32px; margin-bottom: 12px; }
.cta-desc { font-size: 16px; opacity: .9; margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #2c3e50; color: #b8c4cf; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}
.footer-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 30px; height: 2px;
    background: var(--primary);
}
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-item {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.social-item:hover { background: var(--primary); color: #fff; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b8c4cf; font-size: 14px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}
.fc-label { color: #8a9ba8; }
.footer-qrcode img {
    width: 120px; height: 120px;
    background: #fff;
    padding: 6px;
    border-radius: 4px;
}
.qrcode-placeholder {
    width: 120px; height: 120px;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
}
.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #8a9ba8;
}

/* ---------- Back to top ---------- */
.back-top {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary-dark); color: #fff; }

/* ---------- Inner Pages ---------- */
.page-banner {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    text-align: center;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,115,232,.85), rgba(21,87,176,.75));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner-title { font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.page-banner-sub { font-size: 16px; opacity: .9; }

.breadcrumb {
    background: var(--bg-gray);
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb a:not(:last-child)::after {
    content: ' / ';
    margin: 0 6px;
    color: #ccc;
}

/* List page */
.list-item {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.list-item:hover { box-shadow: var(--shadow-hover); }
.list-img {
    flex-shrink: 0;
    width: 280px;
    aspect-ratio: 4/3;
    border-radius: 6px;
    overflow: hidden;
}
.list-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.list-item:hover .list-img img { transform: scale(1.05); }
.list-info { flex: 1; min-width: 0; }
.list-title { font-size: 18px; margin-bottom: 10px; }
.list-title a { color: var(--text); }
.list-title a:hover { color: var(--primary); }
.list-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.list-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.list-more { font-size: 14px; color: var(--primary); font-weight: 500; }

/* Pagination */
.pagination-wrap { padding: 20px 0 60px; }
.pagination-wrap .container { text-align: center; }
.pagination-wrap a,
.pagination-wrap span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-light);
}
.pagination-wrap a:hover,
.pagination-wrap .current,
.pagination-wrap .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Detail page */
.detail-article {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}
.detail-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.4;
}
.detail-meta {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}
.detail-meta span { margin: 0 12px; }
.detail-content {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
}
.detail-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 10px 0; }
.detail-content p { margin-bottom: 16px; }
.detail-prev-next {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}
.detail-prev-next p { margin-bottom: 8px; }

.related-section {
    background: #fff;
    padding: 30px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.related-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}
.related-item a {
    flex: 1;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}
.related-date { font-size: 12px; color: var(--text-muted); }

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}
.contact-info, .contact-form {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-title {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.contact-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-list strong { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-list p { font-size: 14px; color: var(--text-light); }

.form-row { margin-bottom: 16px; }
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-gray);
}
.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,115,232,.1);
}
.form-row textarea { resize: vertical; }

/* Search page */
.search-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.search-input-wrap {
    display: flex;
    gap: 12px;
}
.search-input-wrap input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
}
.search-tip { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.search-results .list-item { margin-bottom: 16px; }

/* ============================================
   Responsive - Tablet (≤992px)
   ============================================ */
@media (max-width: 992px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 30px; }
    .banner-item { min-height: 460px; }
    .banner-title { font-size: 36px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }

    .about-wrap { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .contact-grid { grid-template-columns: 1fr; }

    /* Mobile nav */
    .menu-toggle { display: flex; }
    .nav {
        position: fixed;
        top: 0; right: -300px;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: #fff;
        z-index: 999;
        transition: right .3s ease;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0,0,0,.1);
    }
    .nav.open { right: 0; }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0;
    }
    .nav-list > li > a {
        line-height: 1.5;
        padding: 14px 24px;
        border-bottom: 1px solid #f5f5f5;
    }
    .nav-list > li > a.active::after { display: none; }
    .sub-nav {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }
    .sub-nav.show { display: block; }
    .nav-mask { display: block; }
    .header-qq { display: none; }
    .top-bar-right { display: none; }
}

/* ============================================
   Responsive - Mobile (≤768px)
   ============================================ */
@media (max-width: 768px) {
    :root { --header-h: 64px; }
    .section { padding: 48px 0; }
    .section-head { margin-bottom: 32px; }
    .section-title { font-size: 26px; }
    .section-desc { font-size: 14px; }

    .banner-item { min-height: 380px; }
    .banner-title { font-size: 26px; margin-bottom: 12px; }
    .banner-subtitle { font-size: 14px; margin-bottom: 20px; }
    .banner-arrow { display: none; }

    .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .feature-item { padding: 24px 16px; }
    .feature-icon { width: 56px; height: 56px; }
    .feature-icon svg { width: 28px; height: 28px; }
    .feature-title { font-size: 15px; }
    .feature-desc { font-size: 12px; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-info { padding: 14px; }
    .product-name { font-size: 14px; }
    .product-desc { font-size: 12px; }

    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-num { font-size: 26px; }

    .cases-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-info { flex-direction: row; }

    .cta-title { font-size: 24px; }
    .cta-desc { font-size: 14px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 30px; }

    /* List page */
    .list-item { flex-direction: column; padding: 16px; gap: 14px; }
    .list-img { width: 100%; }
    .list-title { font-size: 16px; }

    /* Detail page */
    .detail-article { padding: 20px; }
    .detail-title { font-size: 20px; }
    .related-section { padding: 20px; }
    .related-list { grid-template-columns: 1fr; }

    /* Contact */
    .contact-info, .contact-form { padding: 24px 20px; }

    /* Page banner */
    .page-banner { min-height: 220px; }
    .page-banner-title { font-size: 28px; }

    .back-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

/* ============================================
   Responsive - Small Mobile (≤480px)
   ============================================ */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .features-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .banner-item { min-height: 320px; }
    .banner-title { font-size: 22px; }
    .btn { padding: 10px 24px; font-size: 14px; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
}
