* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2a4a30;
    --primary-light: #3a6240;
    --gold: #a8893d;
    --gold-light: #c4a35a;
    --ink: #1a1f1c;
    --bg-warm: #fbf9f4;
    --bg-section: #f3efe6;
    --text-dark: #242924;
    --text-body: #4a524a;
    --text-muted: #8a908a;
    --border-color: #e4ddd0;
    --shadow-sm: 0 2px 8px rgba(36, 41, 36, 0.06);
    --shadow-md: 0 8px 32px rgba(36, 41, 36, 0.08);
    --shadow-lg: 0 16px 48px rgba(36, 41, 36, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --font-cn: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
    --font-display: "Songti SC", "SimSun", "STSong", serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-cn);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    background: var(--bg-warm);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1300px;
}

.container-narrow {
    max-width: 900px;
}

/* 暂时隐藏邮箱（联系页、页脚）；恢复展示时去掉 .site-email-field 规则并移除 HTML 上的 hidden */
.site-email-field {
    display: none !important;
}

.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 50px 0;
}

.section-bg {
    background: var(--bg-section);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.section-line {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 36px;
    border-radius: 2px;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-cn);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 4px 16px rgba(45, 80, 22, 0.3);
    transform: translateY(-1px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.btn-gold:hover {
    background: var(--gold-light);
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
    transform: translateY(-1px);
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.text-muted {
    color: var(--text-muted);
}

.loading {
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
    font-size: 15px;
    letter-spacing: 1px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 头部导航 ========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

#header.scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: clamp(15px, 3.6vw, 20px);
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.12em;
}

.logo-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(52vw, 420px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, var(--primary) 0%, #1e3220 55%, var(--gold) 160%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0;
    box-shadow: 0 4px 14px rgba(42, 74, 48, 0.25);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav ul li a {
    display: block;
    padding: 8px 20px;
    font-size: 15px;
    color: var(--text-body);
    letter-spacing: 1px;
    border-radius: 2px;
    transition: var(--transition);
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: var(--primary);
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: var(--radius);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 1px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== 底部 ========== */
#footer {
    background: linear-gradient(180deg, #141816 0%, #0f1210 100%);
    color: #b8bdb8;
    padding: 56px 0 28px;
    font-family: var(--font-cn);
}

.footer-main {
    max-width: 520px;
    margin: 0 auto 36px;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-mark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--primary));
    box-shadow: 0 0 0 3px rgba(200, 168, 90, 0.2);
    flex-shrink: 0;
}

.footer-brand h3 {
    font-size: 20px;
    color: #f2f4f2;
    margin: 0;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.footer-contact p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 10px;
    color: #9aa29a;
    line-height: 1.75;
    font-size: 13px;
}

.footer-label {
    flex: 0 0 auto;
    min-width: 2.5em;
    color: #6d756d;
    letter-spacing: 0.08em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    text-align: center;
    color: #6d756d;
    font-size: 12px;
    letter-spacing: 0.15em;
}

.footer-beian {
    margin: 10px 0 0;
    letter-spacing: 0.05em;
}

.footer-beian a {
    color: #6d756d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-beian a:hover {
    color: #9aa29a;
}

/* ========== 滚动动画辅助 ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 面包屑 ========== */
.breadcrumb {
    padding: 100px 0 30px;
    background: var(--bg-section);
    text-align: center;
}

.breadcrumb h1 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.breadcrumb p {
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 1px;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    #header .container {
        min-height: 56px;
    }

    .logo-text {
        max-width: calc(100vw - 120px);
        letter-spacing: 0.06em;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(252, 251, 248, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateY(-120%);
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-md);
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        padding-bottom: 28px;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav ul {
        flex-direction: column;
        padding: 8px 0 12px;
        gap: 0;
    }

    .nav ul li a {
        padding: 16px 22px;
        font-size: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav ul li a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section-title {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .breadcrumb {
        padding: 80px 0 25px;
    }

    .breadcrumb h1 {
        font-size: 24px;
    }

    #footer {
        padding: 40px 0 24px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand-top {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
        text-align: left;
    }

}
