/* ==========================================================================
   臻爱道企服 — 公共样式（黑金高端风）
   所有页面共用；页面专属样式请见各页 <style> 或本文件对应区块
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0b0b0d;
  --panel: #121216;
  --gold: #d4af37;
  --gold-light: #f3dd8e;
  --champagne: #e8dcb8;
  --gray: #9a958a;
  --line: rgba(212, 175, 55, 0.22);
  --tr: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--champagne); overflow-x: hidden;
  font-family: "Songti SC", "SimSun", Georgia, serif; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.sans { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 92px 0; scroll-margin-top: var(--nav-h); }

.section-title { text-align: center; margin-bottom: 58px; }
.section-title .eyebrow { display: block; font-size: 0.8rem; letter-spacing: 8px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 14px; font-family: Georgia, serif; }
.section-title h2 { font-size: 2.2rem; font-weight: 600; letter-spacing: 6px; color: #f5f0e1; }
.section-title h2::after { content: "◆"; display: block; color: var(--gold); font-size: 0.7rem; margin-top: 16px; }

/* 导航：细金线 */
.navbar { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: rgba(11,11,13,0.88);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: 6px; color: #f5f0e1; }
.logo-mark { width: 34px; height: 34px; border: 1px solid var(--gold); transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center; }
.logo-mark i { transform: rotate(-45deg); color: var(--gold); font-style: normal; font-weight: 700; }
.nav-links { display: flex; gap: 36px; font-size: 0.95rem; letter-spacing: 3px; }
.nav-links a { color: var(--gray); position: relative; padding: 6px 0; transition: color var(--tr); }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: all var(--tr); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { left: 0; width: 100%; }
.nav-cta { border: 1px solid var(--gold); color: var(--gold) !important; padding: 9px 26px; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--gold); margin: 6px 0; }

/* 子页面顶部横幅 */
.page-hero { position: relative; padding: 168px 0 76px; text-align: center; overflow: hidden;
  background: radial-gradient(900px 420px at 50% -10%, rgba(212,175,55,0.16), transparent 60%), var(--black);
  border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; inset: 26px; border: 1px solid var(--line); pointer-events: none; }
