/* ============================================================
   湖南禧乐文化 · 官网样式表
   主色：庆典红 #c8262e  辅色：鎏金 #d9a441  深色：#10141f
   ============================================================ */

:root {
  --red: #c8262e;
  --red-dark: #a71c23;
  --gold: #d9a441;
  --ink: #1c2333;
  --ink-soft: #55617a;
  --dark: #10141f;
  --dark-2: #171d2b;
  --light: #f7f8fa;
  --line: #e6e9ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 20, 31, .08);
  --shadow-lg: 0 18px 50px rgba(16, 20, 31, .16);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用板块 ---------- */
.section { padding: 88px 0; }
.section-dark { background: var(--dark); color: #e8ecf3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #aeb8c9; }
.section-light { background: var(--light); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head.light .eyebrow { color: var(--gold); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; letter-spacing: .02em; }
.section-head > p { margin-top: 14px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 12px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 38, 46, .35);
}
.brand-text { line-height: 1.25; }
.brand-text b { font-size: 17px; display: block; letter-spacing: .04em; }
.brand-text small { font-size: 11px; color: var(--ink-soft); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--red); transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--red); }

.nav-cta {
  flex-shrink: 0;
  background: var(--red); color: #fff;
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-burger {
  display: none; margin-left: auto;
  width: 40px; height: 40px; border: none; background: none;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 78% 18%, rgba(200, 38, 46, .38), transparent 60%),
    radial-gradient(ellipse 50% 50% at 12% 85%, rgba(217, 164, 65, .18), transparent 60%),
    linear-gradient(160deg, #131927 0%, #0e1220 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; padding: 120px 24px 130px; max-width: var(--max); margin: 0 auto; }
.hero-copy { max-width: 680px; }
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(217, 164, 65, .5); color: var(--gold);
  font-size: 13px; padding: 7px 16px; border-radius: 999px; letter-spacing: .06em;
  background: rgba(217, 164, 65, .08);
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.18; margin: 22px 0 18px; font-weight: 800; letter-spacing: .02em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--red) 10%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 17px; color: #b7c2d4; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; margin: 30px 0 26px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(200, 38, 46, .4); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-points { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-points span { color: #cdd6e4; font-size: 14px; }
.hero-points span::before { content: "✓ "; color: var(--gold); font-weight: 700; }

/* ---------- 数据条 ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 36px 24px; }
.stat { text-align: center; }
.stat-num { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--red); letter-spacing: .02em; }
.stat-num span { font-size: .5em; font-weight: 600; color: var(--ink-soft); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 服务范围 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.biz-icon {
  width: 48px; height: 48px; border-radius: 12px; font-size: 22px;
  background: linear-gradient(135deg, rgba(200, 38, 46, .12), rgba(217, 164, 65, .14));
  color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.biz-card h3 { font-size: 18px; margin-bottom: 8px; }
.biz-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 筛选栏 ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter {
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #c6cfe0;
  padding: 8px 20px; border-radius: 999px; font-size: 14px; transition: all .2s;
}
.section:not(.section-dark) .filter,
.section-light .filter { border-color: var(--line); color: var(--ink-soft); }
.filter:hover { color: var(--gold); border-color: var(--gold); }
.filter.active { background: var(--red); border-color: var(--red); color: #fff; }
.section:not(.section-dark) .filter.active { background: var(--red); color: #fff; }

/* ---------- 案例卡片 ---------- */
.case-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(217, 164, 65, .45); box-shadow: var(--shadow-lg); }
.case-cover {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: rgba(255, 255, 255, .55);
  background: linear-gradient(135deg, rgba(200, 38, 46, .5), rgba(217, 164, 65, .35)), var(--dark-2);
  overflow: hidden;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.case-card:hover .case-cover img { transform: scale(1.05); }
.case-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.case-tag { align-self: flex-start; font-size: 12px; color: var(--gold); border: 1px solid rgba(217, 164, 65, .45); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.case-card h3 { font-size: 17px; color: #fff; line-height: 1.45; }
.case-meta { margin-top: auto; padding-top: 14px; font-size: 13px; color: #8f9ab0; display: flex; gap: 16px; flex-wrap: wrap; }

.case-empty { text-align: center; padding: 50px 0; color: #8f9ab0; }
.case-empty a { color: var(--gold); text-decoration: underline; }

/* ---------- 新闻卡片 ---------- */
.news-cover { height: 160px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; margin: -24px -24px 16px; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .news-cover img { transform: scale(1.05); }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; cursor: pointer; transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.news-body { display: flex; flex-direction: column; flex: 1; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.news-cat { color: var(--red); font-weight: 600; }
.news-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
.news-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.news-more { margin-top: 14px; font-size: 13px; color: var(--red); font-weight: 600; }

/* ---------- 核心优势 ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.strength-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.strength-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.strength-no {
  position: absolute; right: 18px; top: 10px;
  font-size: 52px; font-weight: 800; color: rgba(200, 38, 46, .08); line-height: 1;
}
.strength-card h3 { font-size: 17px; margin-bottom: 8px; position: relative; }
.strength-card p { font-size: 14px; color: var(--ink-soft); position: relative; }

.process-wrap { margin-top: 60px; background: var(--light); border-radius: var(--radius); padding: 40px 36px; }
.process-title { text-align: center; font-size: 22px; margin-bottom: 30px; }
.process-steps { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.step { flex: 1; min-width: 130px; text-align: center; position: relative; }
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -8px; top: 14px; color: var(--red); font-size: 16px;
}
.step span {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700;
  align-items: center; justify-content: center; margin-bottom: 10px;
}
.step b { display: block; font-size: 15px; }
.step small { color: var(--ink-soft); font-size: 12px; }

/* ---------- 信任背书 ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.trust-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px; border-top: 3px solid var(--red);
}
.trust-block h3 { font-size: 17px; margin-bottom: 10px; }
.trust-block p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about-text h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
.about-text p { color: var(--ink-soft); margin-bottom: 14px; font-size: 15px; }
.about-quote {
  margin-top: 22px; padding: 18px 22px; border-left: 3px solid var(--red);
  background: var(--light); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink); font-size: 15px; font-weight: 600;
}
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact {
  background: var(--light); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.fact b { display: block; font-size: 20px; color: var(--red); margin-bottom: 4px; }
.fact span { font-size: 13px; color: var(--ink-soft); }

/* ---------- 咨询区 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.contact-copy h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; }
.contact-copy > p { margin: 16px 0 26px; color: #aeb8c9; }
.contact-info { display: grid; gap: 12px; }
.ci {
  display: flex; gap: 14px; align-items: baseline;
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px; padding: 14px 18px;
}
.ci span { font-size: 13px; color: #8f9ab0; flex-shrink: 0; }
.ci b { font-size: 15px; color: #fff; letter-spacing: .02em; }

.qr-card {
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.qr-card h3 { font-size: 18px; margin-bottom: 18px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qr-box p { font-size: 13px; color: #aeb8c9; margin-top: 8px; }
.qr-placeholder {
  width: 100%; aspect-ratio: 1; max-width: 140px; margin: 0 auto;
  border: 1px dashed rgba(255, 255, 255, .3); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #8f9ab0; font-size: 13px;
}
.qr-placeholder small { font-size: 11px; }
.qr-note { margin-top: 16px; font-size: 13px; color: #8f9ab0; }
.qr-note b { color: var(--gold); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #8f9ab0; padding: 44px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.foot-brand { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.footer-inner p { font-size: 14px; line-height: 1.9; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 24px; font-size: 13px; text-align: center;
}

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 13, 22, .7); backdrop-filter: blur(4px); }
.modal-box {
  position: relative; background: #fff; color: var(--ink);
  border-radius: var(--radius); max-width: 640px; width: 100%;
  max-height: 82vh; overflow-y: auto; padding: 36px 34px;
  box-shadow: var(--shadow-lg); animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; right: 14px; top: 14px;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--light); font-size: 20px; color: var(--ink-soft); line-height: 1;
}
.modal-close:hover { background: var(--red); color: #fff; }
.modal-box .m-tag { display: inline-block; font-size: 12px; color: var(--red); border: 1px solid rgba(200, 38, 46, .35); padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.modal-box h3 { font-size: 22px; line-height: 1.4; margin-bottom: 6px; }
.modal-box .m-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.modal-box p { font-size: 15px; color: #45506a; margin-bottom: 12px; }
.modal-box .m-list { margin: 14px 0; padding-left: 20px; }
.modal-box .m-list li { font-size: 14px; color: #45506a; margin-bottom: 6px; }

/* 弹窗内图片与标签 */
.m-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.m-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.m-gallery img:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.m-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.m-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.m-tag-pill {
  font-size: 12px; color: var(--ink-soft); background: var(--light);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px;
}
.m-media { font-size: 14px; }
.m-media a { color: var(--red); text-decoration: underline; word-break: break-all; }

/* ---------- 进场动效 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .biz-grid, .case-grid, .news-grid, .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px 24px 16px;
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--light); }
  .nav-links.open a:last-child { border-bottom: none; }
  .step:not(:last-child)::after { display: none; }
  .process-steps { flex-direction: column; gap: 20px; align-items: center; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero-inner { padding: 80px 24px 90px; }
  .biz-grid, .case-grid, .news-grid, .strength-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .qr-grid { max-width: 320px; margin: 0 auto; }
  .modal-box { padding: 28px 22px; }
}

/* ---------- 新闻正文（富文本） ---------- */
.article-body { font-size: 15px; line-height: 1.9; color: #333e52; }
.article-body p { margin: 0 0 14px; }
.article-body h2 { font-size: 21px; color: #1d2433; margin: 22px 0 12px; }
.article-body h3 { font-size: 17px; color: #1d2433; margin: 18px 0 10px; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
.article-body blockquote {
  border-left: 4px solid #c8262e; background: #fdf5f5;
  margin: 14px 0; padding: 12px 16px; color: #5a3a3c; border-radius: 0 8px 8px 0;
}
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 14px; }
.article-body li { margin-bottom: 6px; }
.article-body a { color: #c8262e; text-decoration: underline; }
.article-body strong { color: #1d2433; }
