/* === RESET & BASE === */
* { 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; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: all 0.2s; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag { display: inline-block; font-size: 0.85rem; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; color: var(--dark); }
.section-header .view-all { font-size: 0.95rem; }
h1, h2, h3, h4 { font-weight: 700; }

/* === TOP BAR === */
.top-bar { background: #222; color: #ccc; font-size: 0.85rem; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-left span { margin-right: 16px; }
.top-right a { margin-left: 8px; color: #ccc; }
.top-right a.active { color: #fff; font-weight: 600; }

/* === NAVBAR === */
.navbar { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
.nav-inner { display: flex; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-badge { width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 0.8rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .zh { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.logo-text .en { font-size: 0.7rem; color: #666; }

/* === LOGO IMAGE === */
.logo-img {
  height: 48px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}
.logo-badge { display: none; }


.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 14px; font-size: 0.9rem; font-weight: 500; color: #444; border-radius: 6px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--light); }
.hamburger { display: none; background: none; border: none; box-shadow: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: 0.3s; }

/* === MOBILE MENU === */
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: #fff; padding: 16px; z-index: 9999; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu > a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; font-weight: 500; }

/* === BUTTONS === */
.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; transition: 0.2s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) { .nav-links { gap: 2px; } .nav-links a { padding: 8px 10px; font-size: 0.85rem; } .logo-text .en { display: none; } }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .top-left span:last-child { display: none; }
  .logo-text .zh { font-size: 0.85rem; }
  .logo-img { height: 36px; max-width: 220px; }
}

:root {
  --primary: #8B1A1A;
  --primary-dark: #5C0A0A;
  --dark: #1a1a1a;
  --light: #FFF8E7;
  --accent: #D4AF37;
}

/* HERO */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 60px 24px; color: #fff; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.2); padding: 6px 20px; border-radius: 20px; font-size: 0.9rem; font-weight: 500; margin-bottom: 20px; backdrop-filter: blur(10px); }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; max-width: 540px; }
.hero-btns { display: flex; gap: 12px; }
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { background: var(--light); transform: translateY(-2px); }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* STATS */
.stats { background: var(--dark); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; color: #fff; }
.stat-n { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-l { font-size: 0.9rem; opacity: 0.8; margin-top: 4px; }

/* ABOUT */
.about { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.section-tag { background: var(--light); color: var(--primary); }
.about-text h2 { font-size: 2rem; color: var(--dark); margin-bottom: 16px; line-height: 1.3; }
.about-text p { color: #555; margin-bottom: 12px; line-height: 1.8; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.feat { text-align: center; padding: 16px; background: #f8f8f8; border-radius: 8px; }
.feat-i { font-size: 2rem; margin-bottom: 8px; }
.feat h4 { font-size: 0.95rem; color: var(--dark); margin-bottom: 4px; }
.feat p { font-size: 0.8rem; color: #666; }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); }
.img-placeholder { background: linear-gradient(135deg, #f5f5f5, #e0e0e0); border-radius: 12px; height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.img-placeholder span { font-size: 3rem; opacity: 0.5; }
.img-placeholder p { color: #999; margin-top: 8px; }

/* NEWS */
.news { padding: 80px 0; background: #f8f9fa; }
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: 0.2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.news-img { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.news-img span { opacity: 0.6; }
.featured .news-img { min-height: 200px; }
.news-img.news-small { height: 140px; }
.news-body { padding: 20px; }
.news-meta { display: flex; gap: 12px; font-size: 0.8rem; margin-bottom: 8px; }
.news-meta .cat { color: var(--primary); font-weight: 600; }
.news-meta .date { color: #999; }
.news-body h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.news-body p { font-size: 0.85rem; color: #666; }
.featured .news-body h3 { font-size: 1.2rem; }
.read-more { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-top: 8px; display: inline-block; }
.view-all { color: var(--primary); font-weight: 500; font-size: 0.95rem; }

/* SERVICES */
.services { padding: 80px 0; }
.section-header.light { background: var(--dark); margin: 0; padding: 60px 24px; max-width: 100%; text-align: center; }
.section-header.light h2 { color: #fff; }
.section-tag.white { background: rgba(255,255,255,0.15); color: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: -60px auto 0; padding: 0 24px; position: relative; z-index: 1; }
.svc-card { background: #fff; padding: 32px 24px; border-radius: 12px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,0.08); transition: 0.2s; }
.svc-card:hover { transform: translateY(-4px); }
.svc-i { font-size: 2.5rem; margin-bottom: 16px; }
.svc-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 8px; }
.svc-card p { font-size: 0.85rem; color: #666; }

/* CTA */
.cta { padding: 80px 0; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); text-align: center; color: #fff; }
.cta h2 { font-size: 2rem; margin-bottom: 12px; }
.cta p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--light); }
.btn-outline-light { border: 2px solid #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--primary); }

/* FOOTER */
.footer { background: #1a1a1a; color: #ccc; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.f-about h4, .f-links h4, .f-contact h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.f-about p { font-size: 0.85rem; line-height: 1.8; margin-bottom: 8px; }
.f-links a { display: block; padding: 4px 0; font-size: 0.9rem; color: #ccc; }
.f-links a:hover { color: #fff; padding-left: 4px; }
.f-contact p { font-size: 0.85rem; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.8rem; }
.footer-bottom a { color: var(--primary); }

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .features { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .hero { min-height: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; margin-top: -40px; }
  .cta h2 { font-size: 1.5rem; }
  .cta-btns { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