.page-hero .eyebrow { display: block; font-size: 0.8rem; letter-spacing: 8px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 16px; font-family: Georgia, serif; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; letter-spacing: 8px; color: #f5f0e1; }
.page-hero .crumb { margin-top: 20px; color: var(--gray); font-size: 0.86rem; letter-spacing: 2px; }
.page-hero .crumb a:hover { color: var(--gold-light); }
.page-hero .crumb .sep { margin: 0 10px; color: var(--gold); opacity: 0.6; }

/* 首页板块入口卡片 */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.explore-card { display: block; background: var(--panel); border: 1px solid var(--line); padding: 52px 34px;
  text-align: center; transition: var(--tr); position: relative; }
.explore-card::before, .explore-card::after { content: ""; position: absolute; width: 22px; height: 22px;
  border-color: var(--gold); border-style: solid; transition: var(--tr); }
.explore-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.explore-card::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.explore-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.5); }
.explore-card:hover::before, .explore-card:hover::after { width: 44px; height: 44px; }
.explore-card .icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 20px; line-height: 1; }
.explore-card h3 { font-size: 1.3rem; letter-spacing: 3px; color: #f5f0e1; margin-bottom: 12px; }
.explore-card p { color: var(--gray); font-size: 0.94rem; margin-bottom: 24px; }
.explore-card .link { color: var(--gold); font-size: 0.84rem; letter-spacing: 3px; }
.explore-card:hover .link { color: var(--gold-light); }

/* 轮播：黑金大字居中 */
.carousel { position: relative; height: 100vh; max-height: 880px; min-height: 580px; overflow: hidden; }
.carousel:focus { outline: none; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; justify-content: center; text-align: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide-1 { background: radial-gradient(1000px 500px at 50% 110%, rgba(212,175,55,0.22), transparent 60%), var(--black); }
.slide-2 { background: radial-gradient(900px 460px at 50% -10%, rgba(212,175,55,0.18), transparent 60%), var(--black); }
.slide-3 { background: radial-gradient(1100px 520px at 50% 50%, rgba(140,120,60,0.16), transparent 65%), var(--black); }
/* 金色细线框 */
.slide::after { content: ""; position: absolute; inset: 26px; border: 1px solid var(--line); pointer-events: none; }
/* 金色粒子点 */
.spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 10px var(--gold); opacity: 0.55; animation: floatUp linear infinite; }
@keyframes floatUp {
  from { transform: translateY(0); opacity: 0.55; }
  to { transform: translateY(-110vh); opacity: 0; }
}

.slide-content { position: relative; z-index: 2; padding: 0 24px; max-width: 900px; width: 100%; min-width: 0; }
.slide-content .kicker { font-family: Georgia, serif; letter-spacing: 10px; font-size: 0.8rem;
  color: var(--gold); text-transform: uppercase; margin-bottom: 26px; }
.slide-content h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: 8px;
  line-height: 1.25; color: #f5f0e1; margin-bottom: 22px; word-break: break-word; overflow-wrap: break-word; }
.slide-content h1 em { font-style: normal; color: var(--gold-light);
  background: linear-gradient(120deg, #d4af37 20%, #f3dd8e 50%, #d4af37 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-content .sub { color: var(--gray); font-size: 1.05rem; letter-spacing: 2px; max-width: 620px; margin: 0 auto 40px; }
.slide-content .sub + .sub { margin-top: -26px; }
.slide-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 42px; font-size: 0.95rem; letter-spacing: 4px; transition: var(--tr); cursor: pointer; border: none; }
.btn-gold { background: linear-gradient(120deg, #b8962e, #f3dd8e 50%, #b8962e); color: #1a1608; font-weight: 700; }
.btn-gold:hover { box-shadow: 0 0 34px rgba(212,175,55,0.45); transform: translateY(-2px); }
.btn-line { border: 1px solid var(--line); color: var(--champagne); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-light); }

/* 入场动画：基态可见，动画仅负责“由下升起”，避免动画失效时文案不可见 */
.slide .slide-content > * { opacity: 1; transform: none; }
.slide.active .slide-content > * { animation: rise 0.9s ease backwards; }
.slide.active .slide-content > *:nth-child(1) { animation-delay: 0.15s; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: 0.3s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: 0.45s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: 0.6s; }
.slide.active .slide-content > *:nth-child(5) { animation-delay: 0.75s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* 金线进度指示器 */
.carousel-lines { position: absolute; bottom: 58px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 16px; }
.cline { width: 64px; height: 2px; background: rgba(212,175,55,0.25); border: none; cursor: pointer;
  position: relative; overflow: hidden; padding: 0; }
.cline .fill { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #b8962e, #f3dd8e); }
.cline.active .fill { animation: fillLine var(--slide-duration, 5s) linear forwards; }
@keyframes fillLine { to { transform: scaleX(1); } }

/* 轮播左右切换箭头 */
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 52px; height: 52px; border: 1px solid var(--line); background: rgba(11,11,13,0.55);
  color: var(--gold); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: var(--tr);
  font-family: Georgia, serif; }
.carousel-arrow.prev { left: 34px; }
.carousel-arrow.next { right: 34px; }
.carousel-arrow:hover { border-color: var(--gold); background: var(--gold); color: var(--black); }

/* 向下滚动提示 */
.carousel-scroll { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 5; display: flex; align-items: center; gap: 10px; color: var(--gray);
  font-size: 0.74rem; letter-spacing: 4px; }
.carousel-scroll .bar { display: block; width: 1px; height: 22px; background: linear-gradient(var(--gold), transparent);
  animation: scrollBar 2s ease-in-out infinite; }
@keyframes scrollBar {
  0%, 100% { opacity: 0.35; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* 广告图片轮播（后端下发） */
.slide-ad { background: var(--black); }
.slide-ad .ad-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.slide-ad .ad-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(11,11,13,0.82) 0%, rgba(11,11,13,0.15) 55%, rgba(11,11,13,0.4) 100%); }
.slide-ad .slide-content { z-index: 2; }
.slide-ad .slide-content h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); text-shadow: 0 2px 26px rgba(0,0,0,0.55); }
.slide-ad .slide-content .sub { color: #cfc9ba; }
.slide-ad.no-image { background: radial-gradient(1100px 520px at 50% 50%, rgba(140,120,60,0.18), transparent 65%), var(--black); }

/* 广告视频轮播 */
.slide-ad-video { background: var(--black); }
/* 自动播放视频 */
.slide-ad-video .ad-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* 点击播放模式 - 封面图 */
.slide-ad-video .ad-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: opacity 0.5s ease; }
/* 点击播放模式 - 播放按钮 */
.ad-video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 88px; height: 88px; border-radius: 50%; border: 2px solid var(--gold);
  background: rgba(11,11,13,0.6); backdrop-filter: blur(8px);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--tr); }
