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

html { font-size: 16px !important; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    font-size: 16px;
    line-height: 1.7;
}

a {
    text-decoration: none !important;
    color: inherit;
    outline: none !important;
}

*:focus {
    outline: none !important;
}

a:focus, a:active, a:visited {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
ul { list-style: none; }
img { border: none; line-height: 0; font-size: 0; vertical-align: bottom; max-width: 100%; }

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

/* ==================== 导航栏 ==================== */
.gn-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.gn-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.gn-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 10px;
    max-height: 60px;
}
.gn-logo img {
    max-height: 50px;
    width: auto;
}
.gn-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2e7d32;
    white-space: nowrap;
}

.gn-nav-menu {
    display: flex;
    gap: 30px;
    margin-bottom: 0;
}

.gn-nav-menu a {
    font-weight: 500;
    transition: color 0.3s;
    font-size: 18px;
}

.gn-nav-menu a:hover, .gn-nav-menu li.active > a {
    color: #2e7d32;
}

.gn-nav-menu li.active {
    position: relative;
}

.gn-nav-menu li.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #2e7d32;
    border-radius: 2px;
}

.gn-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2e7d32;
}

/* ==================== Banner 轮播 ==================== */
.gn-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #eee;
}

.gn-slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gn-banner .gn-slide {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    animation: gn-fade 1.5s;
}

.gn-banner .gn-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.gn-banner .gn-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.gn-banner .gn-slide-content {
    text-align: center;
    color: #fff;
    z-index: 2;
}

.gn-banner .gn-slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px #373f46;
}

.gn-banner .gn-slide-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.gn-banner .gn-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #2e7d32;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
}

.gn-banner .gn-btn:hover { background: #1b5e20; }

.gn-banner .gn-prev, .gn-banner .gn-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    z-index: 10;
}

.gn-banner .gn-next { right: 0; }
.gn-banner .gn-prev { left: 0; }

.gn-banner .gn-dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
}

.gn-banner .gn-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.gn-banner .gn-dot.active, .gn-banner .gn-dot:hover { background-color: #2e7d32; }

@keyframes gn-fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

/* ==================== 通用板块 ==================== */
.gn-section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 50px 0 30px;
    color: #2e7d32;
}

/* ==================== 服务卡片 ==================== */
.gn-services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gn-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.gn-service-card {
    background: #fff;
    padding: 36px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.gn-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #a5d6a7;
}

.gn-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gn-service-icon img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.gn-service-card h3 { font-size: 18px; margin-bottom: 12px; color: #1e293b; font-weight: 600; }
.gn-service-card p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* ==================== 产品/热门服务网格 ==================== */
.gn-pro-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.gn-pro-wrap .gn-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.gn-pro-wrap .gn-section-header .gn-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    margin-top: 0;
}

.gn-pro-wrap .gn-section-subtitle {
    font-size: 16px;
    color: #666;
}

