/* ==================== 基础变量与重置 ==================== */
:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --primary-dark: #0f2440;
    --accent: #c8a45c;
    --accent-light: #e0c080;
    --text: #2c3e50;
    --text-light: #6b7b8d;
    --bg: #ffffff;
    --bg-alt: #f8f9fb;
    --bg-dark: #0f1923;
    --border: #e8ecf1;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 32px; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px; font-weight: 700; color: #fff;
    transition: color 0.4s;
}
.logo-sub { font-size: 10px; color: rgba(255,255,255,0.7); letter-spacing: 2px; transition: color 0.4s; }
.navbar.scrolled .logo-main { color: var(--primary); }
.navbar.scrolled .logo-sub { color: var(--text-light); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 400;
    position: relative; transition: color 0.3s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--text); }
.nav-cta {
    background: var(--accent) !important; color: #fff !important;
    padding: 8px 24px !important; border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(200,164,92,0.4); }
.nav-cta::after { display: none !important; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
.navbar.scrolled .hamburger span { background: var(--text); }

/* ==================== Hero 首屏 ==================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; text-align: center; overflow: hidden;
    background: linear-gradient(135deg, #0f1923 0%, #1a3a5c 50%, #2a5a8c 100%);
}
.hero-bg {
    position: absolute; inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(200,164,92,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(42,90,140,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(200,164,92,0.1) 0%, transparent 50%);
}
.hero-particles { position: absolute; inset: 0; }
.hero-particles .particle {
    position: absolute; width: 4px; height: 4px;
    background: rgba(200,164,92,0.4); border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}
@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(30px, -40px) scale(1.5); opacity: 0.8; }
    50% { transform: translate(-20px, -80px) scale(1); opacity: 0.4; }
    75% { transform: translate(40px, -40px) scale(1.3); opacity: 0.6; }
}

.hero-content { position: relative; z-index: 2; padding: 0 24px; }
.hero-badge {
    display: inline-block; padding: 8px 28px; border: 1px solid rgba(200,164,92,0.5);
    border-radius: 30px; color: var(--accent-light); font-size: 14px;
    letter-spacing: 3px; margin-bottom: 32px;
    background: rgba(200,164,92,0.08);
}
.hero-title {
    font-family: 'Noto Serif SC', serif;
    color: #fff; margin-bottom: 24px;
}
.hero-title span {
    display: block; font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900; line-height: 1.3; letter-spacing: 4px;
}
.hero-title span:last-child { color: var(--accent-light); }
.hero-desc {
    color: rgba(255,255,255,0.75); font-size: 17px;
    line-height: 1.8; margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 40px; border-radius: 8px; font-size: 16px;
    font-weight: 500; cursor: pointer; border: none;
    transition: all 0.3s ease; letter-spacing: 1px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff; box-shadow: 0 4px 20px rgba(200,164,92,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(200,164,92,0.5); }
.btn-outline {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.hero-stats {
    display: flex; gap: 48px; justify-content: center;
    padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { text-align: center; }
.stat-num {
    font-family: 'Noto Serif SC', serif;
    font-size: 36px; font-weight: 900; color: var(--accent-light);
}
.stat-plus { font-size: 20px; color: var(--accent); font-weight: 700; }
.stat-label { display: block; color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 4px; }

.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    text-align: center; color: rgba(255,255,255,0.5); font-size: 12px;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-arrow {
    width: 20px; height: 20px; margin: 8px auto 0;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== 动画类 ==================== */
.animate-fade-up {
    opacity: 0; transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-40px); }
.reveal-left.active { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.active { transform: translateX(0); }

/* ==================== Section 通用 ==================== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; font-size: 12px; letter-spacing: 4px;
    color: var(--accent); font-weight: 500; margin-bottom: 12px;
    text-transform: uppercase;
}
.section-tag.light { color: var(--accent-light); }
.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-dark); font-weight: 700;
}
.section-line {
    width: 60px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 16px auto 0; border-radius: 2px;
}
.section-desc {
    color: var(--text-light); font-size: 16px; margin-top: 16px;
    max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ==================== 关于我们 ==================== */
.about { background: var(--bg-alt); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-img-wrapper {
    position: relative; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
    width: 100%; height: 420px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; font-size: 20px; font-weight: 600;
}
.building-icon { font-size: 64px; }
.about-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15,36,64,0.6) 100%);
}
.about-exp-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff; padding: 20px 28px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); text-align: center;
}
.exp-num { display: block; font-size: 32px; font-weight: 900; font-family: 'Noto Serif SC', serif; }
.exp-text { font-size: 13px; }

