/* ===================================================
   正规侦探社 - 全站样式
   Color: #1a1a1a (dark) + #c9a961 (gold)
   =================================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --dark: #1a1a1a;
    --dark-2: #222;
    --dark-3: #2a2a2a;
    --dark-4: #333;
    --gold: #c9a961;
    --gold-light: #d4b872;
    --gold-dark: #b89a52;
    --white: #ffffff;
    --gray: #999;
    --gray-light: #ddd;
    --gray-lighter: #f5f5f5;
    --text: #e0e0e0;
    --text-light: #bbb;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

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

/* Top Bar */
.top-bar {
    background: var(--dark-2);
    border-bottom: 1px solid var(--dark-4);
    font-size: 13px;
    color: var(--gray);
    padding: 8px 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left span { margin-right: 20px; }
.top-bar-right a { color: var(--gray); margin-left: 15px; }
.top-bar-right a:hover { color: var(--gold); }

/* Header */
.site-header {
    background: var(--dark);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo a {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 22px;
    font-weight: bold;
    gap: 10px;
}
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.logo-icon {
    color: var(--gold);
    font-size: 28px;
    margin-right: 8px;
}
.logo-text { letter-spacing: 2px; }

.main-nav { display: flex; gap: 5px; }
.main-nav a {
    color: var(--text-light);
    padding: 8px 18px;
    font-size: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
    background: rgba(201,169,97,0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin: 5px 0;
    transition: var(--transition);
}

.btn-header-contact {
    background: var(--gold);
    color: var(--dark) !important;
    padding: 8px 22px;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 14px;
}
.btn-header-contact:hover { background: var(--gold-light); }

.header-right { display: flex; align-items: center; gap: 15px; }

/* Hero */
.hero-section {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.85), rgba(26,26,26,0.7));
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 20px;
}
.hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--white);
    letter-spacing: 3px;
    line-height: 1.3;
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 30px;
    line-height: 1.8;
}
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 16px;
    transition: var(--transition);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); color: var(--dark); }
.btn-outline {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 16px;
    transition: var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }

/* Section Base */
.section { padding: 80px 0; }
.section-dark { background: var(--dark-2); }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
}
.section-title p {
    color: var(--gray);
    margin-top: 20px;
    font-size: 15px;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.service-card {
    background: var(--dark-3);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--dark-4);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(201,169,97,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold);
    transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--gold); color: var(--dark); }
.service-card h3 {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 8px;
}
.service-card .subtitle {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}
.service-card .read-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--gold);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img-main {
    width: 100%;
    height: 380px;
    background-image: url('../images/about-main.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.about-img-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    opacity: 0.3;
}
.about-text h2 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 15px;
}
.about-text h2 span { color: var(--gold); }
.about-text .gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 20px;
}
.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}
.about-stat {
    text-align: center;
    padding: 15px;
    background: var(--dark-3);
    border-radius: var(--radius);
}
.about-stat .number {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 36px;
    color: var(--gold);
    font-weight: bold;
    display: block;
}
.about-stat .label {
    font-size: 13px;
    color: var(--gray);
    margin-top: 5px;
}

/* Advantages */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: var(--dark-3);
    border-radius: var(--radius);
    border: 1px solid var(--dark-4);
    transition: var(--transition);
}
.advantage-item:hover { border-color: var(--gold); }
.advantage-num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    color: var(--gold);
    font-weight: bold;
    line-height: 1;
    min-width: 45px;
}
.advantage-item h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 6px;
}
.advantage-item p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.process-step {
    text-align: center;
    position: relative;
    padding: 25px 10px;
}
.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: var(--gold);
}
.process-step:last-child::after { display: none; }
.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: bold;
}
.process-step h4 {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 5px;
}
.process-step p {
    font-size: 12px;
    color: var(--gray);
}