.gn-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.gn-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.gn-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gn-product-card .gn-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.gn-product-card .gn-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.gn-product-card .gn-card-tag.hot { background: #ff4d4f; }
.gn-product-card .gn-card-tag.new { background: #52c41a; }

.gn-product-card .gn-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gn-product-card .gn-product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gn-product-card .gn-product-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== 评价公示表格 ==================== */
.gn-evaluation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gn-table-responsive { overflow-x: auto; }

.gn-evaluation-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-bottom: 30px;
}

.gn-evaluation-table th, .gn-evaluation-table td {
    padding: 16px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.gn-evaluation-table th {
    background: #f5f5f5;
    color: #2e7d32;
    font-weight: 600;
}

.gn-view-btn { color: #2e7d32; font-weight: bold; }

.gn-text-center { text-align: center; }

.gn-evaluation .gn-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #2e7d32;
    color: #fff;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}
.gn-evaluation .gn-btn:hover { background: #1b5e20; }

/* ==================== 推荐文章网格 ==================== */
.gn-recommend-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gn-recommend-section .gn-section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 40px;
}

.gn-recommend-section .gn-section-header .gn-section-title {
    margin: 0;
}

.gn-more-link {
    color: #2e7d32;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}
.gn-more-link:hover { color: #1b5e20; }

.gn-article-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.gn-article-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gn-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gn-article-card .gn-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.gn-article-card .gn-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gn-article-card .gn-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #2e7d32 !important;
    color: white !important;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.gn-article-grid .gn-article-card:nth-child(2n) .gn-category-tag { background-color: #2e7d32 !important; }
.gn-article-grid .gn-article-card:nth-child(3n) .gn-category-tag { background-color: #2e7d32 !important; }
.gn-article-grid .gn-article-card:nth-child(4n) .gn-category-tag { background-color: #2e7d32 !important; }

.gn-article-card .gn-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gn-article-card .gn-article-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.gn-article-card .gn-article-desc {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    line-height: 1.7;
}

.gn-article-card .gn-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #95a5a6;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

/* ==================== 页面标题 ==================== */
.gn-page-header {
    background: #2e7d32;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.gn-page-header h1 { font-size: 2.2rem; margin-bottom: 10px; }
.gn-page-header p { font-size: 1.1rem; opacity: 0.9; }

/* ==================== 文章筛选 ==================== */
.gn-article-filter {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.gn-filter-options { display: flex; gap: 10px; flex-wrap: wrap; }

.gn-filter-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 20px;
    cursor: pointer;
    display: block;
    transition: all 0.3s;
    color: #666;
}

.gn-filter-btn:hover { border-color: #2e7d32; color: #2e7d32; }

.gn-filter-btn.active {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

.gn-search-article { display: flex; }

.gn-search-article input {
    padding: 6px 15px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
}

.gn-search-article input:focus { border-color: #2e7d32; }

.gn-search-article .gn-btn {
    padding: 5px 15px;
    border-radius: 0 8px 8px 0;
    border: 1px solid #2e7d32;
    background: #2e7d32;
    color: #fff;
    cursor: pointer;
}

/* ==================== 文章列表 ==================== */
.gn-articles-list { display: grid; gap: 30px; }

.gn-articles-list .gn-article-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    flex-direction: row;
}

.gn-articles-list .gn-article-image { flex-shrink: 0; }
.gn-articles-list .gn-article-image img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.gn-articles-list .gn-article-content {
    padding: 20px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.gn-articles-list .gn-article-category {
    color: #2e7d32;
    font-size: 0.9rem;
    font-weight: bold;
}

.gn-articles-list .gn-article-content h3 {
    margin: 10px 0;
    font-size: 1.4rem;
}

.gn-articles-list .gn-article-meta {
    margin-top: 15px;
    color: #888;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
}

/* ==================== 服务/产品列表 ==================== */
.gn-goods-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.gn-goods-list .gn-article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.gn-goods-list .gn-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.15);
    border-color: #2ecc71;
}

.gn-goods-list .gn-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.gn-goods-list .gn-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gn-goods-list .gn-article-card:hover .gn-card-image img { transform: scale(1.05); }

.gn-goods-list .gn-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}

.gn-goods-list .gn-tag-policy { background-color: #27ae60; }
.gn-goods-list .gn-tag-tech { background-color: #2980b9; }
.gn-goods-list .gn-tag-case { background-color: #e67e22; }
.gn-goods-list .gn-tag-dynamic { background-color: #7f8c8d; }

.gn-goods-list .gn-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gn-goods-list .gn-card-title { margin: 0 0 10px 0; font-size: 18px; line-height: 1.4; font-weight: 600; }

.gn-goods-list .gn-card-title a {
    color: #333;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gn-goods-list .gn-card-title a:hover { color: #2ecc71; }

.gn-goods-list .gn-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gn-goods-list .gn-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-top: auto;
}

/* ==================== 分页 ==================== */
.gn-fenye {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.gn-fenye a, .gn-fenye span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    transition: all 0.3s;
}

.gn-fenye a:hover { background: #2e7d32; color: #fff; border-color: #2e7d32; }
.gn-fenye .current,
.gn-fenye .page-num-current { background: #2e7d32; color: #fff; border-color: #2e7d32; font-weight: bold; }

/* ==================== 核心服务时间轴 (关于页) ==================== */
.gn-services-timeline {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
}

.gn-services-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, #10b981, #059669);
    transform: translateX(-50%);
    border-radius: 2px;
}

.gn-services-timeline .gn-timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    box-sizing: border-box;
}

.gn-services-timeline .gn-timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.gn-services-timeline .gn-timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

.gn-services-timeline .gn-timeline-icon {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 4px solid #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gn-services-timeline .gn-timeline-item:nth-child(odd) .gn-timeline-icon { right: -25px; }
.gn-services-timeline .gn-timeline-item:nth-child(even) .gn-timeline-icon { left: -25px; }

.gn-services-timeline .gn-timeline-item:hover .gn-timeline-icon {
    transform: scale(1.1);
    background-color: #10b981;
    border-color: #ffffff;
}

.gn-services-timeline .gn-timeline-content {
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #10b981;
}

.gn-services-timeline .gn-timeline-item:hover .gn-timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gn-services-timeline .gn-timeline-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 700;
}

.gn-services-timeline .gn-timeline-content p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.gn-services-timeline .gn-timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gn-services-timeline .gn-timeline-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

.gn-services-timeline .gn-timeline-content li::before {
    content: '•';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.gn-services-timeline .gn-timeline-item:nth-child(odd) .gn-timeline-content li {
    padding-left: 0;
    padding-right: 20px;
}

.gn-services-timeline .gn-timeline-item:nth-child(odd) .gn-timeline-content li::before {
    left: auto;
    right: 0;
}

/* ==================== 联系我们区域 ==================== */
.gn-contact-section { margin-top: 40px; }

.gn-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gn-contact-info .gn-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.gn-contact-info .gn-info-item h4 { font-size: 16px; color: #333; margin-bottom: 5px; }
.gn-contact-info .gn-info-item p { color: #666; }

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

.gn-contact-form .gn-form-group input,
.gn-contact-form .gn-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.gn-contact-form .gn-form-group input:focus,
.gn-contact-form .gn-form-group textarea:focus {
    border-color: #2e7d32;
}

.gn-contact-form .gn-btn {
    padding: 10px 20px;
    background-color: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.gn-contact-form .gn-btn:hover { background-color: #0c6110; }

/* ==================== 证书查询页 ==================== */
.gn-certificate-search {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.gn-certificate-search h1 { font-size: 2.5rem; margin-bottom: 20px; }
.gn-certificate-search p { font-size: 1.1rem; opacity: 0.9; }

.gn-search-container {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gn-search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.gn-tab-btn {
    padding: 12px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.gn-tab-btn.active {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
    font-weight: bold;
}

.gn-search-form { display: none; }
.gn-search-form.active { display: block; }

.gn-search-container .gn-form-group { margin-bottom: 25px; text-align: left; }

.gn-search-container .gn-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.gn-search-container .gn-form-group input,
.gn-search-container .gn-form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
}

.gn-search-container .gn-form-group input:focus,
.gn-search-container .gn-form-group select:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.1);
}

.gn-search-container .gn-search-btn {
    width: 100%;
    padding: 15px;
    background: #2e7d32;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.gn-search-container .gn-search-btn:hover { background: #1b5e20; }

.gn-quick-search-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gn-quick-option {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.gn-quick-option:hover {
    border-color: #2e7d32;
    background: #e8f5e9;
}

.gn-quick-option h4 { font-size: 16px; margin-bottom: 5px; color: #333; }
.gn-quick-option p { font-size: 13px; color: #666; }

.gn-results-section { margin-top: 50px; }

.gn-result-count { color: #666; margin-bottom: 20px; font-size: 1.1rem; }

.gn-certificate-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #2e7d32;
}

.gn-certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.gn-certificate-title { font-size: 1.3rem; color: #2e7d32; font-weight: bold; }

.gn-certificate-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.gn-status-valid { background: #e8f5e9; color: #2e7d32; }
.gn-status-expired { background: #ffebee; color: #c62828; }

.gn-certificate-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gn-detail-item { display: flex; flex-direction: column; }
.gn-detail-label { font-size: 0.9rem; color: #666; margin-bottom: 5px; }
.gn-detail-value { font-weight: bold; color: #333; }

.gn-certificate-actions { display: flex; gap: 10px; margin-top: 20px; }

.gn-action-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gn-action-btn.primary {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

.gn-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gn-no-results {
    text-align: center;
    padding: 50px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #666;
}

.gn-instructions {
    padding: 60px 20px;
    background-color: #f8fafc;
}

.gn-instructions .gn-section-title {
    text-align: center;
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 40px;
    font-weight: 700;
}

.gn-instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.gn-instruction-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.gn-instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #a5d6a7;
}

.gn-instruction-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    font-size: 24px;
}

.gn-instruction-card h4 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 600;
}

.gn-instruction-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

@keyframes gn-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== 文章详情页 ==================== */
.gn-article-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.gn-article-detail-container .gn-breadcrumb {
    margin-bottom: 20px;
    color: #888;
    font-size: 14px;
}

.gn-article-detail-container .gn-article-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.gn-article-detail-container .gn-article-meta {
    display: flex;
    margin: 16px 0;
    color: #888;
    font-size: 14px;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.gn-article-detail-container .gn-article-content { line-height: 2; font-size: 16px; }
.gn-article-detail-container .gn-article-content h2 { margin: 30px 0 15px; color: #2e7d32; }
.gn-article-detail-container .gn-article-content h3 { margin: 20px 0 10px; }
.gn-article-detail-container .gn-article-content p { margin-bottom: 15px; }
.gn-article-detail-container .gn-article-content img { max-width: 100%; border-radius: 10px; margin: 20px 0; }

.gn-article-nav {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    line-height: 2;
}

.gn-article-nav p { color: #666; }

/* ==================== 页脚 ==================== */
.gn-footer {
    background: #1b5e20;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.gn-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.gn-footer-section h3, .gn-footer-section h4 { margin-bottom: 20px; }
.gn-footer-section h3 { font-size: 1.3rem; }
.gn-footer-section h4 { font-size: 1.15rem; }
.gn-footer-section p { margin-bottom: 10px; opacity: 0.9; font-size: 15px; }

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

.gn-footer-section a:hover { color: #a5d6a7; }

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

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

.gn-footer-bottom a { color: #fff; }
.gn-footer-bottom a:hover { color: #a5d6a7; }

/* ==================== SVG图标 ==================== */
.gn-icon { width: 20px; height: 20px; fill: currentColor; display: inline-block; vertical-align: middle; }

/* ==================== 面包屑导航 ==================== */
.gn-breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}
.gn-breadcrumb a { color: #2e7d32; transition: color 0.3s; }
.gn-breadcrumb a:hover { color: #1b5e20; }
.gn-breadcrumb span { color: #999; }

/* ==================== 菜单图标 ==================== */
.gn-menu-icon { font-size: 18px; line-height: 1; }

/* ==================== 响应式适配 ==================== */

/* 平板适配 */
@media (max-width: 992px) {
    .gn-footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
    .gn-services-grid { grid-template-columns: repeat(2, 1fr); }
    .gn-article-grid { grid-template-columns: repeat(2, 1fr); }
    .gn-contact-container { grid-template-columns: 1fr; gap: 30px; }
    .gn-about-content { grid-template-columns: 1fr; gap: 30px; }
    .gn-evaluation-table th, .gn-evaluation-table td { font-size: 13px; padding: 8px 10px; }
    .gn-section-title { font-size: 1.8rem; }
    .gn-page-header h1 { font-size: 1.8rem; }
    .gn-page-header p { font-size: 1rem; }
    .gn-banner { height: 380px; }
    .gn-banner .gn-slide-content h1 { font-size: 2.5rem; }
    .gn-banner .gn-slide-content p { font-size: 1.2rem; }
    .gn-product-grid { grid-template-columns: repeat(3, 1fr); }
    .gn-goods-list { grid-template-columns: repeat(2, 1fr); }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .gn-menu-toggle { display: block; }

    .gn-nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 15px 0;
        gap: 12px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 999;
    }

    .gn-nav-menu.active { left: 0; }

    .gn-nav-menu li { width: 100%; }
    .gn-nav-menu li a { display: block; padding: 12px 20px; font-size: 16px; }

    .gn-navbar .container { height: 60px; padding: 0 15px; }
    .gn-logo img { max-height: 40px; }
    .gn-logo-text { font-size: 1rem; }

    .gn-menu-toggle {
        background: #2e7d32;
        color: #fff;
        border: none;
        padding: 8px 15px;
        border-radius: 5px;
        font-size: 14px;
        cursor: pointer;
    }

    .container { padding: 0 15px; }

    /* Banner */
    .gn-banner { height: 280px; }
    .gn-banner .gn-slide-content h1 { font-size: 1.8rem; }
    .gn-banner .gn-slide-content p { font-size: 1rem; }
    .gn-banner .gn-slide-content { padding: 0 20px; }
    .gn-banner .gn-prev, .gn-banner .gn-next { display: none; }

    /* 区块间距 */
    .gn-section { padding: 30px 0; }
    .gn-section-title { font-size: 1.5rem; }
    .gn-section-subtitle { font-size: 0.9rem; }

    /* 页面标题 */
    .gn-page-header { padding: 30px 0; }
    .gn-page-header h1 { font-size: 1.5rem; }
    .gn-page-header p { font-size: 0.95rem; }

    /* 面包屑 */
    .gn-breadcrumb { padding: 15px 0; font-size: 13px; }

    /* 我们的服务 */
    .gn-services-grid { grid-template-columns: 1fr; gap: 20px; }
    .gn-service-image { height: 180px; }
    .gn-service-card { padding: 20px; }
    .gn-service-card h3 { font-size: 18px; }
    .gn-service-card p { font-size: 14px; }

    /* 热门服务 */
    .gn-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gn-product-card .gn-card-image { height: 140px; }
    .gn-product-card .gn-card-content { padding: 12px; }
    .gn-product-card .gn-product-title { font-size: 14px; }
    .gn-product-card .gn-product-desc { display: none; }
    .gn-product-card .gn-card-meta { font-size: 12px; }

    /* 商品列表 */
    .gn-goods-list { grid-template-columns: 1fr; gap: 15px; }
    .gn-goods-list .gn-card-image { height: 180px; }

    /* 精选推荐文章 */
    .gn-article-grid { gap: 15px; grid-template-columns: repeat(2, 1fr); }
    .gn-article-card .gn-card-image { height: 140px; }
    .gn-article-card .gn-article-title { font-size: 0.95rem; }
    .gn-article-card .gn-article-desc { font-size: 0.8rem; -webkit-line-clamp: 2; }
    .gn-article-card .gn-card-meta { font-size: 0.75rem; }
    .gn-article-card .gn-card-content { padding: 10px; }
    .gn-article-card .gn-category-tag { font-size: 0.7rem; padding: 3px 8px; }

    /* 评价公示表格 */
    .gn-evaluation-table-wrapper, .gn-table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .gn-evaluation-table { min-width: 600px; font-size: 13px; }
    .gn-evaluation-table th, .gn-evaluation-table td { padding: 8px 10px; }

    /* 联系我们 */
    .gn-contact-container { grid-template-columns: 1fr; gap: 25px; }
    .gn-contact-info { padding: 20px; }
    .gn-contact-form form { padding: 15px; }
    .gn-contact-form input,
    .gn-contact-form textarea { font-size: 16px !important; }

    /* 关于我们 */
    .gn-about-content { grid-template-columns: 1fr; gap: 25px; }
    .gn-about-text { padding: 20px; }
    .gn-about-text h2 { font-size: 1.3rem; }
    .gn-about-text p { font-size: 14px; }

    /* 时间轴 */
    .gn-services-timeline::before { left: 20px; }
    .gn-services-timeline .gn-timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .gn-services-timeline .gn-timeline-icon {
        left: -5px !important;
        right: auto !important;
        width: 40px;
        height: 40px;
    }
    .gn-services-timeline .gn-timeline-content li {
        padding-left: 20px;
        padding-right: 0;
    }
    .gn-services-timeline .gn-timeline-content li::before {
        left: 0;
        right: auto;
    }

    /* 搜索容器 */
    .gn-search-container { padding: 15px; margin: 15px 0; }
    .gn-search-form { flex-direction: column; gap: 12px; }
    .gn-search-form .gn-form-group { width: 100%; }
    .gn-search-form input { width: 100%; }
    .gn-search-btn { width: 100%; }

    /* 证书查询 */
    .gn-certificate-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .gn-cert-result-item { flex-direction: column; gap: 15px; }
    .gn-cert-result-item img { width: 100% !important; height: 180px !important; }

    /* 页脚 */
    .gn-footer { padding: 25px 0 15px; }
    .gn-footer-content { grid-template-columns: 1fr; gap: 18px; }
    .gn-footer-brand { text-align: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .gn-footer-brand h3 { font-size: 1.1rem; }
    .gn-footer-brand p { font-size: 12px; }
    .gn-footer-section h4 { font-size: 0.95rem; margin-bottom: 8px; }
    .gn-footer-section p { font-size: 12px; line-height: 1.5; margin-bottom: 4px; }
    .gn-footer-section ul { display: flex; flex-wrap: wrap; gap: 8px 15px; }
    .gn-footer-section ul li { margin-bottom: 0; }
    .gn-footer-section ul li a { font-size: 12px; }
    .gn-contact-item { display: flex; align-items: flex-start; gap: 6px; }
    .gn-contact-item .gn-icon { flex-shrink: 0; margin-top: 2px; }
    .gn-contact-address { line-height: 1.4; }
    .gn-footer-bottom { padding-top: 12px; margin-top: 5px; }
    .gn-footer-bottom p { font-size: 11px; text-align: center; }

    /* 文章详情 */
    .gn-article-detail h1 { font-size: 1.3rem; }
    .gn-article-detail .gn-article-meta { font-size: 12px; flex-wrap: wrap; gap: 8px; }
    .gn-article-detail .gn-article-content { font-size: 15px; }
    .gn-article-detail .gn-article-content img { width: 100%; }

    /* 分页 */
    .gn-pagination, .gn-fenye { flex-wrap: wrap; gap: 5px; justify-content: center; }
    .gn-pagination a, .gn-pagination span,
    .gn-fenye a, .gn-fenye span { padding: 6px 10px; font-size: 13px; }

    /* 新闻列表卡片 */
    .gn-articles-list .gn-article-card { flex-direction: column; }
    .gn-articles-list .gn-article-image img { width: 100%; height: 180px; }
    .gn-articles-list .gn-article-content { padding: 15px; }
    .gn-articles-list .gn-article-content h3 { font-size: 16px; }
    .gn-articles-list .gn-article-category { font-size: 12px; }
    .gn-articles-list .gn-article-meta { font-size: 12px; }

    /* 列表页筛选 */
    .gn-filter-bar { flex-direction: column; gap: 10px; align-items: flex-start; }
    .gn-filter-bar select { width: 100%; }

    /* 会员中心 */
    .gn-member-layout, [style*="display:flex"][style*="gap:30px"] { flex-direction: column !important; gap: 20px !important; }
    .gn-member-layout .gn-member-sidebar, [style*="width:200px"] { width: 100% !important; flex-shrink: 1 !important; }
    .gn-member-layout .gn-member-content, [style*="flex:1"][style*="min-width:300px"] { width: 100% !important; min-width: 100% !important; }

    /* 留言表单 */
    .gn-message-form input,
    .gn-message-form textarea { width: 100%; font-size: 16px; }

    /* SVG图标 */
    .gn-icon { width: 16px; height: 16px; }

    /* 热门服务标题 */
    .gn-hot-services .gn-section-header { flex-direction: column; gap: 10px; }
    .gn-hot-services .gn-section-header a { font-size: 13px; }

    /* 推荐文章区域标题 */
    .gn-recommend-section .gn-section-header { flex-direction: column; gap: 10px; }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .container { padding: 0 12px; }

    .gn-banner { height: 220px; }
    .gn-banner .gn-slide-content h1 { font-size: 1.4rem; }
    .gn-banner .gn-slide-content p { font-size: 0.9rem; }

    .gn-product-grid { grid-template-columns: 1fr; }
    .gn-article-grid { grid-template-columns: 1fr; }

    .gn-section-title { font-size: 1.3rem; }
    .gn-page-header h1 { font-size: 1.3rem; }

    .gn-evaluation-table { min-width: 500px; font-size: 12px; }
    .gn-evaluation-table th, .gn-evaluation-table td { padding: 6px 8px; }

    .gn-footer-section h3 { font-size: 1rem; }
    .gn-footer-section h4 { font-size: 0.9rem; }
    .gn-footer-section p { font-size: 11px; }
    .gn-footer-section ul li a { font-size: 11px; }
    .gn-footer-bottom p { font-size: 10px; }
    .gn-contact-address { font-size: 11px; }

    .gn-logo-text { display: none; }
    .gn-logo img { max-height: 36px; }

    .gn-contact-info { padding: 15px; }
    .gn-contact-form form { padding: 12px; }

    .gn-about-text { padding: 15px; }
    .gn-about-text h2 { font-size: 1.1rem; }

    .gn-article-detail h1 { font-size: 1.1rem; }
    .gn-article-detail .gn-article-content { font-size: 14px; }
}
