/* ==========================================================================
   河南省中恒实业集团有限公司 · 官网样式
   现代科技蓝主题 | 响应式 | 纯净静态站
   ========================================================================== */

:root {
  --primary: #0a58ff;
  --primary-600: #0943c7;
  --primary-soft: #e8f0ff;
  --red: #e60012;
  --red-soft: #ffe8ea;
  --navy: #0b1f3f;
  --navy-800: #0d2a52;
  --ink: #17243a;
  --muted: #5b6b82;
  --line: #e6ebf3;
  --bg: #f5f8fc;
  --white: #ffffff;
  --grad: linear-gradient(120deg, #0a58ff 0%, #1e8fff 55%, #00c6ff 100%);
  --grad-soft: linear-gradient(120deg, rgba(10,88,255,.08), rgba(0,198,255,.08));
  --shadow-sm: 0 2px 10px rgba(11,31,63,.06);
  --shadow-md: 0 12px 32px rgba(11,31,63,.10);
  --shadow-lg: 0 24px 60px rgba(11,31,63,.14);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- 通用组件 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 2px; color: var(--primary);
  font-weight: 700; text-transform: uppercase;
}
.section-head .eyebrow::before, .section-head .eyebrow::after {
  content: ""; width: 22px; height: 2px; background: var(--primary); opacity: .5;
}
.section-head .eyebrow::before { background: var(--red); opacity: .9; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--navy); margin: 14px 0 12px; line-height: 1.25; }
.section-head p { color: var(--muted); font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: .25s ease; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(10,88,255,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10,88,255,.36); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.7); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-soft); }

