* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #c9a96e;
    --gold-l: #e8d5a3;
    --gold-d: #a08456;
    --ink: #0a0a0a;
    --ink-1: #121212;
    --ink-2: #181818;
    --ink-3: #222;
    --line: rgba(201, 169, 110, 0.12);
    --line-h: rgba(201, 169, 110, 0.3);
    --tx: #f0ede8;
    --tx-2: #b8b5b0;
    --tx-3: #6e6b66;
    --serif: "Noto Serif SC", serif;
    --sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--ink);
    color: var(--tx);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: all 0.4s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--line);
}
.nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 48px;
    height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold); letter-spacing: 4px; }
.brand-en { font-size: 9px; color: var(--tx-3); letter-spacing: 3px; text-transform: uppercase; }
.nav-links { display: flex; gap: 36px; }
.nl { font-size: 14px; color: var(--tx-2); letter-spacing: 1px; position: relative; transition: color 0.3s; }
.nl::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s; }
.nl:hover, .nl.active { color: var(--gold); }
.nl:hover::after, .nl.active::after { width: 100%; }
.nav-cta {
    padding: 8px 22px; border: 1px solid var(--line-h); color: var(--gold);
    font-size: 13px; letter-spacing: 1px; border-radius: 2px; transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.nav-burger { display: none; width: 28px; height: 28px; background: none; border: none; cursor: pointer; position: relative; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
    content: ''; position: absolute; width: 24px; height: 1px; background: var(--gold);
    transition: all 0.3s;
}
.nav-burger span { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.nav-burger span::before { top: -8px; left: 0; }
.nav-burger span::after { top: 8px; left: 0; }

/* ===== HERO ===== */
.hero {
    height: 100vh; min-height: 640px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.hero-glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
}
.hero-grid {
    position: absolute; inset: 0; opacity: 0.4;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 0%, transparent 80%);
}
.hero-text { text-align: center; z-index: 1; padding: 0 24px; }
.hero-eyebrow {
    font-size: 13px; color: var(--gold); letter-spacing: 6px; margin-bottom: 28px;
    text-transform: uppercase; opacity: 0; animation: fadeUp 1s 0.2s forwards;
}
.hero-h1 {
    font-family: var(--serif); font-size: 64px; font-weight: 700; color: var(--tx);
    letter-spacing: 8px; margin-bottom: 0; opacity: 0; animation: fadeUp 1s 0.4s forwards;
}
.hero-divider {
    width: 48px; height: 2px; background: var(--gold); margin: 28px auto;
    opacity: 0; animation: fadeUp 1s 0.6s forwards;
}
.hero-slogan {
    font-size: 18px; color: var(--gold-l); letter-spacing: 4px; margin-bottom: 14px;
    opacity: 0; animation: fadeUp 1s 0.8s forwards;
}
.hero-sub {
    font-size: 15px; color: var(--tx-3); letter-spacing: 2px;
    opacity: 0; animation: fadeUp 1s 1s forwards;
}
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 1px; height: 40px; background: var(--line-h);
}
.hero-scroll span {
    position: absolute; top: 0; left: -2px; width: 5px; height: 5px;
    background: var(--gold); border-radius: 50%; animation: scrollDot 2s infinite;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollDot { 0% { top: 0; opacity: 1; } 100% { top: 40px; opacity: 0; } }

/* ===== STATS ===== */
.stats-bar {
    background: var(--ink-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 48px 0;
}
.stats-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 48px;
    display: flex; align-items: center; justify-content: center; gap: 0;
}
.stat { text-align: center; flex: 1; }
.stat-num { display: block; font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--gold); letter-spacing: 2px; }
.stat-label { display: block; font-size: 13px; color: var(--tx-3); letter-spacing: 2px; margin-top: 8px; }
.stat-divider { width: 1px; height: 48px; background: var(--line); }

/* ===== SECTION ===== */
.sec { padding: 100px 48px; max-width: 1280px; margin: 0 auto; }
.sec-alt { background: var(--ink-1); max-width: 100%; padding-left: 48px; padding-right: 48px; }
.sec-alt > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-eyebrow { font-size: 12px; color: var(--gold-d); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 16px; }
.sec-h2 { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--tx); letter-spacing: 4px; }
.sec-alt .sec-h2 { color: var(--gold-l); }