.ad-video-play-btn:hover { background: var(--gold); border-color: var(--gold-light); transform: translate(-50%, -50%) scale(1.08); }
.ad-video-play-btn:hover .play-svg circle { fill: var(--gold); }
.ad-video-play-btn:hover .play-svg polygon { fill: var(--black); }
.ad-video-play-btn .play-svg { width: 48px; height: 48px; }
.ad-video-play-btn .play-svg circle { fill: transparent; stroke: var(--gold); stroke-width: 2; transition: all var(--tr); }
.ad-video-play-btn .play-svg polygon { fill: var(--gold); transition: all var(--tr); }
.ad-video-play-btn:hover .play-svg circle { fill: var(--gold); stroke: var(--gold-light); }
.ad-video-play-btn:hover .play-svg polygon { fill: var(--black); }
/* 点击播放模式 - 视频 */
.slide-ad-video .ad-video-click { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; background: #000; }
/* 移动端播放按钮缩小 */
@media (max-width: 640px) {
  .ad-video-play-btn { width: 64px; height: 64px; }
  .ad-video-play-btn .play-svg { width: 36px; height: 36px; }
}

/* 数据 */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .num { font-family: Georgia, serif; font-size: 2.6rem; color: var(--gold-light); }
.stat-item .label { color: var(--gray); margin-top: 4px; font-size: 0.92rem; letter-spacing: 2px; }

/* 服务：金边卡片 */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--panel); border: 1px solid var(--line); padding: 42px 32px;
  transition: var(--tr); position: relative; }
.service-card::before, .service-card::after { content: ""; position: absolute; width: 22px; height: 22px;
  border-color: var(--gold); border-style: solid; transition: var(--tr); }
