/* ===== 海傲普福官网 全局样式 ===== */
:root {
  /* 品牌色取自《海傲普福公司宣传册20260624》主题色 */
  --brand: #ED7613;
  --brand-deep: #D0640A;
  --gold: #FFC000;
  --navy: #212745;
  --ink: #212745;
  --ink-2: #2D3748;
  --line: #E8E4DE;
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --radius: 14px;
  --font-serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---- 顶部导航 ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 34px; align-items: center; list-style: none; }
.nav-links a { font-size: 15px; color: var(--ink-2); padding: 6px 2px; position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.on { color: var(--ink); font-weight: 600; }
.nav-links a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.nav-cta {
  font-size: 14px; font-weight: 600; color: #fff !important;
  background: var(--brand); padding: 9px 20px !important; border-radius: 999px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--brand-deep); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---- Hero ---- */
.hero { padding: 96px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(232,115,12,.10), transparent 65%);
  pointer-events: none;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .14em; color: var(--brand); font-weight: 600;
  border: 1px solid rgba(232,115,12,.35); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 26px; background: rgba(232,115,12,.06);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.32; font-weight: 700; letter-spacing: .01em;
  margin-bottom: 22px; max-width: 16em;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.sub { font-size: 17px; color: var(--ink-2); max-width: 42em; margin-bottom: 38px; }
.hero-acts { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; font-size: 15px; font-weight: 600;
  padding: 13px 30px; border-radius: 999px; transition: all .2s; cursor: pointer; border: 0;
}
.btn-pri { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(232,115,12,.28); }
.btn-pri:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---- 数据条 ---- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 44px); color: var(--brand); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--ink-2); }

/* ---- 通用 section ---- */
.sec { padding: 88px 0; }
.sec-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 52px; }
.sec-tag { font-size: 13px; letter-spacing: .18em; color: var(--brand); font-weight: 700; margin-bottom: 12px; }
.sec-title { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; font-weight: 700; }
.sec-desc { margin-top: 14px; color: var(--ink-2); max-width: 44em; font-size: 15.5px; }

/* ---- 卡片网格 ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(23,32,46,.08); border-color: rgba(232,115,12,.4); }
.card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card .no {
  font-family: var(--font-serif); font-size: 15px; color: var(--brand); font-weight: 700;
  display: inline-block; margin-bottom: 12px; letter-spacing: .08em;
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(232,115,12,.1); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.card .more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--brand); font-weight: 600; }

/* ---- 园区名单 ---- */
.parks { display: flex; flex-wrap: wrap; gap: 14px; }
.park {
  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 10px 24px; font-size: 15px; color: var(--ink-2); transition: all .2s;
}
.park:hover { border-color: var(--brand); color: var(--brand); }

/* ---- 流程 ---- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--font-serif); font-size: 26px; color: var(--brand); font-weight: 700;
  flex: 0 0 56px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ---- 案例 ---- */
