/* ============================================================
   湖南日报文旅集团 官网样式
   基调：党报红 × 湖湘文化 × 文旅融合
   ============================================================ */

:root {
  --red: #B01E28;          /* 党报红 */
  --red-dark: #8E141C;
  --red-deep: #6E0F15;
  --ink: #1E1E1E;          /* 墨色正文 */
  --ink-soft: #555;
  --gold: #B98A44;         /* 金色点缀 */
  --cream: #F7F3EB;        /* 米白背景 */
  --paper: #FFFFFF;
  --line: #E5DDD0;
  --shadow: 0 8px 30px rgba(30, 30, 30, 0.08);
  --serif: Georgia, "Times New Roman", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-icon { height: 40px; width: auto; display: block; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700;
}
.brand-name { line-height: 1.25; }
.brand-name b { display: block; font-size: 17px; letter-spacing: 1px; color: var(--ink); }
.brand-name span { font-size: 11px; color: var(--gold); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-size: 15px; position: relative; padding: 6px 0; }
.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, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(185,138,68,.35), transparent 55%),
    linear-gradient(135deg, var(--red-deep) 0%, var(--red) 55%, #C23A33 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image:
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
  background-size: 56px 100px;
}
.hero-inner { position: relative; padding: 96px 0 110px; text-align: center; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 6px;
  color: #F2D9A4; border: 1px solid rgba(242,217,164,.5); border-radius: 999px;
  padding: 6px 18px; margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(34px, 5vw, 58px);
  font-weight: 700; letter-spacing: 4px; line-height: 1.3;
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.hero .sub { font-size: clamp(16px, 2vw, 20px); letter-spacing: 2px; color: #FFE9C9; margin-top: 18px; }
.hero .lead { max-width: 720px; margin: 26px auto 0; color: rgba(255,255,255,.9); font-size: 15px; }
.hero-cta { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 999px;
  font-size: 15px; letter-spacing: 1px; transition: all .25s; cursor: pointer; border: 0;
}
.btn-solid { background: #fff; color: var(--red); font-weight: 600; }
.btn-solid:hover { background: #F2D9A4; color: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px); }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--cream); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head .tag {
  display: inline-block; color: var(--red); font-size: 13px; letter-spacing: 4px;
  margin-bottom: 12px; font-weight: 600;
}
.section-head h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); letter-spacing: 2px; color: var(--ink); }
.section-head .line { width: 56px; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); margin: 18px auto 0; border-radius: 2px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 15px; }

/* ---------- 数据统计 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 20px; text-align: center; box-shadow: var(--shadow); transition: transform .25s;
}
.stat:hover { transform: translateY(-6px); }
.stat .num { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--red); line-height: 1; }
.stat .num small { font-size: 20px; }
.stat .lbl { margin-top: 12px; color: var(--ink-soft); font-size: 14px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 26px; transition: all .25s; box-shadow: 0 2px 12px rgba(30,30,30,.04);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #DCCFC0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, #FBEBDD, #F6E4D0);
  color: var(--red); display: flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); letter-spacing: 1px; }
.card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 项目条 ---------- */
.project {
  display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 34px; margin-bottom: 28px; box-shadow: 0 2px 12px rgba(30,30,30,.04);
}
.project .ph {
  aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #C43A33, #8E141C);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
  font-family: var(--serif); letter-spacing: 2px; text-align: center; padding: 16px; position: relative; line-height: 1.6;
}
.project .ph::after { content: "图片待替换"; position: absolute; bottom: 8px; font-size: 10px; opacity: .6; }
.project h3 { font-size: 22px; font-family: var(--serif); letter-spacing: 1px; margin-bottom: 12px; }
.project .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.project .meta span {
  background: #FBEBDD; color: var(--red-deep); font-size: 12px; border-radius: 999px; padding: 3px 12px;
}
.project p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 时间线 ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--red), var(--gold));
}
.tl-item { position: relative; padding: 0 0 28px 40px; }
.tl-item::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--red);
}
.tl-item .year { font-family: var(--serif); font-weight: 700; color: var(--red); font-size: 18px; }
.tl-item p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 表格 ---------- */
table.data { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
table.data th, table.data td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--red); color: #fff; font-weight: 600; letter-spacing: 1px; }
table.data tbody tr:nth-child(even) { background: #FBF8F2; }
table.data tbody tr:hover { background: #F5EEE0; }
.table-scroll { overflow-x: auto; }

/* ---------- 资质 / 清单 ---------- */
.qual-list { list-style: none; counter-reset: q; display: grid; gap: 14px; }
.qual-list li {
  counter-increment: q; display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px;
}
.qual-list li::before {
  content: "0" counter(q); flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700;
}
.qual-list h4 { font-size: 16px; margin-bottom: 4px; }
.qual-list p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 价值观 ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { text-align: center; padding: 34px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: all .25s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .cn { font-family: var(--serif); font-size: 30px; color: var(--red); display: block; margin-bottom: 10px; }
.value .en { font-size: 12px; color: var(--gold); letter-spacing: 2px; display: block; margin-bottom: 14px; }
.value p { font-size: 13.5px; color: var(--ink-soft); text-align: left; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red-deep), var(--red)); color: #fff; text-align: center; padding: 64px 0;
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); letter-spacing: 2px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 14px 0 30px; }
.cta-band .btn-solid:hover { color: var(--red-deep); }

