/* ============================================================
   泉江科技 · 品牌宣传网站样式
   北京泉江科技有限责任公司 · 产教融合运营服务商
   ============================================================ */

:root {
  --navy: #0e2a4e;      /* 深藏蓝 */
  --brand: #1a4d8f;     /* 品牌蓝 */
  --blue: #3e7bd6;      /* 中蓝 */
  --sky: #9ec4ee;       /* 浅蓝 */
  --light: #eef4fb;     /* 浅蓝底 */
  --line: #d5e3f5;      /* 分隔线 */
  --gold: #e8a33d;      /* 点缀金 */
  --text: #24303e;      /* 正文 */
  --gray: #5f6e82;      /* 次要文字 */
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(14, 42, 78, .10);
  --shadow-lg: 0 14px 40px rgba(14, 42, 78, .16);
  --radius: 14px;
  --font: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 通用区块 ---------------- */
section { padding: 84px 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block; padding: 5px 18px; border-radius: 999px;
  background: var(--light); color: var(--brand);
  font-size: 13px; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px;
}
.section-title { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.section-title .gold { color: var(--gold); }
.section-sub { color: var(--gray); margin-top: 12px; font-size: 15px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 999px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all .25s ease; border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(232,163,61,.35); }
.btn-primary:hover { background: #f0b45c; transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { background: var(--navy); transform: translateY(-2px); }
.btn-ghost { border-color: var(--brand); color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: var(--white); }

/* ---------------- 顶部导航 ---------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 46px; height: 46px; object-fit: contain; }
.logo .logo-name { font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.logo .logo-name small { display: block; font-size: 10px; font-weight: 400; color: var(--gray); letter-spacing: 1.5px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--text); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand); transition: width .25s ease;
}
.nav a:hover, .nav a.active { color: var(--brand); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .btn { padding: 10px 24px; font-size: 14px; }
.nav .btn::after { display: none; }
.nav .btn-brand {
  background: linear-gradient(135deg, #f6b84e, var(--gold));
  color: #ffffff;
  border: none;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(232, 163, 61, .45);
}
.nav .btn-brand:hover {
  background: linear-gradient(135deg, var(--gold), #f0b45c);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 163, 61, .55);
}

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0e2a4e 0%, #163f77 45%, #1a4d8f 78%, #21599f 100%);
  color: var(--white); padding: 120px 0 0;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12);
}
.hero::before { width: 520px; height: 520px; right: -140px; top: -160px; }
.hero::after { width: 320px; height: 320px; right: 60px; top: 40px; border-color: rgba(232,163,61,.25); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-bottom: 84px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px;
  border-radius: 999px; border: 1px solid rgba(232,163,61,.6);
  color: #f6c98a; font-size: 13.5px; font-weight: 600; margin-bottom: 22px; letter-spacing: 1px;
}
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.hero h1 .hl { color: var(--gold); }
.hero p.lead { font-size: 17px; color: rgba(255,255,255,.82); margin-bottom: 34px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { margin-top: 44px; display: flex; gap: 40px; }
.hero-meta .item b { font-size: 26px; color: var(--gold); display: block; }
.hero-meta .item span { font-size: 13px; color: rgba(255,255,255,.7); }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 30px 28px; backdrop-filter: blur(6px);
}
.hero-card .hc-title { font-size: 16px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-card .hc-title i { color: var(--gold); font-style: normal; }
.hero-card .hc-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.16); font-size: 14px; }
.hero-card .hc-row:last-child { border-bottom: none; }
.hero-card .hc-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-card .hc-row .bar { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.16); overflow: hidden; }
.hero-card .hc-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #f6c98a); border-radius: 99px; }
.hero-card .hc-row .pct { color: var(--gold); font-weight: 700; font-size: 13px; }

/* ---------------- 数据带 ---------------- */
.stats-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .num { font-size: 42px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat-item .num em { font-style: normal; color: var(--gold); font-size: 26px; vertical-align: top; }
.stat-item .lab { color: var(--gray); font-size: 14px; margin-top: 6px; }

/* ---------------- 卡片网格 ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); transition: all .3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--blue)); color: var(--white);
  font-size: 24px; font-weight: 800;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 13.5px; color: var(--gray); line-height: 1.7; }
.card .more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--brand); }
.card .more::after { content: " →"; }

.card-blue {
  background: linear-gradient(150deg, var(--navy), var(--brand));
  color: var(--white); border: none;
}
.card-blue h3 { color: var(--white); }
.card-blue p { color: rgba(255,255,255,.82); }
.card-blue .icon { background: rgba(255,255,255,.14); }
.card-blue .more { color: var(--gold); }

/* ---------------- 产品区块 ---------------- */
.product-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 64px 0; border-bottom: 1px solid var(--line);
}
.product-row:last-child { border-bottom: none; }
.product-row.reverse .product-visual { order: 2; }
.product-row.reverse .product-info { order: 1; }
.product-info .p-tag { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: 2px; }
.product-info h2 { font-size: 30px; color: var(--navy); margin: 10px 0 14px; line-height: 1.3; }
.product-info .p-desc { color: var(--gray); margin-bottom: 22px; }
.product-info .p-points li {
  display: flex; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--text);
}
.product-info .p-points li::before { content: "✔"; color: var(--brand); font-weight: 800; }
.p-links { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.btn-sm { padding: 9px 22px; font-size: 13.5px; }
.card-links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.card-links .btn-sm { padding: 7px 18px; font-size: 12.5px; }
.product-visual {
  border-radius: 20px; padding: 42px 34px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0e2a4e, #1a4d8f); color: var(--white); min-height: 320px;
}
.product-visual .pv-big { font-size: 30px; font-weight: 800; line-height: 1.4; margin-bottom: 16px; }
.product-visual .pv-big em { color: var(--gold); font-style: normal; }
.product-visual .pv-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.product-visual .pv-tags span {
  padding: 6px 16px; border-radius: 999px; font-size: 12.5px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
}
.product-visual::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -70px; bottom: -90px;
  border-radius: 50%; border: 2px solid rgba(232,163,61,.35);
}

/* ---------------- 业务页面 ---------------- */
.page-hero {
  background: linear-gradient(160deg, #0e2a4e, #1a4d8f);
  color: var(--white); text-align: center; padding: 84px 0 70px; position: relative; overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); left: -140px; top: -160px; }
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 680px; margin: 0 auto; font-size: 15.5px; }

.biz-block { padding: 72px 0; border-bottom: 1px solid var(--line); }
.biz-block:last-child { border-bottom: none; }
.biz-block .biz-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.biz-block .biz-num {
  width: 62px; height: 62px; flex: none; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--brand));
  color: var(--white); font-size: 26px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.biz-block .biz-head h2 { font-size: 26px; color: var(--navy); }