/* News Section */
.news-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.news-hero-card {
    background: var(--dark-3);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--dark-4);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-hero-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.news-hero-thumb {
    height: 300px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.news-hero-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.news-hero-body h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.5;
}
.news-hero-body p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}
.news-side-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.news-side-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--dark-3);
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid var(--dark-4);
    transition: var(--transition);
}
.news-side-item:hover { border-color: var(--gold); transform: translateX(3px); }
.news-item-thumb {
    width: 120px;
    height: 90px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-item-thumb .news-list-thumb-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.news-side-info { flex: 1; min-width: 0; }
.news-side-info a {
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
    display: block;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-side-info a:hover { color: var(--gold); }
.news-side-info .news-side-date {
    font-size: 12px;
    color: var(--gray);
}
.news-side-info .news-side-cat {
    display: inline-block;
    font-size: 11px;
    color: var(--gold);
    background: rgba(201,169,97,0.12);
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 6px;
}
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.news-thumb-img {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius);
    margin-bottom: 10px;
}
.news-list-item h4 {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-item p {
    font-size: 12px;
    color: var(--gray);
}
.news-list-item .date {
    font-size: 12px;
    color: var(--gray);
    margin-top: 5px;
}

/* Case Cards */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.case-card {
    background: var(--dark-3);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--dark-4);
    transition: var(--transition);
}
.case-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.case-card-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.case-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(26,26,26,0.9));
}
.case-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--dark);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}
.case-card-body {
    padding: 15px;
}
.case-card-body h3 {
    font-size: 15px;
    color: var(--white);
    margin-bottom: 6px;
}
.case-card-body p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 {
    color: var(--dark);
    font-size: 30px;
    margin-bottom: 10px;
}
.cta-section p {
    color: var(--dark-3);
    font-size: 16px;
    margin-bottom: 25px;
}
.cta-section .btn-dark {
    display: inline-block;
    background: var(--dark);
    color: var(--gold);
    padding: 12px 36px;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 16px;
    transition: var(--transition);
}
.cta-section .btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); color: var(--gold); }

/* Breadcrumb */
.breadcrumb {
    background: var(--dark-2);
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-4);
}
.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* Article Hero */
.article-hero {
    height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(26,26,26,0.95));
}
.article-hero-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}
.article-hero-content h1 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 10px;
}
.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray);
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

/* News Page Layout */
.news-page-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}
.news-list-grid-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.news-list-card {
    background: var(--dark-3);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--dark-4);
    transition: var(--transition);
}
.news-list-card:hover { border-color: var(--gold); }
.news-list-card .card-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.news-list-card .card-body {
    padding: 15px;
}
.news-list-card .card-body h3 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.5;
}
.news-list-card .card-body p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}
.news-list-card .card-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: var(--gray);
}

/* Sidebar */
.sidebar {}
.sidebar-widget {
    background: var(--dark-3);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid var(--dark-4);
}
.sidebar-widget h3 {
    font-size: 16px;
    color: var(--white);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    margin-bottom: 15px;
}
.sidebar-search {
    display: flex;
    gap: 8px;
}
.sidebar-search input {
    flex: 1;
    padding: 10px 12px;
    background: var(--dark);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 14px;
    outline: none;
}
.sidebar-search input:focus { border-color: var(--gold); }
.sidebar-search button {
    padding: 10px 18px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    font-weight: bold;
    cursor: pointer;
}
.sidebar-categories li {
    list-style: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--dark-4);
    font-size: 14px;
}
.sidebar-categories li:last-child { border-bottom: none; }
.sidebar-categories a { color: var(--text-light); }
.sidebar-categories a:hover { color: var(--gold); }
.sidebar-categories .count {
    float: right;
    background: var(--dark);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--gray);
}
}
.sidebar-hot-list .hot-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--dark-4);
}
.sidebar-hot-list .hot-item:last-child { border-bottom: none; }
.sidebar-hot-list .hot-num {
    font-family: Georgia, serif;
    font-size: 18px;
    color: var(--gold);
    font-weight: bold;
    min-width: 25px;
}
.sidebar-hot-list .hot-title {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}
.sidebar-hot-list .hot-title:hover { color: var(--gold); }

/* Article Content */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}
.article-content {
    background: var(--dark-3);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--dark-4);
}
.article-content h1 {
    font-size: 26px;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.4;
}
.article-content .article-meta {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--dark-4);
}
.article-body {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 15px;
}
.article-body h3 {
    font-size: 20px;
    color: var(--white);
    margin: 25px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--gold);
}
.article-body h4 {
    font-size: 17px;
    color: var(--gold);
    margin: 20px 0 10px;
}
.article-body p {
    margin-bottom: 15px;
}
.article-body ul, .article-body ol {
    margin: 10px 0 15px 20px;
}
.article-tags {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--dark-4);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.article-tags span { color: var(--gray); font-size: 14px; }
.article-tags a {
    display: inline-block;
    padding: 3px 12px;
    background: var(--dark);
    border: 1px solid var(--dark-4);
    border-radius: 4px;
    font-size: 13px;
    color: var(--gray);
}
.article-tags a:hover { border-color: var(--gold); color: var(--gold); }