/* ===== ADV ===== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.adv-item {
    position: relative; padding: 48px 32px; background: var(--ink-1);
    border: 1px solid var(--line); transition: all 0.4s;
}
.adv-item::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0; height: 1px;
    background: var(--gold); transition: width 0.5s;
}
.adv-item:hover { border-color: var(--line-h); transform: translateY(-6px); background: var(--ink-2); }
.adv-item:hover::before { width: 100%; }
.adv-num {
    font-family: var(--serif); font-size: 56px; font-weight: 700;
    color: rgba(201, 169, 110, 0.1); line-height: 1; display: block; margin-bottom: 24px;
    transition: color 0.4s;
}
.adv-item:hover .adv-num { color: rgba(201, 169, 110, 0.2); }
.adv-item h3 { font-family: var(--serif); font-size: 22px; color: var(--tx); margin-bottom: 16px; letter-spacing: 2px; }
.adv-item p { font-size: 14px; color: var(--tx-3); line-height: 1.9; }

/* ===== SVC ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-item {
    position: relative; padding: 40px 36px; background: var(--ink-2);
    border: 1px solid var(--line); transition: all 0.4s; overflow: hidden;
}
.svc-bar {
    position: absolute; left: 0; top: 0; width: 3px; height: 0;
    background: var(--gold); transition: height 0.4s;
}
.svc-item:hover { border-color: var(--line-h); transform: translateX(4px); }
.svc-item:hover .svc-bar { height: 100%; }
.svc-item h3 { font-family: var(--serif); font-size: 20px; color: var(--gold-l); margin-bottom: 16px; letter-spacing: 2px; }
.svc-item p { font-size: 14px; color: var(--tx-2); line-height: 1.9; }

/* ===== NEWS / CASES ===== */
.news-grid, .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card, .case-card {
    padding: 32px; background: var(--ink-1); border: 1px solid var(--line);
    transition: all 0.4s; cursor: pointer;
}
.news-card:hover, .case-card:hover { border-color: var(--line-h); transform: translateY(-4px); }
.news-date, .case-date { font-size: 12px; color: var(--gold-d); letter-spacing: 2px; margin-bottom: 16px; }
.news-card h3, .case-card h3 { font-family: var(--serif); font-size: 18px; color: var(--tx); margin-bottom: 12px; line-height: 1.5; }
.news-card p, .case-card p { font-size: 14px; color: var(--tx-3); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-cat { display: inline-block; font-size: 11px; color: var(--gold); border: 1px solid var(--line-h); padding: 2px 10px; border-radius: 2px; margin-bottom: 12px; letter-spacing: 1px; }
.empty-state { grid-column: 1/-1; text-align: center; color: var(--tx-3); padding: 60px; font-size: 14px; }

/* ===== FOOTER ===== */
.footer { background: var(--ink-1); border-top: 1px solid var(--line); }
.footer-top {
    max-width: 1280px; margin: 0 auto; padding: 72px 48px 48px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.ft-brand h3 { font-family: var(--serif); font-size: 22px; color: var(--gold); margin-bottom: 16px; letter-spacing: 2px; }
.ft-desc { font-size: 14px; color: var(--tx-3); line-height: 2; }
.ft-contact { display: flex; flex-direction: column; gap: 20px; }
.fc-item { display: flex; align-items: baseline; gap: 16px; }
.fc-label { font-size: 13px; color: var(--gold-d); letter-spacing: 2px; min-width: 40px; }
.fc-item span:last-child { font-size: 14px; color: var(--tx-2); }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 48px; text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--tx-3); letter-spacing: 1px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-grid, .news-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-inner { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-burger { display: block; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink-1); padding: 24px; gap: 20px; border-bottom: 1px solid var(--line); }
    .hero-h1 { font-size: 36px; letter-spacing: 4px; }
    .stats-inner { flex-wrap: wrap; gap: 24px; }
    .stat-divider { display: none; }
    .stat { flex: 1 1 40%; }
    .sec { padding: 64px 24px; }
    .sec-alt { padding: 64px 24px; }
    .adv-grid, .svc-grid, .news-grid, .case-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
    .sec-h2 { font-size: 28px; }
}
