/* ============================================================
   共赢同成企业官网 · 全站样式
   设计风格：专业稳重 · 商务蓝
   ============================================================ */

:root {
  --navy: #0A2540;
  --blue: #103A6B;
  --accent: #1E6FD9;
  --accent-soft: #E8F1FC;
  --gold: #C8A45C;
  --gold-soft: #F6EFE0;

  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --text: #1F2933;
  --muted: #5A6B7B;
  --line: #E3E8EF;

  --container: 1160px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(16, 58, 107, 0.06);
  --shadow: 0 10px 30px rgba(16, 58, 107, 0.10);
  --shadow-lg: 0 18px 50px rgba(16, 58, 107, 0.16);
  --header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section__eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 12px;
}
.section__title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section__lead { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1.5px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(30,111,217,.28); }
.btn--primary:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo img { height: 36px; width: auto; }
.nav__logo-text { font-size: 19px; font-weight: 800; letter-spacing: 1px; color: var(--text); }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__link { color: var(--text); font-weight: 500; font-size: 15.5px; position: relative; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s;
}
.nav__link:hover, .nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after { width: 100%; }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0A2540 0%, #103A6B 55%, #1E6FD9 130%);
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(200,164,92,.30), transparent 70%); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding: 96px 0 104px; max-width: 760px; }
.hero__badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 13.5px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); margin-bottom: 22px;
}
.hero__title { color: #fff; font-size: clamp(32px, 5vw, 56px); line-height: 1.15; margin-bottom: 20px; }
.hero__title .accent { color: var(--gold); }
.hero__subtitle { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.86); max-width: 620px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats bar ---------- */
.stats { background: var(--navy); color: #fff; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 38px 0; text-align: center;
}
.stat__num { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat__label { font-size: 14.5px; color: rgba(255,255,255,.78); margin-top: 6px; }

/* ============================================================
   Cards / Grids
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card--gold .card__icon { background: var(--gold-soft); color: var(--gold); }
.card__title { font-size: 19px; margin-bottom: 8px; }
.card__num { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.card__text { color: var(--muted); font-size: 15px; margin: 0; }
.card__list { margin-top: 14px; }
.card__list li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14.5px; margin-bottom: 6px; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

/* ============================================================
   Feature / Split rows
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__title { font-size: clamp(24px, 3vw, 32px); }
.split__text { color: var(--muted); font-size: 16.5px; }
.lead-text { font-size: 17px; color: var(--text); }

/* ============================================================
   Timeline 发展历程
   ============================================================ */
.timeline { position: relative; max-width: 840px; margin: 0 auto; padding-left: 4px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--gold)); }
.tl-item { position: relative; padding: 0 0 36px 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 6px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl-year { font-size: 20px; font-weight: 800; color: var(--accent); }
.tl-title { font-size: 17px; margin: 4px 0 4px; color: var(--navy); }
.tl-text { color: var(--muted); font-size: 15px; margin: 0; }

/* ============================================================
   Values 价值观
   ============================================================ */
.value-card { text-align: left; }
.value-card .card__num { font-size: 13px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }

/* ============================================================
   Founder
   ============================================================ */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; }
.founder__photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.founder__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag { background: var(--accent-soft); color: var(--blue); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; font-weight: 500; }

/* ============================================================
   Certificates 资质
   ============================================================ */
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert-card__img { background: var(--bg-alt); padding: 22px; }
.cert-card__img img { margin: 0 auto; max-height: 260px; width: auto; border: 1px solid var(--line); }
.cert-card__body { padding: 22px 24px 26px; }
.cert-card__body h3 { font-size: 18px; margin-bottom: 6px; }
.cert-card__body p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============================================================
   Gallery 办公环境
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); height: 240px; width: 100%; object-fit: cover; }
.gallery .gallery__wide { grid-column: span 2; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .ci-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.contact-list .ci-icon svg { width: 22px; height: 22px; }
.contact-list .ci-label { font-size: 13.5px; color: var(--muted); }
.contact-list .ci-value { font-size: 16.5px; font-weight: 600; color: var(--navy); }
.qr-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow-sm); }
.qr-card img { width: 200px; margin: 0 auto 14px; border-radius: var(--radius-sm); }
.qr-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Page hero (内页) ---------- */
.page-hero { background: linear-gradient(135deg, #0A2540, #103A6B); color: #fff; padding: 70px 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto; font-size: 17px; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--accent)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 28px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer p { margin: 0 0 8px; }
.footer-brand .logo-text { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: -1; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder__photo { max-width: 240px; margin: 0 auto; }
  .founder__tags { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s; border-top: 1px solid var(--line);
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 12px 24px 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: flex; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .gallery__wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__inner { padding: 66px 0 72px; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}
