/* ============================================
   珠宝玉石鉴定机构导航网站 - 样式表
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* ============================================
   子页面顶部面包屑栏（城市页/机构页/指南页/证书页通用）
   ============================================ */
.page-sub-header {
    background: #f0f1f3;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 20px;
}

.page-sub-inner {
    max-width: 960px;
    margin: 0 auto;
}

.page-sub-header .breadcrumb {
    font-size: 13px;
    color: #888;
}

.page-sub-header .breadcrumb a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}

.page-sub-header .breadcrumb a:hover {
    color: #c5a55a;
}

/* ============================================
   主内容区布局
   ============================================ */
.main-container {
    display: flex;
    height: calc(100vh - 60px - 44px);
    overflow: hidden;
}

/* ============================================
   左侧边栏 - 搜索和列表
   ============================================ */
.sidebar {
    width: 380px;
    min-width: 320px;
    background: white;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 搜索框 */
.search-box {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 8px;
}

.search-box input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #1a1a2e;
}

.btn-search {
    padding: 10px 20px;
    background: #1a1a2e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #2a2a4e;
}

/* 搜索结果列表 */
.search-results {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.result-item:hover {
    background: #f8f9fa;
}

.result-item.active {
    background: #1a1a2e;
    color: white;
}

.result-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.result-address {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-item.active .result-address {
    color: rgba(255,255,255,0.7);
}

.result-meta {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    font-size: 11px;
}

.tag {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.tag-cma {
    background: #e8f5e9;
    color: #2e7d32;
}

.tag-cnas {
    background: #e3f2fd;
    color: #1565c0;
}

.result-item.active .tag-cma {
    background: rgba(46,125,50,0.3);
    color: #a5d6a7;
}

.result-item.active .tag-cnas {
    background: rgba(21,101,192,0.3);
    color: #90caf9;
}

/* 列表底部信息 */
.list-info {
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* ============================================
   右侧地图区域
   ============================================ */
.map-container {
    flex: 1;
    position: relative;
    background: #e8e8e8;
}

#map {
    width: 100%;
    height: 100%;
}

/* ============================================
   机构详情弹窗
   ============================================ */
.org-detail {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 350px;
    max-height: calc(100% - 30px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
    display: none;
}

.org-detail.active {
    display: block;
}

.org-detail-header {
    padding: 15px 20px;
    background: #1a1a2e;
    color: white;
    position: relative;
}

.org-detail-header h2 {
    font-size: 16px;
    margin-bottom: 4px;
    padding-right: 24px;
}

.org-detail-header .org-type {
    font-size: 12px;
    opacity: 0.8;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-btn:hover {
    background: rgba(255,255,255,0.3);
}

.org-detail-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100% - 60px);
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h3 {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-section p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.detail-tag.cma {
    background: #e8f5e9;
    color: #2e7d32;
}

.detail-tag.cnas {
    background: #e3f2fd;
    color: #1565c0;
}

.detail-tag.high-level {
    background: #fff3e0;
    color: #e65100;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary {
    background: #1a1a2e;
    color: white;
}

.btn-primary:hover {
    background: #2a2a4e;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* 评分星级 */
.rating {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.star {
    color: #ffc107;
    font-size: 14px;
}

.star.empty {
    color: #ddd;
}

.review-count {
    font-size: 12px;
    color: #888;
    margin-left: 6px;
}

/* ============================================
   顶部导航栏
   ============================================ */
.top-nav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    color: white;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(197,165,90,0.2);
}

.top-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-logo svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-logo-text {
    background: linear-gradient(135deg, #fff 0%, #e8d5b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-icon {
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #c5a55a;
    border-bottom-color: #c5a55a;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 28px 20px 24px;
    font-size: 13px;
    border-top: 1px solid rgba(197,165,90,0.15);
}

.footer p {
    margin-bottom: 6px;
}

.footer-tip {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.footer-links {
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #c5a55a;
}

.footer-trust {
    font-size: 12px;
    color: rgba(197,165,90,0.5);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* ============================================
   移动端适配
   ============================================ */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .sidebar {
        width: 100%;
        height: 50vh;
        min-height: 300px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .map-container {
        height: 50vh;
        min-height: 300px;
    }
    
    .org-detail {
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
    }
    
    .nav-logo-text {
        font-size: 14px;
    }
    
    .nav-logo svg {
        width: 26px;
        height: 26px;
    }
    
    .nav-links {
        gap: 14px;
    }
    
    .nav-links a {
        font-size: 13px;
    }
    
    .search-box {
        padding: 10px;
    }
    
    .search-box input {
        font-size: 16px;
    }
    
    .btn-search {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .result-item {
        padding: 10px 12px;
    }
    
    .result-name {
        font-size: 14px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        padding: 12px;
        font-size: 14px;
    }

    .footer-links {
        gap: 16px;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ============================================
   加载动画
   ============================================ */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    font-size: 14px;
}

/* ============================================
   指南页面样式
   ============================================ */
.guide-page {
    display: block;
    height: auto;
    overflow: visible;
    background: #f5f5f5;
}

.guide-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 30px 20px;
    background: white;
    min-height: calc(100vh - 60px - 44px);
}

.guide-content h1 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a1a2e;
}

.guide-content h2 {
    font-size: 18px;
    color: #1a1a2e;
    margin: 28px 0 16px;
    padding-left: 12px;
    border-left: 4px solid #c5a55a;
}

.guide-content h3 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px;
}

.guide-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.guide-list {
    padding-left: 24px;
    margin: 12px 0;
}

.guide-list li {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.guide-table th,
.guide-table td {
    border: 1px solid #e0e0e0;
    padding: 10px 12px;
    text-align: left;
}

.guide-table th {
    background: #1a1a2e;
    color: white;
    font-weight: 600;
}

.guide-table tr:nth-child(even) {
    background: #f8f9fa;
}

.guide-note {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
}

.guide-tip {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: 14px;
    color: #2e7d32;
}

.guide-warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: 14px;
    color: #e65100;
}

/* 城市页面内容 */
.city-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.city-content h1 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.city-intro {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.org-list {
    display: grid;
    gap: 12px;
}

.org-card {
    background: white;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #e8e8e8;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.org-card:hover {
    border-color: #c5a55a;
    box-shadow: 0 4px 20px rgba(197,165,90,0.12);
    transform: translateY(-1px);
}

.org-card h3 {
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.org-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.5;
}

.org-card .org-tags {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.org-card .tag {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.org-card .tag-cma {
    background: #e8f5e9;
    color: #2e7d32;
}

.org-card .tag-cnas {
    background: #e3f2fd;
    color: #1565c0;
}

/* 机构详情页内容 */
.org-detail-page {
    display: block;
    height: auto;
    overflow: visible;
    background: #f5f5f5;
}

.org-detail-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 30px 20px;
    background: white;
    min-height: calc(100vh - 60px - 44px);
}

.org-detail-content h1 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.org-detail-tags {
    margin-bottom: 16px;
}

.cert-note-box {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 4px solid #c5a55a;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 0 16px;
    font-size: 14px;
    color: #5d4037;
    line-height: 1.6;
}

.cert-note-box .cert-note-icon {
    color: #c5a55a;
    margin-right: 4px;
}

.org-detail-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 4px 20px;
    margin: 20px 0;
}

.org-detail-info .info-row {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #eef0f2;
}

.org-detail-info .info-row:last-child {
    border-bottom: none;
}

.org-detail-info .info-label {
    width: 90px;
    flex-shrink: 0;
    color: #888;
    font-size: 13px;
    line-height: 1.6;
    padding-top: 1px;
}

.org-detail-info .info-row p {
    flex: 1;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.org-detail-info .work-time {
    flex: 1;
}

.org-detail-info .work-time p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.cert-query-row .cert-query-link {
    color: #c5a55a;
    text-decoration: none;
    font-weight: 500;
}

.cert-query-row .cert-query-link:hover {
    text-decoration: underline;
}

.org-detail-actions {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.org-detail-actions .btn-action {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-primary {
    background: #c5a55a;
    color: white;
}

.btn-primary:hover {
    background: #b8954a;
}

.btn-secondary {
    background: #1a1a2e;
    color: white;
}

.btn-secondary:hover {
    background: #2a2a4e;
}

/* 机构详情页地图容器 */
.org-detail-map {
    margin: 0 0 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.org-detail-map #mapContainer {
    border-radius: 10px;
}

/* SEO文本区域 */
.org-seo-text,
.city-seo-text {
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.org-seo-text h2,
.city-seo-text h2 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 10px;
    margin-top: 16px;
}

.org-seo-text h2:first-child,
.city-seo-text h2:first-child {
    margin-top: 0;
}

.org-seo-text p,
.city-seo-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 6px;
}

/* 返回导航 */
.back-nav {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef0f2;
}

.back-nav a {
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
}

.back-nav a:hover {
    color: #c5a55a;
}

/* 同城其他机构 */
.same-city-orgs {
    margin-top: 24px;
}

.same-city-orgs h2 {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

/* 证书查询页内容 */
.cert-check-page {
    display: block;
    height: auto;
    overflow: visible;
    background: #f5f5f5;
}

.cert-check-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 20px;
    background: white;
    min-height: calc(100vh - 60px - 44px);
}

.cert-search-top {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 36px 20px;
    position: sticky;
    top: 60px;
    z-index: 100;
    border-bottom: 1px solid rgba(197,165,90,0.15);
}

.cert-search-top-inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.cert-search-top-inner input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

.cert-search-btn {
    padding: 18px 32px;
    background: #c5a55a;
    color: #1a1a2e;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.cert-search-btn:hover {
    background: #d4af37;
}

.cert-check-content h1 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.cert-check-intro {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 12px 0 20px;
}

.cert-search-box {
    position: relative;
    margin-bottom: 20px;
}

.cert-search-box input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.cert-search-box input:focus {
    border-color: #c5a55a;
    outline: none;
}

.cert-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
}

.cert-warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.cert-warning strong {
    color: #e65100;
    font-size: 15px;
}

.cert-warning p {
    margin-top: 6px;
    font-size: 14px;
    color: #7c5e1e;
    line-height: 1.6;
}

.cert-check-content h2 {
    font-size: 20px;
    color: #333;
    margin: 24px 0 16px;
    border-left: 4px solid #c5a55a;
    padding-left: 10px;
}

.cert-org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.cert-org-card {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.cert-org-card:hover {
    border-color: #c5a55a;
    box-shadow: 0 2px 8px rgba(197,165,90,0.15);
}

.cert-org-card a {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.cert-org-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.cert-org-city {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 4px;
}

.cert-org-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.cert-org-action {
    font-size: 13px;
    color: #c5a55a;
    font-weight: 500;
}

.cert-no-result {
    text-align: center;
    padding: 32px 16px;
    color: #999;
}

.cert-no-result p {
    margin-bottom: 8px;
    font-size: 15px;
}

.cert-no-result a {
    color: #c5a55a;
}

.cert-check-guide {
    margin-top: 28px;
}

.cert-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
}

.cert-steps li {
    counter-increment: step;
    padding: 12px 0 12px 48px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.cert-steps li:last-child {
    border-bottom: none;
}

.cert-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 32px;
    height: 32px;
    background: #c5a55a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
}

.cert-steps strong {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.cert-steps p {
    font-size: 14px;
    color: #777;
    line-height: 1.5;
}

.cert-fake-warning {
    margin-top: 28px;
}

.cert-fake-list {
    list-style: none;
    padding: 0;
}

.cert-fake-list li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px dashed #eee;
}

.cert-fake-list li:last-child {
    border-bottom: none;
}

.cert-fake-list li::before {
    content: "\26A0";
    position: absolute;
    left: 0;
    color: #e65100;
}

.cert-back-nav {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.cert-back-nav a {
    color: #c5a55a;
    text-decoration: none;
    font-size: 14px;
}

/* 首页证书查询入口 */
.cert-check-entry {
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border: 1px solid #ffe082;
}

/* 移动端证书查询页适配 */
@media (max-width: 768px) {
    .cert-search-top {
        padding: 20px 12px;
    }

    .cert-search-top-inner {
        flex-direction: column;
        gap: 10px;
    }

    .cert-search-top-inner input {
        font-size: 15px;
        padding: 14px 16px;
    }

    .cert-search-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .cert-check-content {
        padding: 16px;
        border-radius: 8px;
    }

    .cert-org-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cert-check-content h2 {
        font-size: 18px;
    }

    .cert-steps li {
        padding: 10px 0 10px 44px;
    }

    .cert-warning {
        padding: 12px 14px;
    }

    .cert-warning p {
        font-size: 13px;
    }

    .cert-back-nav {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================
   首页 SEO 优化布局
   ============================================ */

/* 首屏英雄区 */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%);
    color: white;
    padding: 56px 20px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L37 23H60L42 37L48 60L30 46L12 60L18 37L0 23H23Z' fill='%23c5a55a' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c5a55a, transparent);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.hero-cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #c5a55a, #d4af37, #c5a55a);
    color: #1a1a2e;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(197,165,90,0.4), 0 0 0 1px rgba(255,255,255,0.1) inset;
    transition: all 0.3s ease;
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.hero-cert-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(197,165,90,0.55), 0 0 0 1px rgba(255,255,255,0.15) inset;
}

.hero-cert-icon {
    font-size: 20px;
}

.hero-cert-arrow {
    font-size: 18px;
    transition: transform 0.2s;
}

.hero-cert-btn:hover .hero-cert-arrow {
    transform: translateX(4px);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-trust-item {
    text-align: center;
}

.hero-trust-item strong {
    display: block;
    font-size: 28px;
    color: #c5a55a;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(197,165,90,0.3);
}

.hero-trust-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
}

.hero-trust-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(197,165,90,0.3), transparent);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border: 1px solid rgba(197,165,90,0.3);
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    background: rgba(197,165,90,0.05);
    letter-spacing: 0.5px;
}

/* 首页主内容区 */
.seo-home {
    display: block;
    overflow: visible;
    height: auto;
    background: #f7f8fa;
}

.seo-home-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

/* 搜索区 */
.home-search-section {
    background: #fff;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.home-search-section h2 {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 14px;
    font-weight: 700;
}

.seo-search {
    display: flex;
    gap: 8px;
    background: #f5f6f8;
    padding: 4px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.seo-search:focus-within {
    border-color: #c5a55a;
    background: #fff;
}

.seo-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 15px;
    outline: none;
    color: #333;
}

.btn-search {
    padding: 10px 24px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search:hover {
    background: #2a2a4e;
}

/* 快捷入口卡片 */
.home-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.quick-link-card.quick-cert {
    background: linear-gradient(135deg, #fff8e1, #fff3e0);
    border: 1px solid #ffe082;
}

.quick-link-card.quick-cert:hover {
    border-color: #c5a55a;
}

.quick-link-card.quick-guide {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border: 1px solid #a5d6a7;
}

.quick-link-card.quick-guide:hover {
    border-color: #66bb6a;
}

.quick-link-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.quick-link-card h3 {
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 4px;
    font-weight: 600;
}

.quick-link-card p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* 省份区块 */
.seo-provinces {
    margin-bottom: 24px;
}

.seo-provinces h2 {
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 16px;
    font-weight: 700;
}

.province-block {
    background: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #f5f5f5;
}

.province-block h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.city-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: #f5f6f8;
    border-radius: 16px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    transition: all 0.2s;
}

.city-link:hover {
    background: #1a1a2e;
    color: white;
}

.city-link .count {
    background: #e0e0e0;
    color: #666;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
}

.city-link:hover .count {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* 移动端首页适配 */
@media (max-width: 768px) {
    .hero {
        padding: 36px 16px 40px;
    }

    .hero-title {
        font-size: 26px;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-cert-btn {
        padding: 13px 30px;
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-trust {
        gap: 16px;
    }

    .hero-trust-item strong {
        font-size: 22px;
    }

    .hero-trust-divider {
        height: 28px;
    }

    .hero-badges {
        gap: 8px;
        margin-top: 18px;
    }

    .hero-badge {
        padding: 5px 12px;
        font-size: 11px;
    }

    /* 搜索区移动端 */
    .home-search-section {
        padding: 14px 16px;
        margin-bottom: 14px;
    }

    .home-search-section h2 {
        font-size: 14px;
    }

    .seo-search {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
    }

    .seo-search input {
        font-size: 14px;
        text-align: center;
    }

    .btn-search {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    /* 快捷入口卡片移动端 */
    .home-quick-links {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 16px;
    }

    .quick-link-card {
        padding: 14px 16px;
    }

    .quick-link-icon {
        font-size: 24px;
    }

    .quick-link-card h3 {
        font-size: 14px;
    }

    /* 省份区域移动端 */
    .province-block {
        padding: 10px;
        margin-bottom: 8px;
    }

    .province-block h3 {
        font-size: 14px;
    }

    .city-link {
        font-size: 12px;
        padding: 4px 10px;
    }

    .city-content h1,
    .org-detail-content h1 {
        font-size: 18px;
    }

    .city-intro {
        font-size: 13px;
        padding: 10px;
    }

    .org-detail-content {
        padding: 20px 14px;
    }

    .org-detail-info {
        padding: 2px 14px;
    }

    .org-detail-info .info-label {
        width: 76px;
        font-size: 12px;
    }

    .org-detail-info .info-row p {
        font-size: 13px;
    }

    .org-detail-actions {
        flex-direction: column;
    }

    .org-detail-actions .btn-action {
        text-align: center;
        justify-content: center;
    }

    .org-seo-text,
    .city-seo-text {
        padding: 14px;
    }

    .org-seo-text h2,
    .city-seo-text h2 {
        font-size: 15px;
    }

    .back-nav {
        padding-top: 16px;
    }
}

/* ============================================
   法律合规页面样式 (about/disclaimer/privacy)
   ============================================ */

.legal-page {
    display: block;
    height: auto;
    overflow: visible;
    background: #f7f8fa;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    background: white;
    min-height: calc(100vh - 60px);
}

.legal-content h1 {
    font-size: 26px;
    color: #1a1a2e;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 3px solid #c5a55a;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 18px;
    color: #1a1a2e;
    margin: 24px 0 14px;
    padding-left: 12px;
    border-left: 4px solid #c5a55a;
    font-weight: 600;
}

.legal-section h3 {
    font-size: 15px;
    color: #333;
    margin: 18px 0 10px;
    font-weight: 600;
}

.legal-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.legal-list {
    padding-left: 24px;
    margin: 10px 0;
}

.legal-list li {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 6px;
}

/* 高亮框 */
.highlight-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 14px 0;
}

.highlight-box.danger {
    background: #fff3e0;
    border-color: #ff9800;
}

.highlight-box p {
    margin-bottom: 8px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* 警告框 */
.warning-box {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 14px 0;
}

.warning-box p {
    color: #7c5e1e;
    margin-bottom: 8px;
}

/* 法律通知框 */
.legal-notice-box {
    background: #1a1a2e;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.legal-notice-box p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* 联系框 */
.contact-box {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 14px 0;
}

.contact-box p {
    color: #2e7d32;
    margin-bottom: 8px;
}

/* 法律表格 */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    border: 1px solid #e0e0e0;
    padding: 10px 12px;
    text-align: left;
}

.legal-table th {
    background: #1a1a2e;
    color: white;
    font-weight: 600;
}

.legal-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* 日期标注 */
.legal-date {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
}

.legal-date p {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

/* 注释文字 */
.legal-note {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-top: 8px;
}

/* 移动端法律页面适配 */
@media (max-width: 768px) {
    .legal-content {
        padding: 24px 16px 40px;
    }

    .legal-content h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .legal-section h2 {
        font-size: 16px;
    }

    .legal-section h3 {
        font-size: 14px;
    }

    .legal-section p,
    .legal-list li {
        font-size: 13px;
    }

    .highlight-box,
    .warning-box,
    .legal-notice-box,
    .contact-box {
        padding: 12px 14px;
    }

    .legal-table {
        font-size: 12px;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
}