/* Related News */
.related-news {
    margin-top: 30px;
}
.related-news h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.related-item {
    display: flex;
    gap: 12px;
}
.related-item .rel-thumb {
    width: 100px;
    height: 80px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.related-item .rel-info h4 {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-item .rel-info .date {
    font-size: 12px;
    color: var(--gray);
}

/* Service Detail */
.service-detail-hero {
    height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.85), rgba(26,26,26,0.75));
}
.service-detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.service-detail-hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}
.service-detail-hero-content p {
    font-size: 16px;
    color: var(--gray-light);
}
.service-detail-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}
.service-detail-body h3 {
    font-size: 22px;
    color: var(--white);
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 3px solid var(--gold);
}
.service-detail-body h4 {
    font-size: 18px;
    color: var(--gold);
    margin: 20px 0 10px;
}
.service-detail-body p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 12px;
}

/* About Page */
.about-page-hero {
    height: 300px;
    background: linear-gradient(135deg, var(--dark), var(--dark-3));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.about-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}
.about-page-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 38px;
    color: var(--white);
}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-form {
    background: var(--dark-3);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--dark-4);
}
.contact-form h2 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    background: var(--dark);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
}
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 12px 36px;
    border: none;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-submit:hover { background: var(--gold-light); }

.contact-info-box {
    background: var(--dark-3);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--dark-4);
}
.contact-info-box h2 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 20px;
}
.info-list li {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-4);
    align-items: flex-start;
}
.info-list li:last-child { border-bottom: none; }
.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(201,169,97,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 20px;
    flex-shrink: 0;
}
.info-text strong {
    color: var(--white);
    display: block;
    margin-bottom: 3px;
}
.info-text span {
    color: var(--gray);
    font-size: 14px;
}
.map-placeholder {
    width: 100%;
    height: 200px;
    background-image: url('../images/map.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.map-placeholder::after {
    content: '地图加载区域';
    color: var(--gray);
    font-size: 14px;
    background: rgba(26,26,26,0.8);
    padding: 8px 20px;
    border-radius: 4px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.page-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--dark-3);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}