.biz-block .biz-head p { color: var(--gray); font-size: 14px; }
.biz-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biz-feat {
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 10px; padding: 18px 20px; background: var(--white);
}
.biz-feat h4 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.biz-feat p { font-size: 13px; color: var(--gray); }

/* ---------------- 资质 / 优势 ---------------- */
.badge-wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px;
  border-radius: 999px; background: var(--light); border: 1px solid var(--line);
  font-weight: 700; color: var(--brand); font-size: 14.5px;
}
.badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

.advantage { background: var(--light); }
.adv-item { text-align: center; padding: 34px 22px; }
.adv-item .a-num {
  font-size: 34px; font-weight: 800; color: var(--gold); display: block; margin-bottom: 10px;
}
.adv-item h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.adv-item p { color: var(--gray); font-size: 13.5px; }

/* ---------------- CTA ---------------- */
.cta-band {
  background: linear-gradient(150deg, var(--navy), var(--brand));
  color: var(--white); text-align: center; padding: 72px 0; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(232,163,61,.3); right: -80px; bottom: -120px; }
.cta-band h2 { font-size: 32px; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); margin-bottom: 30px; }
.cta-band .btn-primary { background: var(--white); color: var(--navy); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f2f6fc; }

/* ---------------- 页脚 ---------------- */
.footer { background: #0a1c33; color: rgba(255,255,255,.75); padding: 60px 0 0; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 15.5px; margin-bottom: 18px; }
.footer .f-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .f-logo img { width: 44px; height: 44px; object-fit: contain; background: rgba(255,255,255,.9); border-radius: 10px; padding: 4px; }
.footer .f-logo b { color: var(--white); font-size: 17px; }
.footer ul li { padding: 5px 0; }
.footer ul a:hover { color: var(--gold); }
.footer .f-contact li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; }
.footer .f-contact i { color: var(--gold); font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ---------------- 时间线 ---------------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 40px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item::before {
  content: ""; position: absolute; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--brand);
}
.tl-item:nth-child(odd)::before { right: -8px; }
.tl-item:nth-child(even)::before { left: -8px; }
.tl-item .tl-year { font-size: 22px; font-weight: 800; color: var(--gold); }
.tl-item h3 { color: var(--navy); font-size: 17px; margin: 4px 0 6px; }
.tl-item p { color: var(--gray); font-size: 13.5px; }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-info .ci-item .ci-icon {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  background: var(--light); color: var(--brand); font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.contact-info .ci-item h4 { color: var(--navy); font-size: 15px; }
.contact-info .ci-item p { color: var(--gray); font-size: 14px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--navy); font-size: 20px; margin-bottom: 22px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 14px; color: var(--text); background: var(--light);
  transition: border .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand); background: var(--white);
}
.form-tip { font-size: 12px; color: var(--gray); margin-top: 10px; }

/* ---------------- 滚动动画 ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 992px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; background: var(--white);
    flex-direction: column; gap: 0; padding: 12px 0 20px;
    box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .3s ease;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 24px; width: 100%; }
  .nav a::after { display: none; }
  .nav .btn { margin: 10px 24px 0; width: calc(100% - 48px); text-align: center; }
  .burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-row { grid-template-columns: 1fr; gap: 34px; }
  .product-row.reverse .product-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .biz-feats { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .timeline::before { left: 12px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 44px 44px; }
  .tl-item::before { left: 4px !important; right: auto !important; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2, .biz-feats { grid-template-columns: 1fr; }
  .section-title { font-size: 27px; }
  .hero h1 { font-size: 30px; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 30px; }
}
