/* ============================================================
   山东研友商务服务有限公司 · 企业官网
   全局样式表 v1.0
   设计风格：简约大气 / 商务蓝 + 暖金点缀 / 全响应式
   ============================================================ */

:root {
  --navy: #14304d;
  --navy-2: #1d3f63;
  --navy-3: #24527d;
  --accent: #c9a45c;
  --accent-soft: #e8d9b5;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-deep: #0f2438;
  --text: #2b3640;
  --muted: #6b7785;
  --line: #e6eaf0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 16px rgba(20, 48, 77, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 48, 77, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 48, 77, 0.16);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ============ 文字与标题 ============ */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--bg-deep); color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: 1px;
}
.section--deep .section-title { color: #fff; }

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
}
.section--deep .section-sub { color: rgba(255,255,255,0.72); }

.head-center { text-align: center; }
.head-center .section-sub { margin-left: auto; margin-right: auto; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #1c1408; }
.btn--primary:hover { background: #b8923f; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }

/* ============ 顶部导航 ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.header.is-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: 12px; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--accent);
  display: grid; place-items: center;
  font-weight: 800; font-size: 20px;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.brand__name { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.brand__name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 1px; }

.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--text);
  position: relative; padding: 6px 0; transition: color 0.25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--navy); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; padding: 6px 0; }
.nav__toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 首页 Hero ============ */
.hero {
  position: relative;
  padding: 168px 0 110px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(36,82,125,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(201,164,92,0.12), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
}
.hero h1 .hl { color: var(--accent); }
.hero__lead { margin-top: 22px; font-size: 17px; color: var(--muted); max-width: 520px; }
.hero__tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__tags span {
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy-2); font-weight: 500;
}
.hero__actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero__visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(201,164,92,0.30), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08), transparent 45%);
}
.hero__visual .badge {
  position: relative; text-align: center; color: #fff; padding: 30px;
}
.hero__visual .badge .num { font-size: 56px; font-weight: 800; color: var(--accent); line-height: 1; }
.hero__visual .badge .lbl { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,0.8); letter-spacing: 1px; }
.hero__float {
  position: absolute; background: rgba(255,255,255,0.95); border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow-md); font-size: 13px; color: var(--navy); font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.hero__float .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ec28a; box-shadow: 0 0 0 4px rgba(46,194,138,0.2); }
.hero__float.f1 { top: 12%; left: -6%; }
.hero__float.f2 { bottom: 14%; right: -6%; }

/* ============ 数据条 ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 20px; }
.stat__num { font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat__lbl { margin-top: 10px; font-size: 14px; color: rgba(255,255,255,0.78); }

/* ============ 卡片网格 ============ */
.grid { display: grid; gap: 28px; margin-top: 56px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--accent); transition: width 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { width: 100%; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(20,48,77,0.06), rgba(201,164,92,0.12));
  display: grid; place-items: center; margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 1.8; }
.card h3 { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }
.card__list { margin-top: 16px; }
.card__list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ============ 优势 / 流程 ============ */
.feature { display: flex; gap: 20px; }
.feature__no {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy); color: var(--accent); font-weight: 800; font-size: 18px;
  display: grid; place-items: center;
}
.feature__body h4 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.feature__body p { color: var(--muted); font-size: 15px; }

/* ============ 流程时间线 ============ */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 56px; }
.step { text-align: center; position: relative; padding: 0 8px; }
.step__circle {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--accent); color: var(--navy);
  display: grid; place-items: center; font-size: 22px; font-weight: 800;
}
.step h4 { font-size: 17px; color: var(--navy); }
.step p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: 60%; width: 80%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
}

/* ============ CTA 横幅 ============ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: 28px; }
.cta-band p { color: rgba(255,255,255,0.78); margin-top: 10px; max-width: 560px; }

/* ============ 页脚 ============ */
.footer { background: var(--bg-deep); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 16px; font-size: 14px; max-width: 280px; }
.footer h5 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: 14px; transition: color 0.25s; }
.footer__links a:hover { color: var(--accent); }
.footer__contact li { font-size: 14px; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ic { color: var(--accent); flex-shrink: 0; }
.footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer__bottom a { color: rgba(255,255,255,0.5); transition: color 0.25s; }
.footer__bottom a:hover { color: var(--accent); text-decoration: underline; }

/* ============ 关于页 ============ */
.about-hero { padding: 160px 0 80px; background: linear-gradient(180deg,#f7f9fc,#fff); }
.about-hero h1 { font-size: 42px; color: var(--navy); font-weight: 800; }
.about-hero p { margin-top: 20px; max-width: 720px; color: var(--muted); font-size: 17px; }
.timeline { margin-top: 40px; border-left: 2px solid var(--line); padding-left: 28px; }
.timeline__item { position: relative; padding-bottom: 36px; }
.timeline__item::before {
  content: ""; position: absolute; left: -35px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(201,164,92,0.18);
}
.timeline__year { font-weight: 800; color: var(--navy); font-size: 18px; }
.timeline__item p { color: var(--muted); margin-top: 6px; }
.value-grid .card { text-align: center; }

/* ============ 服务详情 ============ */
.svc-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-item {
  display: flex; gap: 22px; padding: 30px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: #fff; transition: 0.3s var(--ease);
}
.svc-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc-item__icon {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); display: grid; place-items: center;
}
.svc-item__icon svg { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.svc-item h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.svc-item p { font-size: 14px; color: var(--muted); }
.svc-item .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-item .tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--navy-2); }

/* ============ 联系页 ============ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info li { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-info .ic {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); display: grid; place-items: center;
}
.contact-info .ic svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.contact-info h4 { font-size: 16px; color: var(--navy); }
.contact-info p { font-size: 15px; color: var(--muted); margin-top: 4px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form .field { margin-bottom: 20px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--bg-soft);
  transition: border-color 0.25s, background 0.25s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.form textarea { resize: vertical; min-height: 120px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hint { font-size: 12px; color: var(--muted); margin-top: 14px; }
.form__msg {
  display: none; margin-top: 16px; padding: 12px 16px; border-radius: 10px;
  background: rgba(46,194,138,0.12); color: #1d7a55; font-size: 14px; font-weight: 600;
}
.form__msg.show { display: block; }

.map {
  margin-top: 48px; height: 320px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background:
    repeating-linear-gradient(45deg, #eef2f6 0 14px, #e7edf3 14px 28px);
  display: grid; place-items: center; color: var(--muted); font-size: 15px; text-align: center;
}

/* ============ 返回顶部 ============ */
.totop {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: 0.3s var(--ease); z-index: 900;
}
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--navy-3); }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero__float.f1 { left: 0; }
  .hero__float.f2 { right: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .step:not(:last-child)::after { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-120%); transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn { display: none; }
  .hero { padding: 130px 0 70px; }
  .hero h1 { font-size: 32px; }
  .hero__lead { font-size: 15px; }
  .section-title { font-size: 26px; }
  .grid--3, .grid--2, .svc-detail { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat__num { font-size: 30px; }
  .process { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .cta-band h2 { font-size: 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .form .row { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 30px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 27px; }
  .stat { padding: 12px 6px; }
}