.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-btn.current { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.page-info { color: var(--gray); font-size: 13px; }

/* Alert */
.alert {
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success { background: rgba(72,187,120,0.15); color: #48bb78; border: 1px solid rgba(72,187,120,0.3); }
.alert-danger { background: rgba(245,101,101,0.15); color: #f56565; border: 1px solid rgba(245,101,101,0.3); }
.alert-warning { background: rgba(237,137,54,0.15); color: #ed8936; border: 1px solid rgba(237,137,54,0.3); }

/* ===================================================
   Admin Panel
   =================================================== */
.admin-body {
    background: #f0f2f5;
    color: #333;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}
.admin-login-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.admin-login-box h1 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 24px;
}
.admin-login-box .subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 30px;
    font-size: 14px;
}
.admin-login-box .form-group { margin-bottom: 20px; }
.admin-login-box .form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}
.admin-login-box .form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}
.admin-login-box .form-group input:focus { border-color: #c9a961; }
.btn-admin-login {
    width: 100%;
    padding: 12px;
    background: #c9a961;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-admin-login:hover { background: #b89a52; }

.admin-layout {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 220px;
    background: #1a1a1a;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}
.admin-sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}
.admin-sidebar-header h2 {
    font-size: 18px;
    color: #c9a961;
}
.admin-sidebar-header p {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.admin-nav {
    padding: 10px 0;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.admin-nav a:hover { background: rgba(201,169,97,0.1); color: #c9a961; }
.admin-nav a.active {
    background: rgba(201,169,97,0.15);
    color: #c9a961;
    border-left-color: #c9a961;
}
.admin-main {
    flex: 1;
    margin-left: 220px;
    padding: 20px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.admin-header h2 { font-size: 18px; color: #333; }
.admin-header .admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}
.admin-header .btn-logout {
    padding: 6px 14px;
    background: #f56565;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
}
.admin-header .btn-logout:hover { background: #e53e3e; color: #fff; }

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.stat-card .stat-num {
    font-size: 36px;
    font-weight: bold;
    font-family: Georgia, serif;
}
.stat-card .stat-num.gold { color: #c9a961; }
.stat-card .stat-num.blue { color: #4299e1; }
.stat-card .stat-num.green { color: #48bb78; }
.stat-card .stat-num.red { color: #f56565; }
.stat-card .stat-label {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

/* Admin Table */
.admin-table-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.admin-table-header h3 {
    font-size: 16px;
    color: #333;
}
.btn-add {
    display: inline-block;
    padding: 8px 18px;
    background: #c9a961;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
}
.btn-add:hover { background: #b89a52; color: #fff; }

table.admin-table {
    width: 100%;
    border-collapse: collapse;
}
table.admin-table th {
    background: #f8f9fa;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
    color: #666;
    border-bottom: 2px solid #eee;
}
table.admin-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
table.admin-table tr:hover { background: #fafafa; }
table.admin-table .actions { white-space: nowrap; }
table.admin-table .actions a,
table.admin-table .actions button {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 5px;
    border-radius: 4px;
    font-size: 12px;
    border: none;
    cursor: pointer;
}
.btn-edit { background: #4299e1; color: #fff; }
.btn-edit:hover { background: #3182ce; color: #fff; }
.btn-delete { background: #f56565; color: #fff; }
.btn-delete:hover { background: #e53e3e; color: #fff; }
.btn-view { background: #48bb78; color: #fff; }
.btn-view:hover { background: #38a169; color: #fff; }
.btn-read { background: #ed8936; color: #fff; }
.btn-read:hover { background: #dd6b20; color: #fff; }

/* Admin Form */
.admin-form {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.admin-form h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c9a961;
}
.admin-form .form-group { margin-bottom: 18px; }
.admin-form .form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    font-weight: bold;
}
.admin-form .form-group input[type="text"],
.admin-form .form-group input[type="password"],
.admin-form .form-group input[type="email"],
.admin-form .form-group textarea,
.admin-form .form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}
.admin-form .form-group input:focus,
.admin-form .form-group textarea:focus,
.admin-form .form-group select:focus { border-color: #c9a961; }
.admin-form .form-group textarea { height: 200px; resize: vertical; }
.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.btn-save {
    display: inline-block;
    padding: 10px 30px;
    background: #c9a961;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-save:hover { background: #b89a52; }
.btn-cancel {
    display: inline-block;
    padding: 10px 30px;
    background: #eee;
    color: #666;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    margin-left: 10px;
}
.btn-cancel:hover { background: #ddd; }

/* Message unread indicator */
.unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #f56565;
    border-radius: 50%;
    margin-right: 5px;
}
.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}
.status-unread { background: #fed7d7; color: #c53030; }
.status-read { background: #c6f6d5; color: #276749; }

/* ===================================================
   Footer
   =================================================== */
.site-footer {
    background: #111;
    color: #ccc;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold, #c9a961);
}
.footer-logo .logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #999;
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold, #c9a961);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-col ul li a:hover {
    color: var(--gold, #c9a961);
}
.footer-contact li {
    font-size: 14px;
    line-height: 1.8;
}
.footer-contact li strong {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .news-list-grid { grid-template-columns: repeat(3, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .process-step::after { display: none; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 15px;
        border-bottom: 2px solid var(--gold);
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .header-right { display: none; }

    .hero-section { height: 400px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; }

    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .news-list-grid { grid-template-columns: 1fr; }
    .news-featured { grid-template-columns: 1fr; }
    .news-list-grid-page { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-intro-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .news-page-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .admin-sidebar {
        position: fixed;
        left: -220px;
        transition: left 0.3s;
    }
    .admin-sidebar.open { left: 0; }
    .admin-main { margin-left: 0; }
    .stats-grid { grid-template-columns: 1fr; }
    .admin-form .form-row { grid-template-columns: 1fr; }

    .top-bar-left .top-email { display: none; }
}

@media (max-width: 480px) {
    .hero-section { height: 350px; }
    .hero-content h1 { font-size: 22px; }
    .about-stats { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .process-steps { grid-template-columns: 1fr; }
}