.case-img {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff;
}
.case-img img { width: 100%; height: auto; }
.case-cap { padding: 14px 18px; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--line); }
.case-cap b { color: var(--ink); }
.honor img { width: 100%; height: 260px; object-fit: contain; background: #fff; padding: 12px; }

/* ---- 首屏布局 ---- */
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* ---- 首屏荣誉轮播 ---- */
.hslider {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; background: var(--card);
  box-shadow: 0 20px 50px rgba(23,32,46,.10);
}
.hslider-track { display: flex; transition: transform .55s cubic-bezier(.22,.8,.3,1); }
.hslide { flex: 0 0 100%; position: relative; }
.hslide-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.hslide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(26px) brightness(1.04); transform: scale(1.25);
}
.hslide-img img {
  position: relative; width: 100%; height: 100%; object-fit: contain; padding: 14px;
}
.hslide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 13px;
  background: linear-gradient(transparent, rgba(20,24,40,.78));
  pointer-events: none;
}
.hslide-cap b { display: block; font-size: 15px; color: #fff; }
.hslide-cap span { font-size: 12.5px; color: rgba(255,255,255,.78); }
.hslider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(20,24,40,.38); color: #fff; font-size: 21px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.hslider-btn:hover { background: var(--brand); }
.hslider-btn.prev { left: 12px; }
.hslider-btn.next { right: 12px; }
.hslider-dots { position: absolute; top: 12px; right: 14px; display: flex; gap: 6px; }
.hslider-dots i {
  width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.55);
  box-shadow: 0 1px 4px rgba(20,24,40,.25); cursor: pointer; transition: all .25s;
}
.hslider-dots i.on { width: 18px; background: var(--brand); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- 联系/CTA ---- */
.cta-band {
  background: linear-gradient(135deg, #212745, #2E3A5E);
  color: #fff; border-radius: 20px; padding: 60px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.72); font-size: 15px; max-width: 34em; }
.cta-qr { text-align: center; flex: 0 0 auto; }
.cta-qr img { width: 132px; height: 132px; border-radius: 12px; border: 4px solid #fff; }
.cta-qr span { display: block; margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.75); }

/* ---- 页脚 ---- */
.footer { border-top: 1px solid var(--line); padding: 46px 0 34px; margin-top: 90px; background: var(--card); }
.footer-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer img.logo { height: 30px; margin-bottom: 14px; }
.footer p, .footer li { font-size: 13.5px; color: var(--ink-2); line-height: 2; list-style: none; }
.footer h4 { font-size: 14px; margin-bottom: 10px; color: var(--ink); }
.icp { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; font-size: 12.5px; color: #9aa3b2; }

/* ---- 页面头 ---- */
.page-hero { padding: 76px 0 60px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 4.4vw, 46px); line-height: 1.3; margin-bottom: 16px; }
.page-hero p { color: var(--ink-2); max-width: 44em; font-size: 16px; }
.crumb { font-size: 13px; color: var(--ink-2); margin-bottom: 22px; letter-spacing: .06em; }
.crumb b { color: var(--brand); font-weight: 600; }

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

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 28px 22px; gap: 4px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a.on::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .hero { padding: 64px 0 56px; }
  .sec { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .cta-band { padding: 42px 30px; }
  .hero h1 br, .page-hero h1 br { display: none; }
  .hero-kicker { font-size: 12px; letter-spacing: .08em; padding: 5px 12px; }
}

/* ---- 文章详情页 ---- */
.article-hero { padding-bottom: 30px; }
.article-tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand);
  background: rgba(237,118,19,.10); border: 1px solid rgba(237,118,19,.25);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.article-meta { margin-top: 14px; font-size: 13.5px; color: #9aa3b2; }
.article-sec { padding-top: 10px; }
.article-body {
  max-width: 760px; font-size: 16.5px; line-height: 1.9; color: var(--ink-2);
}
.article-body h2 {
  font-family: var(--font-serif); font-size: 24px; color: var(--ink);
  margin: 44px 0 16px; padding-left: 14px; border-left: 4px solid var(--brand);
}
.article-body h3 { font-size: 18.5px; color: var(--ink); margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 1.4em; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 24px 0; padding: 18px 22px; background: var(--card);
  border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0;
  color: var(--ink); font-size: 15.5px;
}
.article-body img { border-radius: 12px; margin: 24px auto 8px; max-width: 100%; }
.article-body figcaption { text-align: center; font-size: 13px; color: #9aa3b2; margin-bottom: 24px; }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; background: var(--card);
}
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--bg); font-weight: 600; color: var(--ink); }
.article-body strong { color: var(--ink); }
.article-related { max-width: 760px; margin-top: 56px; }
.article-related h3 {
  font-family: var(--font-serif); font-size: 20px; margin-bottom: 16px; color: var(--ink);
}
.article-related .step { margin-bottom: 12px; }
@media (max-width: 720px) {
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 21px; }
  .article-body table { font-size: 13px; display: block; overflow-x: auto; }
}
