/*
Theme Name: 大时代生物工程 - 9030品牌官网
Theme URI: https://www.dashidai-bio.com
Author: 大时代生物工程(深圳)有限公司
Description: 大时代生物工程官网主题 - 专注冬虫夏草生物工程，9030品牌，现代简约风格，红色系配色
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: brand-9030
*/

/* ===== 全局样式 ===== */
:root {
    --primary-color: #E53935;
    --primary-dark: #C62828;
    --primary-light: #EF5350;
    --accent-color: #FF6F00;
    --text-dark: #212121;
    --text-gray: #757575;
    --text-light: #BDBDBD;
    --bg-white: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.custom-logo-link,.site-logo span {
    color: var(--text-dark);
}

/* Logo 图片样式 */
.custom-logo-link img,.site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .site-logo img {
        max-height: 40px;
    }
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 14px;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 移动端菜单 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ===== Hero区域 ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 28px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* ===== 通用区块 ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 关于我们 ===== */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary-color);
    border-radius: 16px;
    z-index: -1;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* ===== 产品服务 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 240px;
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 28px;
}

.product-tag {
    display: inline-block;
    background: rgba(229, 57, 53, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.product-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

.product-link:hover {
    gap: 12px;
}

/* ===== 新闻动态 ===== */
.news-section {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.news-featured {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-featured:hover {
    box-shadow: var(--shadow-lg);
}

.news-featured-image {
    height: 320px;
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-light));
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured-content {
    padding: 32px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-gray);
}

.news-category {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.news-featured-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-featured-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-item p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===== 联系我们 ===== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item h4 {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 16px;
    margin: 0;
    opacity: 1;
}

.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-nav-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-brand h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand h3 span {
    color: var(--primary-color);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

.footer-copyright {
    margin-bottom: 8px;
}

.footer-info {
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-icp {
    font-size: 12px;
}

.footer-icp a {
    color: rgba(255,255,255,0.4);
}

.footer-icp a:hover {
    color: var(--primary-color);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-nav-group {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* 导航栏 */
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
        display: none;
        flex-direction: column;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }

    .main-nav a::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header-inner {
        height: 70px;
    }

    .nav-cta {
        display: none;
    }

    .site-logo {
        font-size: 22px;
    }

    /* Hero区域 */
    .hero-section {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* 通用区块 */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-desc {
        font-size: 14px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* 产品网格 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* 关于我们 */
    .about-features {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 28px;
    }

    /* 新闻 */
    .news-featured-image {
        height: 200px;
    }

    .news-featured-content h3 {
        font-size: 20px;
    }

    .news-featured-content {
        padding: 20px;
    }

    /* 联系我们 */
    .contact-info h2 {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .footer-nav-group {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        text-align: left;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-links {
        padding: 0;
        border-bottom: none;
    }

    .footer-links h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-links ul {
        gap: 6px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-contact {
        text-align: center;
        margin-top: 8px;
    }

    .footer-contact ul li {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 20px;
    }

    .footer-bottom p {
        line-height: 1.8;
    }

    .footer-copyright {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .footer-info {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .footer-icp {
        font-size: 11px;
    }

    /* Footer 二维码居中 */
    .footer-brand > div[style*="margin-top: 16px"] {
        text-align: center;
    }

    .site-footer {
        padding: 40px 0 20px;
    }

    /* 页面 Hero */
    .page-hero {
        padding: 100px 0 40px !important;
    }

    .page-hero .section-title {
        font-size: 24px !important;
    }

    .page-hero .section-desc {
        font-size: 14px !important;
    }

    /* 文章详情页 */
    .article-content {
        padding: 0;
    }

    .article-sidebar {
        display: none;
    }

    .post-navigation {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .related-posts > div {
        grid-template-columns: 1fr !important;
    }

    /* 产品详情页 */
    .product-image-wrapper + .product-info,
    .product-info + .product-image-wrapper {
        grid-template-columns: 1fr !important;
    }

    .product-info > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* 统计数据 */
    .stat-item {
        padding: 16px !important;
    }

    .stat-item div:first-child {
        font-size: 36px !important;
    }

    .stat-item div:last-child {
        font-size: 14px !important;
    }

    /* 核心成分 */
    div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    div[style*="grid-template-columns: repeat(5, 1fr)"] > div:last-child:nth-child(5) {
        grid-column: span 2;
    }

    /* 产品列表布局 */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 60px"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    div[style*="height: 400px"][style*="background: linear-gradient"] {
        height: 280px !important;
    }

    div[style*="height: 450px"][style*="background: linear-gradient"] {
        height: 280px !important;
    }

    /* 表单 */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    /* 地图 */
    .consult-qrcode img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .site-logo {
        font-size: 20px;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .product-content {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-form-wrapper h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }

    /* 咨询弹窗 */
    .consult-modal-content {
        padding: 24px;
        width: 95%;
    }

    .consult-modal-body h3 {
        font-size: 18px;
    }

    .consult-phone {
        font-size: 16px;
    }

    .consult-qrcode img {
        width: 100px;
        height: 100px;
    }

    /* 核心成分 - 更小屏幕 */
    div[style*="grid-template-columns: repeat(5, 1fr)"],
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    div[style*="grid-template-columns: repeat(5, 1fr)"] > div:last-child:nth-child(5) {
        grid-column: span 1;
    }
}

/* ===== 移动端内联样式覆盖 ===== */
@media (max-width: 768px) {
    /* 统计数据网格 - 首页和各页面 */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    /* Hero 图片高度 */
    div[style*="height: 500px"][style*="background: linear-gradient"] {
        height: 350px !important;
    }

    /* 关于我们图片 */
    .about-image div[style*="height: 450px"],
    .about-image div[style*="height: 400px"] {
        height: 300px !important;
    }

    /* 产品卡片图片 */
    .product-image {
        height: 200px !important;
    }

    /* 新闻列表网格 */
    div[style*="grid-template-columns: repeat(3, 1fr)"].news-list-grid {
        grid-template-columns: 1fr !important;
    }

    .news-card {
        margin-bottom: 0 !important;
    }

    .news-image {
        height: 180px !important;
    }

    /* 新闻 meta */
    .news-meta {
        flex-wrap: wrap !important;
    }

    /* 联系页面内容 */
    .contact-content > div {
        padding: 20px !important;
    }

    /* 文章详情页 */
    .article-layout {
        grid-template-columns: 1fr !important;
    }

    .article-sidebar {
        display: none;
    }

    .author-info {
        flex-direction: column !important;
        text-align: center !important;
    }

    .article-content .section-desc {
        font-size: 13px !important;
    }

    .article-content .section-desc span[style*="margin: 0 12px"] {
        display: none;
    }

    .article-content .section-desc span {
        display: block !important;
    }

    /* 产品详情页双栏布局 */
    section.section > div.container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* 产品特性网格 */
    div[style*="grid-template-columns: repeat(2, 1fr)"].product-features,
    .product-info div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* 产品详情页按钮 */
    .product-info div[style*="display: flex"][style*="gap: 16px"] {
        flex-direction: column !important;
    }

    .product-info div[style*="display: flex"][style*="gap: 16px"] a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* 品质保障网格 */
    section.section div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* 荣誉与认证网格 - 6列改为3列 */
    div[style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] > div {
        padding: 16px !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] > div > div:first-child {
        font-size: 24px !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] > div > div:last-child {
        font-size: 12px !important;
    }

    /* 相关产品网格 */
    .related-products div[style*="grid-template-columns: repeat(4, 1fr)"],
    .related-posts div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    /* 底部咨询引导 */
    div[style*="display: flex"][style*="justify-content: center"][style*="gap: 16px"] {
        flex-direction: column !important;
        align-items: center !important;
    }

    div[style*="display: flex"][style*="justify-content: center"][style*="gap: 16px"] .btn,
    div[style*="display: flex"][style*="justify-content: center"][style*="gap: 16px"] a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* 联系详情 */
    .contact-details {
        gap: 16px !important;
    }

    .contact-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
    }

    .contact-icon {
        margin: 0 auto !important;
    }

    /* 联系页面企业资质标签 */
    .contact-info div[style*="display: flex"][style*="flex-wrap: wrap"][style*="gap: 12px"] {
        justify-content: center !important;
    }

    /* 地图高度 */
    section.section div[style*="height: 400px"][style*="border-radius: 16px"][style*="overflow: hidden"] {
        height: 300px !important;
    }

    /* 联系页面表单 */
    .contact-form-wrapper {
        padding: 24px !important;
    }
}

@media (max-width: 480px) {
    /* 统计数据 - 单列 */
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Hero 图片高度 */
    div[style*="height: 350px"][style*="background: linear-gradient"] {
        height: 280px !important;
    }

    div[style*="height: 500px"][style*="background: linear-gradient"] {
        height: 280px !important;
    }

    /* 大字体缩小 */
    div[style*="font-size: 80px"] {
        font-size: 48px !important;
    }

    div[style*="font-size: 60px"] {
        font-size: 40px !important;
    }

    div[style*="font-size: 48px"] {
        font-size: 32px !important;
    }

    div[style*="font-size: 56px"] {
        font-size: 36px !important;
    }

    /* 荣誉与认证网格 - 更小屏幕改为2列 */
    div[style*="grid-template-columns: repeat(6, 1fr)"],
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] > div,
    div[style*="grid-template-columns: repeat(3, 1fr)"] > div {
        padding: 12px !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] > div > div:first-child,
    div[style*="grid-template-columns: repeat(3, 1fr)"] > div > div:first-child {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }

    div[style*="grid-template-columns: repeat(6, 1fr)"] > div > div:last-child,
    div[style*="grid-template-columns: repeat(3, 1fr)"] > div > div:last-child {
        font-size: 11px !important;
    }
}

/* ===== 动画效果 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

/* 页面切换过渡 */
.page-transition {
    animation: fadeIn 0.3s ease;
}

/* ===== 咨询弹窗 ===== */
.consult-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.consult-modal.active {
    visibility: visible;
    opacity: 1;
}

.consult-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.consult-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.consult-modal.active .consult-modal-content {
    transform: scale(1);
}

.consult-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    transition: color 0.2s;
}

.consult-modal-close:hover {
    color: var(--primary-color);
}

.consult-modal-body h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.consult-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.consult-phone svg {
    color: var(--primary-color);
}

.consult-phone a {
    color: var(--primary-color);
}

.consult-phone a:hover {
    text-decoration: underline;
}

.consult-qrcode {
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.consult-qrcode img {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin: 0 auto;
    border: 1px solid #eee;
}

.consult-qrcode p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.consult-more {
    display: inline-block;
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.2s;
}

.consult-more:hover {
    color: var(--primary-color);
}

body.modal-open {
    overflow: hidden;
}

/* ===== 分页样式 ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
}

.pagination .current {
    background: var(--primary-color);
    color: white;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