/* ---------- 页脚 ---------- */
.site-footer { background: #1B1B1B; color: #A8A8A8; padding: 56px 0 28px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #333; }
.footer-grid h4 { color: #fff; font-size: 15px; letter-spacing: 1px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: #A8A8A8; }
.footer-grid ul a:hover { color: #F2D9A4; }
.footer-brand .brand-name b { color: #fff; }
.footer-brand p { margin-top: 14px; line-height: 1.9; }
.copyright { text-align: center; padding-top: 26px; color: #7A7A7A; font-size: 12.5px; }

/* ---------- 子页 Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--red-deep), var(--red)); color: #fff; text-align: center; padding: 66px 0;
}
.page-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); letter-spacing: 4px; }
.page-hero .crumbs { margin-top: 12px; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: 1px; }
.page-hero .crumbs a { color: rgba(255,255,255,.9); }

/* ---------- 双栏介绍 ---------- */
.duo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.duo h2 { font-family: var(--serif); font-size: 28px; letter-spacing: 1px; margin-bottom: 18px; color: var(--ink); }
.duo h2 em { font-style: normal; color: var(--red); }
.duo p { color: var(--ink-soft); margin-bottom: 14px; font-size: 15px; }
.duo .ph-side { aspect-ratio: 4/3; border-radius: 16px; background: linear-gradient(135deg, #C43A33, #8E141C); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.85); font-family: var(--serif); letter-spacing: 2px; text-align: center; padding: 20px; position: relative; font-size: 20px; line-height: 1.6; }
.duo .ph-side small { display: block; font-size: 12px; line-height: 1.7; opacity: .85; letter-spacing: 0; max-width: 92%; }
.duo .ph-side::after { content: "图片待替换"; position: absolute; bottom: 10px; font-size: 10px; opacity: .6; }

/* ---------- 图片展示 ---------- */
.ph-img {
  aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; position: relative;
  box-shadow: 0 2px 14px rgba(30,30,30,.10); background: #EDE6DA;
}
.ph-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-img figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px;
  background: linear-gradient(transparent, rgba(20,20,20,.74));
  color: #fff; font-size: 12.5px; text-align: center; line-height: 1.5;
}
.img-grid { display: grid; gap: 22px; margin-top: 30px; }
.img-grid.g2 { grid-template-columns: repeat(2, 1fr); }
.img-grid.g3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 联系卡片 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow); }
.contact-panel h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 20px; color: var(--ink); letter-spacing: 1px; }
.contact-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .k { width: 110px; flex-shrink: 0; color: var(--gold); font-weight: 600; font-size: 14px; }
.contact-item .v { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-4, .values { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .img-grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 1fr; }
  .duo, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 0; background: rgba(255,255,255,.98); flex-direction: column;
    justify-content: center; gap: 24px; font-size: 20px; display: none; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; z-index: 100; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .values, .stats, .footer-grid, .img-grid.g2, .img-grid.g3 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 68px 0 80px; }
}
