/* ============================================================
   天津云众联电子商务有限公司 企业官网
   主题：简约大气 · 商务科技蓝 + 金色点缀
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-soft-2: #eef3fa;
  --ink: #12233f;        /* 主文字：深藏青 */
  --ink-2: #52627a;      /* 次级文字 */
  --ink-3: #7b8aa0;      /* 弱化文字 */
  --brand: #1e3a8a;      /* 主品牌蓝 */
  --brand-deep: #0f2a52; /* 深蓝（首屏/页脚） */
  --brand-mid: #2563eb;  /* 明亮蓝（链接/强调） */
  --accent: #c7a34a;     /* 金色点缀 */
  --line: #e6ecf4;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(15, 42, 82, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 82, 0.14);
  --maxw: 1180px;
  --nav-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-mid); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--ink); }

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

/* 章节通用 */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent);
}

.section-title { font-size: clamp(26px, 4vw, 38px); margin-bottom: 16px; }
.section-sub { color: var(--ink-2); max-width: 680px; font-size: 17px; }

/* ===================== 顶部导航 ===================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.28);
}
.brand__name { font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.2; }
.brand__sub { font-size: 11px; color: var(--ink-3); letter-spacing: 1px; }

.nav__links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav__links a {
  display: block; padding: 8px 16px; border-radius: 9px;
  color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: all .18s ease;
}
.nav__links a:hover { color: var(--brand); background: var(--bg-soft); }
.nav__links a.active { color: var(--brand); background: var(--bg-soft); font-weight: 600; }

.nav__cta {
  background: var(--brand); color: #fff !important;
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: all .18s ease;
}
.nav__cta:hover { background: var(--brand-deep); }

.nav__toggle {
  display: none; border: none; background: var(--bg-soft);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===================== 首屏 Hero ===================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(199, 163, 74, 0.18), transparent 55%),
    linear-gradient(150deg, #0c1f3f 0%, #12294f 45%, #1e3a6a 100%);
  color: #fff; padding: 108px 0 128px;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; color: #cfe0ff;
  margin-bottom: 26px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.hero h1 {
  color: #fff; font-size: clamp(34px, 6vw, 58px);
  letter-spacing: 1px; margin-bottom: 22px; max-width: 720px;
}
.hero h1 .hl { color: #f0c96b; }
.hero p.lead {
  color: #c7d4ec; font-size: 18px; max-width: 640px; margin-bottom: 38px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: all .2s ease; cursor: pointer; border: none;
}
.btn--primary { background: var(--brand-mid); color: #fff; box-shadow: 0 10px 26px rgba(37, 99, 235, .35); }
.btn--primary:hover { background: #1d4ed8; color: #fff; transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn--gold { background: var(--accent); color: #1a1404; }
.btn--gold:hover { background: #d8b45c; color: #1a1404; transform: translateY(-2px); }

.hero__stats {
  display: flex; gap: 48px; flex-wrap: wrap; margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 32px;
}
.stat__num { font-size: 32px; font-weight: 800; color: #fff; }
.stat__num em { font-style: normal; color: #f0c96b; }
.stat__label { font-size: 13px; color: #9fb3d6; margin-top: 2px; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: all .22s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #d8e2f2; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf1ff, #f3f7ff); margin-bottom: 18px;
  font-size: 24px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

/* 服务块 */
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px; position: relative; overflow: hidden;
  transition: all .22s ease;
}
.service:hover { box-shadow: var(--shadow-lg); }
.service::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: linear-gradient(var(--brand-mid), var(--accent)); opacity: 0; transition: opacity .2s;
}
.service:hover::before { opacity: 1; }
.service__tag {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--brand);
  background: var(--bg-soft); padding: 4px 12px; border-radius: 999px;
}
.service h3 { font-size: 22px; margin: 16px 0 12px; }
.service p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.service ul { list-style: none; }
.service ul li {
  position: relative; padding-left: 22px; color: var(--ink-2); font-size: 14.5px;
  margin-bottom: 8px;
}
.service ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700;
}

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step__num {
  font-size: 40px; font-weight: 800; color: #e7edf8; line-height: 1; margin-bottom: 12px;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14px; }

/* ===================== 关于页 ===================== */
.about-hero { background: linear-gradient(150deg, #0c1f3f, #1e3a6a); color: #fff; padding: 80px 0; }
.about-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }
.about-hero p { color: #c7d4ec; max-width: 700px; font-size: 17px; }

.about-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-block .txt p { color: var(--ink-2); margin-bottom: 16px; font-size: 16px; }
.about-block .txt h2 { margin-bottom: 18px; }

.quote {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff; border-radius: var(--radius-lg); padding: 44px 40px;
}
.quote p { font-size: 20px; line-height: 1.6; margin-bottom: 16px; }
.quote .who { color: #9fb3d6; font-size: 14px; }

.mission-card { text-align: center; padding: 34px 26px; }
.mission-card .num { font-size: 30px; font-weight: 800; color: var(--brand); }

/* ===================== 联系我们 ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 16px;
}
.contact-item .ic {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--bg-soft); display: grid; place-items: center; font-size: 20px;
}
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { color: var(--ink-2); font-size: 14.5px; }

/* 直接联系卡片 */
.contact-value { font-size: 24px; font-weight: 800; color: var(--brand); margin-bottom: 20px; }
.contact-value--sm { font-size: 18px; word-break: break-all; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: var(--font); color: var(--ink); margin-bottom: 18px;
  transition: border-color .18s, box-shadow .18s; background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; }

/* ===================== FAQ ===================== */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand-mid); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); font-size: 15px; margin-top: 12px; }

/* ===================== 页脚 ===================== */
.footer { background: var(--brand-deep); color: #b9c7de; padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer a { color: #b9c7de; font-size: 14px; display: block; margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #8ba0c4; }
.footer__desc { color: #8ba0c4; font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0;
  text-align: center; font-size: 13px; color: #7e93b8;
}

/* ===================== 通用工具 ===================== */
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-40 { margin-bottom: 40px; }

/* ===================== 响应式 ===================== */
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-block, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 80px 0 90px; }
  .grid--3, .grid--4, .grid--2, .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px; display: none;
  }
  .nav__links.open { display: flex; }
  .nav__cta { text-align: center; }
  .nav__toggle { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 淡入动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