.service-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.service-card::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.5); }
.service-card:hover::before, .service-card:hover::after { width: 44px; height: 44px; }
.service-no { font-family: Georgia, serif; font-size: 2rem; color: var(--gold); opacity: 0.8; margin-bottom: 18px; }
.service-card h3 { font-size: 1.25rem; letter-spacing: 3px; margin-bottom: 12px; color: #f5f0e1; }
.service-card p { color: var(--gray); font-size: 0.94rem; }
.service-more { display: inline-block; margin-top: 20px; color: var(--gold); font-size: 0.84rem; letter-spacing: 3px; }
.service-more:hover { color: var(--gold-light); }

/* 关于：金框图像区 */
.about { background: var(--panel); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-visual { border: 1px solid var(--line); padding: 14px; position: relative; }
.about-visual .inner { min-height: 400px; background:
  radial-gradient(circle at 70% 25%, rgba(212,175,55,0.28) 0, transparent 42%),
  radial-gradient(circle at 25% 80%, rgba(212,175,55,0.16) 0, transparent 45%),
  #08080a;
  display: flex; align-items: flex-end; padding: 30px; }
.about-visual .badge { color: var(--gold-light); font-size: 0.92rem; letter-spacing: 3px; }
.about-text h2 { font-size: 2rem; letter-spacing: 5px; margin-bottom: 20px; color: #f5f0e1; }
.about-text > p { color: var(--gray); margin-bottom: 14px; }
.about-points { margin-top: 24px; display: grid; gap: 16px; }
.about-points li { display: flex; gap: 14px; }
.about-points .diamond { flex: none; width: 12px; height: 12px; margin-top: 8px;
  background: var(--gold); transform: rotate(45deg); }
.about-points strong { display: block; color: #f5f0e1; letter-spacing: 2px; }
.about-points span { color: var(--gray); font-size: 0.92rem; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border: 1px solid var(--line); background: var(--panel); transition: var(--tr); }
.news-card:hover { border-color: rgba(212,175,55,0.5); transform: translateY(-5px); }
.news-cover { height: 160px; position: relative; overflow: hidden; }
.cover-a { background: linear-gradient(135deg, #1a1508, #4a3b12); }
.cover-b { background: linear-gradient(135deg, #0d0d12, #2c2c3a); }
.cover-c { background: linear-gradient(135deg, #241a04, #6b5518); }
.cover-d { background: linear-gradient(135deg, #101014, #33333f); }
.cover-e { background: linear-gradient(135deg, #1c1405, #57440f); }
.cover-f { background: linear-gradient(135deg, #0b0f14, #233240); }
.news-cover::after { content: "◆"; position: absolute; right: 20px; bottom: 12px; color: var(--gold); opacity: 0.5; }
.news-body { padding: 24px; }
.news-meta { font-size: 0.8rem; color: var(--gold); letter-spacing: 2px; display: flex; gap: 16px; margin-bottom: 10px; }
.news-body h3 { font-size: 1.08rem; line-height: 1.6; color: #e8e0c8; font-weight: 500; }
.news-more { text-align: center; margin-top: 46px; }

footer { border-top: 1px solid var(--line); background: #08080a; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--gray); font-size: 0.92rem; max-width: 300px; }
footer h4 { color: var(--gold-light); font-size: 1rem; margin-bottom: 18px; letter-spacing: 4px; font-weight: 500; }
footer li { margin-bottom: 10px; font-size: 0.92rem; color: var(--gray); }
footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; text-align: center;
  color: var(--gray); font-size: 0.84rem; letter-spacing: 2px; }

.back-top { position: fixed; right: 26px; bottom: 26px; z-index: 900; width: 46px; height: 46px;
  border: 1px solid var(--gold); background: var(--black); color: var(--gold); font-size: 1.1rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--tr); }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--black); }

/* 商务合作：信息卡 + 留言表单（黑金风） */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: stretch; }
.contact-info { border: 1px solid var(--line); background: var(--panel); padding: 44px 38px; position: relative; }
.contact-info::before { content: ""; position: absolute; top: -1px; left: -1px; width: 46px; height: 46px;
  border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.contact-info::after { content: ""; position: absolute; bottom: -1px; right: -1px; width: 46px; height: 46px;
  border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.contact-info h3 { font-size: 1.5rem; letter-spacing: 4px; color: #f5f0e1; margin-bottom: 16px; }
.contact-info > p { color: var(--gray); font-size: 0.94rem; margin-bottom: 26px; }
.info-list li { display: flex; flex-direction: column; gap: 5px; padding: 15px 0; border-top: 1px solid rgba(212,175,55,0.12); }
.info-list .info-label { font-size: 0.74rem; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.info-list .info-val { font-size: 1rem; letter-spacing: 1px; color: var(--champagne); }
.contact-panel { border: 1px solid var(--line); background: var(--panel); padding: 44px 38px; }
.contact-panel .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.contact-panel .field { display: flex; flex-direction: column; margin-bottom: 20px; }
.contact-panel .form-grid .field { margin-bottom: 0; }
.contact-panel label { font-size: 0.8rem; letter-spacing: 2px; color: var(--gold-light); margin-bottom: 9px; }
.contact-panel input, .contact-panel textarea { width: 100%; background: #0d0d10; border: 1px solid var(--line);
  color: var(--champagne); padding: 13px 16px; font-size: 0.95rem; letter-spacing: 1px; transition: var(--tr);
  font-family: inherit; resize: vertical; }
.contact-panel input::placeholder, .contact-panel textarea::placeholder { color: rgba(154,149,138,0.5); }
.contact-panel input:focus, .contact-panel textarea:focus { outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.22); }
.contact-panel .form-actions { margin-top: 6px; }
.contact-panel .form-actions .btn { width: 100%; text-align: center; }
.contact-panel .form-actions .btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.contact-panel .form-msg { text-align: center; margin-top: 14px; font-size: 0.9rem; letter-spacing: 1px; min-height: 1.3em; }
.contact-panel .form-msg.ok { color: var(--gold-light); }
.contact-panel .form-msg.err { color: #e08a7a; }

/* ============ 资讯列表增强 ============ */
.news-card { cursor: pointer; display: flex; flex-direction: column; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-body .news-summary { color: var(--gray); font-size: 0.9rem; margin-top: 10px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-body .news-more-link { display: inline-block; margin-top: 16px; color: var(--gold); font-size: 0.82rem; letter-spacing: 2px; }
.news-card:hover .news-more-link { color: var(--gold-light); }
.news-empty { text-align: center; color: var(--gray); padding: 70px 0; letter-spacing: 3px; }

/* ============ 分页 ============ */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 54px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--line); background: var(--panel);
  color: var(--champagne); cursor: pointer; font-family: inherit; font-size: 0.9rem; letter-spacing: 1px; transition: var(--tr); }
.pager button:hover:not([disabled]):not(.active) { border-color: var(--gold); color: var(--gold-light); }
.pager button.active { background: linear-gradient(120deg, #b8962e, #f3dd8e 50%, #b8962e); color: #1a1608;
  border-color: transparent; font-weight: 700; }
.pager button[disabled] { opacity: 0.35; cursor: not-allowed; }
.pager .pager-info { color: var(--gray); font-size: 0.84rem; letter-spacing: 1px; margin: 0 6px; }

/* ============ 资讯详情 ============ */
.article { max-width: 880px; margin: 0 auto; }
.article-head { text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.article-head .cat { display: inline-block; color: var(--gold); letter-spacing: 3px; font-size: 0.78rem;
  border: 1px solid var(--line); padding: 6px 18px; margin-bottom: 22px; }
.article-head h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.5; color: #f5f0e1; letter-spacing: 2px; margin-bottom: 22px; }
.article-meta { display: flex; justify-content: center; gap: 26px; color: var(--gray); font-size: 0.85rem; letter-spacing: 1px; flex-wrap: wrap; }
.article-meta i { font-style: normal; color: var(--gold); }

/* 富文本正文 */
.rich-content { color: var(--champagne); font-size: 1.02rem; line-height: 2; word-wrap: break-word; }
.rich-content h1, .rich-content h2, .rich-content h3 { color: #f5f0e1; margin: 30px 0 16px; letter-spacing: 1px; line-height: 1.5; }
.rich-content h1 { font-size: 1.7rem; } .rich-content h2 { font-size: 1.45rem; } .rich-content h3 { font-size: 1.2rem; }
.rich-content p { margin: 0 0 18px; }
.rich-content a { color: var(--gold-light); text-decoration: underline; }
.rich-content strong { color: var(--gold-light); }
.rich-content ul, .rich-content ol { margin: 0 0 18px; padding-left: 28px; }
.rich-content ul { list-style: disc; } .rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: 8px; }
.rich-content blockquote { border-left: 2px solid var(--gold); background: var(--panel); padding: 16px 22px;
  margin: 0 0 18px; color: var(--gray); }
.rich-content img { max-width: 100%; height: auto; display: block; margin: 22px auto; border: 1px solid var(--line); }
.rich-content table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.rich-content th, .rich-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.rich-content th { background: var(--panel); color: var(--gold-light); }
.rich-content pre { background: #0d0d10; border: 1px solid var(--line); padding: 18px; overflow: auto; margin: 0 0 18px; }
.rich-content hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }

.article-foot { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.article-back { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }
.article-back:hover { color: var(--gold-light); }

/* PDF 预览 */
.pdf-wrap { border: 1px solid var(--line); background: var(--panel); }
.pdf-frame { width: 100%; height: 82vh; min-height: 540px; border: 0; display: block; background: #0d0d10; }
.pdf-tip { text-align: center; color: var(--gray); font-size: 0.88rem; padding: 16px; letter-spacing: 1px;
  border-top: 1px solid var(--line); }
.pdf-tip a { color: var(--gold); }
.pdf-tip a:hover { color: var(--gold-light); }

/* ============ 资讯后台 ============ */
.admin-wrap { max-width: 1020px; margin: 0 auto; }
.tab-bar { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.tab-bar button { padding: 11px 24px; border: 1px solid var(--line); background: var(--panel); color: var(--gray);
  cursor: pointer; letter-spacing: 2px; font-family: inherit; font-size: 0.9rem; transition: var(--tr); }
.tab-bar button:hover { border-color: var(--gold); color: var(--gold-light); }
.tab-bar button.active { color: #1a1608; background: linear-gradient(120deg, #b8962e, #f3dd8e 50%, #b8962e);
  border-color: transparent; font-weight: 700; }
.admin-card { border: 1px solid var(--line); background: var(--panel); padding: 34px; margin-bottom: 26px; }
.admin-card > h3 { color: #f5f0e1; letter-spacing: 3px; margin-bottom: 24px; font-size: 1.15rem; }
.admin-form .field { margin-bottom: 18px; }
.admin-form label { display: block; font-size: 0.8rem; letter-spacing: 2px; color: var(--gold-light); margin-bottom: 8px; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; background: #0d0d10; border: 1px solid var(--line);
  color: var(--champagne); padding: 12px 14px; font-size: 0.95rem; font-family: inherit; letter-spacing: 1px; transition: var(--tr); }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.22); }
.admin-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.type-switch { display: flex; gap: 20px; }
.type-switch label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--champagne); letter-spacing: 1px;
  font-size: 0.92rem; cursor: pointer; }
.type-switch input { width: auto; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 6px; border: 1px solid var(--line); border-bottom: 0;
  padding: 8px; background: #0d0d10; }
.editor-toolbar button { min-width: 34px; height: 32px; padding: 0 10px; border: 1px solid var(--line);
  background: var(--panel); color: var(--champagne); cursor: pointer; font-size: 0.85rem; transition: var(--tr); }
.editor-toolbar button:hover { border-color: var(--gold); color: var(--gold-light); }
.editor-toolbar .sep-v { width: 1px; background: var(--line); margin: 2px 4px; }
.editor-area { min-height: 300px; border: 1px solid var(--line); background: #0d0d10; color: var(--champagne);
  padding: 18px; overflow: auto; line-height: 1.9; }
.editor-area:focus { outline: none; border-color: var(--gold); }
.editor-area img { max-width: 100%; }
.admin-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.admin-msg { margin-left: auto; font-size: 0.88rem; letter-spacing: 1px; }
.admin-msg.ok { color: var(--gold-light); } .admin-msg.err { color: #e08a7a; }
.file-note { color: var(--gray); font-size: 0.8rem; margin-top: 8px; letter-spacing: 1px; word-break: break-all; }
.file-note a { color: var(--gold); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td { border: 1px solid var(--line); padding: 11px 12px; text-align: left; color: var(--champagne); }
.admin-table th { background: #0d0d10; color: var(--gold-light); letter-spacing: 1px; font-weight: 500; }
.admin-table td .op { color: var(--gold); cursor: pointer; margin-right: 14px; white-space: nowrap; }
.admin-table td .op:hover { color: var(--gold-light); }
.admin-table td .op.danger { color: #e08a7a; }
.badge-on { color: var(--gold-light); } .badge-off { color: var(--gray); }
.admin-login { max-width: 420px; margin: 0 auto; }

@media (max-width: 900px) {
  .services-grid, .news-grid, .explore-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .admin-form .row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 640px) {
  .nav-links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height 0.35s; }
  .nav-links.open { max-height: 400px; }
  .nav-links a { padding: 15px 24px; border-bottom: 1px solid rgba(212,175,55,0.1); }
  .nav-toggle { display: block; }
  .services-grid, .news-grid, .explore-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .page-hero { padding: 132px 0 56px; }
  .page-hero::after { inset: 14px; }
  .slide::after { inset: 14px; }
  .cline { width: 44px; }
  .slide-content { padding: 0 16px; }
  .slide-content h1 { font-size: clamp(1.5rem, 7.2vw, 2.2rem); letter-spacing: 4px; }
  .slide-content .sub { font-size: 0.94rem; letter-spacing: 1px; margin-bottom: 30px; }
  .slide-content .kicker { letter-spacing: 6px; margin-bottom: 18px; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 1.15rem; top: auto; bottom: 46px; transform: none; }
  .carousel-arrow.prev { left: 14px; }
  .carousel-arrow.next { right: 14px; }
  .carousel-lines { bottom: 65px; }
  .carousel-scroll { display: none; }
  .contact-info, .contact-panel { padding: 32px 24px; }
  .contact-panel .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-panel .form-grid .field { margin-bottom: 20px; }
  .admin-card { padding: 24px 18px; }
  .pdf-frame { height: 72vh; min-height: 420px; }
  .admin-table { font-size: 0.82rem; }
  .admin-table th, .admin-table td { padding: 8px; }
}

/* ============ 降低动效偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.active .slide-content > * { animation: none; }
  .spark, .cline.active .fill, .carousel-scroll .bar { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
