/* ============================================================
   鸿国集团官网 - 前台样式
   配色：藏蓝 #0b1f3a  鎏金 #c9a253  宣白 #f7f5f0
   ============================================================ */
:root {
  --navy: #0b1f3a;
  --navy-2: #122b4d;
  --gold: #c9a253;
  --gold-light: #e3c98b;
  --ink: #2b2f36;
  --muted: #7a828e;
  --paper: #f7f5f0;
  --line: #e5e1d8;
  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.7; font-size: 15px; }
a { color: inherit; text-decoration: none; transition: color .25s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s, box-shadow .35s; }
#site-header.solid { background: rgba(11, 31, 58, .96); box-shadow: 0 4px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo-mark { width: 46px; height: 46px; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 26px; font-weight: 900; display: flex; align-items: center; justify-content: center; border-radius: 2px; letter-spacing: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-family: var(--serif); font-size: 21px; letter-spacing: 4px; font-weight: 700; }
.logo-text em { font-style: normal; font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,.55); text-transform: uppercase; }
.main-nav { display: flex; gap: 8px; }
.main-nav a { color: rgba(255,255,255,.85); font-size: 15px; letter-spacing: 2px; padding: 8px 18px; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: all .3s; transform: translateX(-50%); }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { width: 60%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ---------- 轮播 Banner ---------- */
.hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; display: flex; align-items: center; }
.hero-slide.on { opacity: 1; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(11,31,58,.88) 20%, rgba(11,31,58,.55) 55%, rgba(11,31,58,.35)); }
.hero-slide .bg.ph-1 { background: linear-gradient(120deg, #0b1f3a, #1d3a63 55%, #2c5083); }
.hero-slide .bg.ph-2 { background: linear-gradient(120deg, #10263f, #274622 130%); }
.hero-slide .bg.ph-3 { background: linear-gradient(120deg, #241a10, #63481d 90%); }
.hero-inner { position: relative; z-index: 2; color: #fff; max-width: 780px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 6px; color: var(--gold-light); margin-bottom: 22px; }
.hero-eyebrow::before { content: ""; width: 46px; height: 1px; background: var(--gold); }
.hero-title { font-family: var(--serif); font-size: clamp(34px, 5.2vw, 62px); font-weight: 900; letter-spacing: 6px; line-height: 1.28; }
.hero-sub { margin-top: 20px; font-size: 16px; letter-spacing: 2px; color: rgba(255,255,255,.75); }
.hero-actions { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 38px; font-size: 14px; letter-spacing: 3px; border: 1px solid var(--gold); color: var(--gold-light); transition: all .3s; }
.btn:hover { background: var(--gold); color: var(--navy); }
.btn.solid { background: var(--gold); color: var(--navy); }
.btn.solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.hero-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 12px; }
.hero-dots button { width: 34px; height: 3px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; transition: .3s; }
.hero-dots button.on { background: var(--gold); }
.hero-scroll { position: absolute; bottom: 34px; right: 5%; z-index: 5; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: 3px; writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 44px; background: linear-gradient(#fff0, var(--gold)); margin: 10px auto 0; animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(.2); transform-origin: top; } 100% { transform: scaleY(1); } }

/* ---------- 区块通用 ---------- */
section.block { padding: 96px 0; }
section.block.tint { background: var(--paper); }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head .en { font-size: 12px; letter-spacing: 6px; color: var(--gold); text-transform: uppercase; }
.sec-head h2 { font-family: var(--serif); font-size: 34px; letter-spacing: 8px; color: var(--navy); margin: 10px 0 18px; font-weight: 700; }
.sec-head .rule { width: 56px; height: 2px; background: var(--gold); margin: 0 auto; position: relative; }
.sec-head .rule::before, .sec-head .rule::after { content: ""; position: absolute; top: 0; width: 8px; height: 2px; background: var(--line); }
.sec-head .rule::before { left: -14px; } .sec-head .rule::after { right: -14px; }
.sec-head p.desc { margin-top: 16px; color: var(--muted); }

/* ---------- 数字概览 ---------- */
.stats { background: var(--navy); color: #fff; padding: 64px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -12px; top: 12%; height: 76%; width: 1px; background: linear-gradient(transparent, rgba(201,162,83,.55), transparent); }
.stat .num { font-family: var(--serif); font-size: 46px; font-weight: 900; color: var(--gold-light); }
.stat .num sup { font-size: 18px; margin-left: 4px; }
.stat .label { margin-top: 6px; font-size: 14px; letter-spacing: 3px; color: rgba(255,255,255,.72); }

/* ---------- 关于我们 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-visual .ph { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy) 0%, #23406e 60%, var(--gold) 140%); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.about-visual .ph span { font-family: var(--serif); font-size: 120px; color: rgba(255,255,255,.16); font-weight: 900; }
.about-visual::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: 4px; z-index: -1; }
.about-visual .badge { position: absolute; right: -18px; bottom: -26px; background: var(--navy); color: #fff; padding: 18px 26px; border-left: 3px solid var(--gold); }
.about-visual .badge strong { display: block; font-family: var(--serif); font-size: 30px; color: var(--gold-light); }
.about-copy .en { font-size: 12px; letter-spacing: 5px; color: var(--gold); text-transform: uppercase; }
.about-copy h2 { font-family: var(--serif); font-size: 32px; color: var(--navy); letter-spacing: 5px; margin: 12px 0 24px; }
.about-copy p { color: #555c66; margin-bottom: 14px; text-align: justify; }
.about-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.about-values .v { border: 1px solid var(--line); padding: 16px 18px; border-radius: 3px; transition: .3s; background: #fff; }
.about-values .v:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(11,31,58,.08); }
.about-values .v b { font-family: var(--serif); color: var(--navy); letter-spacing: 2px; }
.about-values .v span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: 1px; }

/* ---------- 产业布局 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card { background: #fff; border: 1px solid var(--line); padding: 44px 28px 38px; position: relative; overflow: hidden; transition: .35s; border-radius: 3px; }
.biz-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: .35s; }
.biz-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(11,31,58,.12); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-card .no { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 2px; }
.biz-card h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 14px 0 4px; letter-spacing: 3px; }
.biz-card .en { font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.biz-card p { margin-top: 18px; color: #5b626c; font-size: 14px; min-height: 84px; }
.biz-card .more { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--gold); letter-spacing: 2px; }
.biz-card .more::after { content: " →"; transition: .3s; }
.biz-card:hover .more::after { margin-left: 4px; }

/* ---------- 新闻 ---------- */
.news-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.news-lead { position: relative; background: var(--navy); color: #fff; padding: 46px 40px; border-radius: 3px; overflow: hidden; }
.news-lead::after { content: "NEWS"; position: absolute; right: -10px; bottom: -26px; font-family: var(--serif); font-size: 110px; font-weight: 900; color: rgba(255,255,255,.05); letter-spacing: 8px; }
.news-lead .cat { color: var(--gold-light); font-size: 12px; letter-spacing: 4px; }
.news-lead h3 { font-family: var(--serif); font-size: 24px; margin: 14px 0; letter-spacing: 1px; line-height: 1.5; }
.news-lead p { color: rgba(255,255,255,.72); font-size: 14px; }
.news-lead .date { margin-top: 26px; color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.news-list li { display: flex; gap: 24px; padding: 22px 4px; border-bottom: 1px dashed var(--line); align-items: baseline; transition: .25s; }
.news-list li:hover { padding-left: 12px; }
.news-list .d { font-family: var(--serif); color: var(--gold); font-size: 15px; min-width: 86px; letter-spacing: 1px; }
.news-list .d small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 2px; }
.news-list h4 a { font-size: 16px; color: var(--ink); font-weight: 600; display: block; }
.news-list h4 a:hover { color: var(--gold); }
.news-list p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.sec-more { text-align: center; margin-top: 54px; }

/* ---------- 发展历程 ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(var(--line), var(--gold), var(--line)); }
.tl-item { width: 50%; padding: 0 46px 48px; position: relative; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before { content: ""; position: absolute; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); }
.tl-item:nth-child(odd)::before { right: -6px; }
.tl-item:nth-child(even)::before { left: -6px; }
.tl-item .year { font-family: var(--serif); font-size: 24px; color: var(--gold); font-weight: 700; }
.tl-item h4 { color: var(--navy); font-size: 16px; margin: 4px 0; }
.tl-item p { color: var(--muted); font-size: 13px; }

/* ---------- 页面 Banner（内页头图） ---------- */
.page-banner { background: linear-gradient(120deg, var(--navy), #1d3a63); color: #fff; padding: 190px 0 70px; position: relative; overflow: hidden; }
.page-banner::after { content: attr(data-en); position: absolute; right: 4%; bottom: -18px; font-family: var(--serif); font-size: 90px; font-weight: 900; color: rgba(255,255,255,.06); letter-spacing: 10px; white-space: nowrap; }
.page-banner .crumbs { font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.page-banner h1 { font-family: var(--serif); font-size: 36px; letter-spacing: 8px; }
.page-banner h1 small { display: block; font-size: 12px; letter-spacing: 4px; color: var(--gold-light); margin-top: 8px; font-weight: 400; }

/* ---------- 内容页 ---------- */
.article-body { max-width: 860px; margin: 0 auto; padding: 70px 0 90px; }
.article-meta { color: var(--muted); font-size: 13px; letter-spacing: 1px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 30px; display: flex; gap: 26px; }
.article-content { font-size: 15.5px; color: #3a4149; }
.article-content p { margin-bottom: 16px; text-align: justify; }
.article-content h2, .article-content h3 { font-family: var(--serif); color: var(--navy); margin: 26px 0 12px; }
.article-content img { margin: 18px auto; border-radius: 4px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border: 1px solid var(--line); border-radius: 3px; padding: 30px 26px; transition: .3s; background: #fff; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(11,31,58,.1); border-color: var(--gold); }
.news-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.news-card .meta b { color: var(--gold); font-weight: 500; }
.news-card h3 { font-family: var(--serif); font-size: 17px; color: var(--navy); margin: 14px 0 10px; line-height: 1.6; }
.news-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.news-card .go { margin-top: 18px; font-size: 13px; color: var(--gold); letter-spacing: 2px; }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-info .item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.contact-info .item i { font-style: normal; width: 46px; height: 46px; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; border-radius: 2px; font-family: var(--serif); font-size: 17px; flex-shrink: 0; }
.contact-info .item b { display: block; color: var(--navy); letter-spacing: 2px; }
.contact-info .item span { color: var(--muted); font-size: 14px; }
.contact-form { background: var(--paper); border: 1px solid var(--line); padding: 36px; border-radius: 4px; }
.contact-form h3 { font-family: var(--serif); color: var(--navy); letter-spacing: 4px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px 14px; font-size: 14px; font-family: var(--sans); margin-bottom: 14px; border-radius: 2px; outline: none; transition: border .25s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-tip { padding: 12px 16px; border-radius: 3px; margin-bottom: 16px; font-size: 14px; }
.form-tip.ok { background: #e8f6ee; color: #0a8f4e; border: 1px solid #bfe6d0; }
.form-tip.err { background: #fdeceb; color: #c0392b; border: 1px solid #f5c6c1; }

/* ---------- 友情链接板块 ---------- */
.links-strip { padding: 44px 0 52px; border-top: 1px solid var(--line); background: #fff; }
.links-strip .head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.links-strip .head h3 { font-family: var(--serif); font-size: 20px; color: var(--navy); letter-spacing: 5px; white-space: nowrap; }
.links-strip .head .en { font-size: 11px; color: var(--muted); letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.links-strip .head .rule { flex: 1; height: 1px; background: var(--line); }
.links-list { display: flex; flex-wrap: wrap; gap: 12px; }
.links-list a { border: 1px solid var(--line); padding: 9px 22px; font-size: 13.5px; color: #5b626c; border-radius: 2px; transition: .25s; letter-spacing: 1px; }
.links-list a:hover { color: #fff; background: var(--navy); border-color: var(--navy); transform: translateY(-2px); }

/* ---------- 页脚 ---------- */
#site-footer { background: var(--navy); color: rgba(255,255,255,.66); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 50px; padding: 72px 0 54px; }
#site-footer .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .slogan { font-family: var(--serif); color: var(--gold-light); letter-spacing: 4px; font-size: 14px; margin-bottom: 20px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 10px; font-size: 13.5px; }
.footer-contact i { font-style: normal; color: var(--gold); font-family: var(--serif); flex-shrink: 0; }
#site-footer h4 { color: #fff; font-family: var(--serif); font-size: 16px; letter-spacing: 4px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
#site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); }
#site-footer .footer-col li { margin-bottom: 10px; font-size: 13.5px; }
#site-footer .footer-col a:hover { color: var(--gold-light); }
.friend-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12.5px; letter-spacing: 1px; color: rgba(255,255,255,.4); }

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

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .about-wrap, .news-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stat + .stat::before { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .main-nav { position: fixed; top: 84px; right: -100%; width: min(320px, 80vw); bottom: 0; background: rgba(11,31,58,.98); flex-direction: column; padding: 30px; gap: 6px; transition: right .35s; }
  .main-nav.open { right: 0; }
  .nav-toggle { display: block; }
  .timeline::before { left: 8px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 40px 40px; }
  .tl-item::before { left: 3px !important; right: auto !important; }
}
@media (max-width: 600px) {
  .biz-grid, .footer-top, .form-row { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
  .header-inner { height: 68px; }
  .main-nav { top: 68px; }
}