.tag {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: var(--red-soft); color: var(--red); font-size: 12.5px; font-weight: 600;
}

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.82); font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar .tb-item { display: flex; align-items: center; gap: 6px; }
.topbar .tb-right { display: flex; gap: 22px; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #33d17a; display: inline-block; }
.topbar a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img, .brand svg { width: 40px; height: 40px; object-fit: contain; }
.brand .brand-text { line-height: 1.15; }
.brand .brand-text strong { display: block; font-size: 17px; color: var(--red); letter-spacing: .5px; }
.brand .brand-text span { font-size: 11px; color: var(--muted); letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links a { display: flex; align-items: center; gap: 5px; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--ink); border-radius: 8px; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-links .caret { font-size: 10px; transition: transform .2s; }
.nav-links li:hover .caret { transform: rotate(180deg); }

.dropdown { position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 200; }
.nav-links li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 10px 14px; border-radius: 9px; gap: 10px; align-items: flex-start; }
.dropdown a .dd-t { font-weight: 600; font-size: 14.5px; display: block; line-height: 1.4; }
.dropdown a .dd-d { font-size: 12px; color: var(--muted); display: block; line-height: 1.4; }
.dropdown a:hover { background: var(--primary-soft); }
.dropdown a:hover .dd-t { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 10px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px auto; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #0d2a52 0%, #0b1f3f 45%, #081630 100%); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(10,88,255,.35), transparent 70%),
    radial-gradient(500px 300px at 90% 30%, rgba(0,198,255,.22), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 96px 24px; max-width: var(--maxw); margin: 0 auto; }
.hero .eyebrow { color: #ff8a80; letter-spacing: 3px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.18; margin: 18px 0 20px; letter-spacing: .5px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 18px; color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 24px; backdrop-filter: blur(6px); }
.stat-card .num { font-size: 40px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat-card .num small { font-size: 20px; font-weight: 700; }
.stat-card .label { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 6px; }

/* ---------- 板块卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .28s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--red); }
.card .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--primary); font-weight: 600; font-size: 14px; }
.card .more:hover { gap: 10px; }

/* ---------- 关于/正文页面 ---------- */
.page-hero { background: radial-gradient(900px 400px at 80% -20%, #0d2a52, #0b1f3f 60%, #081630); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 15% 20%, rgba(10,88,255,.3), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero .crumb { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
.page-hero h1::after { content: ""; display: block; width: 60px; height: 4px; background: var(--red); margin-top: 18px; border-radius: 2px; }
.page-hero p { color: rgba(255,255,255,.78); margin-top: 12px; max-width: 720px; font-size: 16.5px; }

.prose { max-width: 860px; }
.prose h2 { font-size: 24px; color: var(--navy); margin: 40px 0 14px; }
.prose h3 { font-size: 18px; color: var(--navy); margin: 28px 0 10px; }
.prose p { color: #38475e; margin-bottom: 14px; }
.prose ul { margin: 12px 0 18px; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: #38475e; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.feature-list .f-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.feature-list .f-item strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: 15px; }
.feature-list .f-item span { color: var(--muted); font-size: 13.5px; }

/* ---------- 时间线（发展历程） ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(var(--primary), #00c6ff); opacity: .3; }
.timeline .t-item { position: relative; padding: 0 0 40px 26px; }
.timeline .t-item::before { content: ""; position: absolute; left: -33px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 0 4px rgba(10,88,255,.12); }
.timeline .t-year { display: inline-block; font-weight: 800; color: var(--primary); font-size: 16px; margin-bottom: 6px; }
.timeline .t-item h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.timeline .t-item p { color: #38475e; }

/* ---------- 荣誉 ---------- */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.honor-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; display: flex; align-items: center; gap: 12px; }
.honor-item .h-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 800; }
.honor-item span { color: var(--ink); font-size: 14.5px; font-weight: 500; }

/* ---------- 团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: .25s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card .avatar { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; }
.team-card h4 { color: var(--navy); font-size: 16.5px; }
.team-card .role { color: var(--primary); font-size: 13.5px; font-weight: 600; margin: 4px 0 10px; }
.team-card p { color: var(--muted); font-size: 13px; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card .news-cover { height: 170px; background: var(--grad); position: relative; }
.news-card .news-cover.v2 { background: linear-gradient(120deg,#0b1f3f,#0a58ff); }
.news-card .news-cover.v3 { background: linear-gradient(120deg,#0a58ff,#00c6ff); }
.news-card .news-cover.v4 { background: linear-gradient(120deg,#0d2a52,#1e8fff); }
.news-card .news-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { color: var(--muted); font-size: 13px; margin: 8px 0; }
.news-card h3 { font-size: 16.5px; color: var(--navy); line-height: 1.5; }
.news-card p { color: var(--muted); font-size: 14px; margin-top: 8px; flex: 1; }
.news-card .more { color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 14px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info .c-item { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.contact-info .c-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.contact-info .c-item h4 { color: var(--navy); font-size: 15.5px; }
.contact-info .c-item p { color: var(--muted); font-size: 14px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-form h3 { color: var(--navy); font-size: 20px; margin-bottom: 6px; }
.contact-form .hint { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; color: var(--ink); transition: .2s; background: #fbfcfe;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(10,88,255,.12); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: 24px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--red); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 26px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 0; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand svg, .footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand strong { color: #fff; font-size: 17px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-grid p { font-size: 14px; line-height: 1.8; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 14px; transition: .2s; }
.footer-grid ul a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .cards, .news-grid, .honor-grid, .feature-list, .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 0 12px; display: none; }
  .nav-links li.open .dropdown { display: block; }
  .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .section { padding: 60px 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 团队简历页 ---------- */
.resume-head { display: flex; align-items: center; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; margin-bottom: 40px; }
.resume-head .avatar-lg { width: 112px; height: 112px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 44px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.resume-head h2 { font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.resume-head .r-role { color: var(--primary); font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.resume-head .r-note { color: var(--muted); font-size: 13px; }
.team-card { display: block; }
.team-card .view { display: inline-block; margin-top: 12px; color: var(--primary); font-size: 13px; font-weight: 600; }
.team-card:hover .view { text-decoration: underline; }
.resume-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--primary); font-weight: 600; }
.resume-back:hover { gap: 10px; }
@media (max-width: 720px) { .resume-head { flex-direction: column; text-align: center; } }

/* ---------- 知识学习 · 文章图库 ---------- */
.article-cover { display:block; max-height:460px; width:auto; max-width:100%; margin:0 auto 26px; border-radius:12px; box-shadow:var(--shadow-sm); }
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:22px 0; }
.gallery a { display:block; overflow:hidden; border-radius:10px; }
.gallery img { width:100%; height:180px; object-fit:cover; border-radius:10px; transition:.25s; display:block; }
.gallery a:hover img { transform:scale(1.04); }
@media (max-width:720px){ .gallery{grid-template-columns:repeat(2,1fr);} .gallery img{height:130px;} }

/* ---------- 招聘岗位卡片 ---------- */
.job-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.job-top h3 { margin-bottom: 0; }
.salary { color: var(--red); font-weight: 700; font-size: 16px; white-space: nowrap; }
.job-meta { color: var(--muted); font-size: 13px; margin: 6px 0 10px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.source-note { background: var(--bg); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 13.5px; color: var(--muted); margin-top: 28px; }
.source-note a { color: var(--primary); }

/* ---------- 公司风采图集 ---------- */
.g-title { font-size: 22px; color: var(--navy); margin: 34px 0 4px; }
.g-title .g-count { font-size: 13px; color: var(--red); font-weight: 600; margin-left: 6px; }
.g-desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.gallery { margin: 14px 0; }
