:root {
  --bg: #f6f8fc;
  --panel: #ffffff;
  --text: #162033;
  --muted: #627089;
  --line: rgba(22, 32, 51, 0.12);
  --brand: #ff6b35;
  --brand-2: #1f6feb;
  --accent: #11a683;
  --shadow: 0 24px 70px rgba(16, 34, 68, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 53, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.10), transparent 24%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 248, 252, 0.92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.topbar { background: linear-gradient(90deg, var(--brand), #ff8f5a); color: #fff; font-size: 13px; }
.topbar-inner, .nav-wrap, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-meta, .main-nav, .hero-actions, .feature-band { display: flex; align-items: center; gap: 18px; }
.topbar-inner { min-height: 40px; }
.nav-wrap { min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow); }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-text strong { font-size: 20px; }
.brand-text em { font-style: normal; color: var(--muted); font-size: 12px; }
.main-nav a { padding: 10px 0; position: relative; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px; border-radius: 999px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: transform .25s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; }
.hero-block, .section-block { padding: 56px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.hero-copy h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; margin: 12px 0 18px; }
.eyebrow { color: var(--brand-2); font-weight: 700; letter-spacing: .16em; font-size: 12px; }
.hero-copy p, .show-body p, .news-copy p, .prose-block, .meta-card p, .result-card p { color: var(--muted); line-height: 1.8; }
.hero-panel { display: grid; gap: 18px; }
.metric-card, .show-card, .row-card, .meta-card, .result-card, .news-row, .prose-block, .video-box, .footer-qrcode, .feature-band article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.metric-card { padding: 28px; }
.metric-card strong { display: block; font-size: 40px; margin-bottom: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 136px; padding: 14px 22px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.btn-outline { border-color: var(--line); background: rgba(255,255,255,.7); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head span { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; }
.section-head h2, .banner-simple h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); }
.card-grid { display: grid; gap: 22px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.show-card, .row-card, .result-card, .news-row { overflow: hidden; }
.show-thumb, .detail-hero, .gallery-item, .row-thumb { min-height: 220px; display: grid; place-items: center; background: rgba(255,255,255,.6); }
.show-body, .row-body, .result-card, .news-copy, .meta-card, .prose-block, .feature-band article { padding: 24px; }
.show-body h3, .row-body h3, .result-card h3, .news-copy h3 { margin: 0 0 12px; font-size: 22px; }
.show-body a, .row-body a, .news-copy a, .result-card a { color: var(--brand-2); font-weight: 700; }
.news-stack, .list-stack { display: grid; gap: 18px; }
.news-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; }
.news-date { display: grid; place-items: center; padding: 22px; background: linear-gradient(180deg, rgba(31,111,235,.08), rgba(255,107,53,.10)); }
.news-date strong { font-size: 34px; }
.muted-block { background: rgba(255,255,255,.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-band { gap: 20px; }
.feature-band article { flex: 1; }
.banner-simple { padding: 72px 0 32px; }
.split-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.video-box, .footer-qrcode { display: grid; place-items: center; min-height: 280px; font-weight: 800; color: var(--brand-2); background: linear-gradient(135deg, rgba(31,111,235,.12), rgba(17,166,131,.12)); }
.footer-qrcode.large { min-height: 200px; }
.footer-qrcode img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.form-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.92); font: inherit; }
.form-message { min-height: 20px; }
.msg-success, .msg-error { margin-top: 10px; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.msg-success { background: #dcfce7; color: #166534; }
.msg-error { background: #fef2f2; color: #b91c1c; }
.guestbook-list { margin-top: 18px; display: grid; gap: 14px; }
.guestbook-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-align: left; }
.guestbook-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.guestbook-item-head span { color: var(--muted); font-size: 12px; }
.guestbook-item-title { color: var(--brand-2); font-weight: 700; margin-bottom: 8px; }
.guestbook-item-content { color: var(--text); line-height: 1.8; }
.guestbook-item-reply { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #f0fdf4; color: #166534; line-height: 1.8; }
.guestbook-empty { padding: 24px; border-radius: 16px; background: rgba(255,255,255,.72); color: var(--muted); }
.no-pic { color: var(--muted); font-size: 14px; }
.site-footer { padding: 52px 0 24px; background: #0f1728; color: #dbe3f3; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.site-footer h3 { margin-top: 0; color: #fff; }
.site-footer a { color: #dbe3f3; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(219,227,243,.12); font-size: 13px; }
.gradient-1 { background: linear-gradient(135deg, #ffd6c7, #fff0d6); }
.gradient-2 { background: linear-gradient(135deg, #d9e7ff, #d5fff4); }
.gradient-3 { background: linear-gradient(135deg, #ffe8d1, #ffd8ef); }
.gradient-4 { background: linear-gradient(135deg, #d7f2db, #e1efff); }
@media (max-width: 1024px) { .hero-grid, .split-layout, .form-layout, .cols-4, .cols-3, .footer-grid, .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .nav-wrap { flex-wrap: wrap; }
  .main-nav { width: 100%; display: none; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 0 6px; }
  .main-nav.is-open { display: flex; }
  .hero-grid, .split-layout, .form-layout, .cols-4, .cols-3, .footer-grid, .gallery-grid, .news-row { grid-template-columns: 1fr; }
  .topbar-inner, .topbar-meta, .hero-actions, .feature-band, .footer-bottom, .guestbook-item-head { flex-direction: column; align-items: flex-start; }
  .hero-block, .section-block { padding: 40px 0; }
  .show-thumb, .detail-hero, .gallery-item, .row-thumb, .video-box { min-height: 200px; }
  .brand-logo { width: 56px; height: 56px; }
}