.about-content h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px; color: var(--primary-dark); margin-bottom: 16px;
}
.about-lead {
    font-size: 17px; color: var(--accent); font-weight: 500; margin-bottom: 16px;
}
.about-content p {
    color: var(--text-light); font-size: 15px; margin-bottom: 12px; line-height: 1.8;
}
.about-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px;
}
.about-feature {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; background: #fff; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.feature-icon {
    width: 24px; height: 24px; background: var(--accent);
    color: #fff; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 12px; flex-shrink: 0;
}

/* ==================== 业务领域 ==================== */
.services-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
    position: relative; background: #fff; padding: 36px 28px;
    border-radius: var(--radius); border: 1px solid var(--border);
    transition: all var(--transition); overflow: hidden; cursor: default;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.service-icon { font-size: 40px; margin-bottom: 20px; transition: transform 0.4s; }
.service-card:hover .service-icon { transform: scale(1.15) rotate(-5deg); }
.service-card h3 {
    font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px;
}
.service-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }
.service-hover {
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0); transition: transform 0.4s;
}
.service-card:hover .service-hover { transform: scaleX(1); }

/* ==================== 经典案例 ==================== */
.cases { background: var(--bg-alt); }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card {
    position: relative; background: #fff; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border);
    transition: all var(--transition);
}
.case-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.case-badge {
    display: inline-block; padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; font-size: 13px; font-weight: 500; letter-spacing: 1px;
}
.case-content { padding: 24px 28px; }
.case-content h3 {
    font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px;
}
.case-content p {
    color: var(--text-light); font-size: 14px; line-height: 1.8; margin-bottom: 16px;
}
.case-result {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; background: rgba(200,164,92,0.08);
    border-radius: 8px; border-left: 3px solid var(--accent);
}
.result-label {
    font-size: 12px; color: var(--accent); font-weight: 600;
    white-space: nowrap;
}
.result-value { font-size: 14px; color: var(--primary); font-weight: 600; }

/* ==================== 免费咨询 ==================== */
.consult {
    background: linear-gradient(135deg, #0f1923 0%, #1a3a5c 100%);
    position: relative; overflow: hidden;
}
.consult::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(200,164,92,0.1), transparent 70%);
}
.consult-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    position: relative; z-index: 2;
}
.consult-info h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #fff; margin: 12px 0 16px;
}
.consult-lead { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 32px; }
.consult-benefits { display: flex; flex-direction: column; gap: 20px; }
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
    width: 48px; height: 48px; background: rgba(200,164,92,0.15);
    border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 22px; flex-shrink: 0;
}
.benefit-item h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.benefit-item p { color: rgba(255,255,255,0.6); font-size: 14px; }

.consult-form-wrapper {
    background: #fff; border-radius: 16px; padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.consult-form h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 22px; color: var(--primary-dark); margin-bottom: 28px; text-align: center;
}
.form-group { position: relative; margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 14px; font-weight: 500;
    color: var(--text); margin-bottom: 6px;
}
.required { color: #e74c3c; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px 12px 42px;
    border: 1.5px solid var(--border); border-radius: 8px;
    font-size: 15px; font-family: inherit; color: var(--text);
    background: var(--bg-alt); transition: all 0.3s;
    outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent); background: #fff;
    box-shadow: 0 0 0 4px rgba(200,164,92,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-icon {
    position: absolute; left: 14px; top: 38px; font-size: 16px;
    opacity: 0.5; pointer-events: none;
}

.btn-submit {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; font-size: 16px; font-weight: 600;
    border: none; border-radius: 8px; cursor: pointer;
    transition: all 0.3s; letter-spacing: 2px; margin-top: 8px;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,58,92,0.4);
}
.btn-submit:disabled {
    opacity: 0.7; cursor: not-allowed; transform: none;
}
.form-tip {
    text-align: center; font-size: 12px; color: var(--text-light);
    margin-top: 16px;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 60px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-main { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
    color: #fff; font-size: 16px; margin-bottom: 20px;
}
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact li { font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    padding: 20px 0; text-align: center; font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px;
    background: var(--primary); color: #fff; border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden;
    transition: all 0.3s; z-index: 999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ==================== Toast ==================== */
.toast {
    position: fixed; top: 24px; right: 24px; z-index: 9999;
    padding: 16px 28px; border-radius: 10px;
    background: #fff; color: var(--text);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transform: translateX(120%); transition: transform 0.4s ease;
    font-size: 15px; max-width: 360px;
    border-left: 4px solid var(--accent);
}
.toast.show { transform: translateX(0); }
.toast.success { border-left-color: #27ae60; }
.toast.error { border-left-color: #e74c3c; }

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .consult-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 24px; gap: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }
    .nav-links.active a { color: var(--text) !important; }
    .hamburger { display: flex; }
    
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .stat-item { flex: 0 0 calc(50% - 12px); }
    .stat-num { font-size: 28px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 200px; }
    
    .section { padding: 60px 0; }
    .consult-form-wrapper { padding: 28px; }
}
