/* ===========================================================
   野望电商 YEWANG — 官网样式表
   适配：桌面 / 平板 / 手机；中文优先，兼容英文版
   =========================================================== */

:root {
  --ink: #0D2B27;
  --brand: #11554B;
  --brand-dark: #0B3F38;
  --brand-mid: #2C7A6C;
  --brand-100: #E4F0ED;
  --brand-50: #F2F8F6;
  --accent: #C0803C;
  --accent-100: #FBF2E6;
  --text: #16211F;
  --text-2: #56655F;
  --text-3: #8B9A95;
  --line: #E3EAE7;
  --line-soft: #EFF3F1;
  --bg: #FFFFFF;
  --bg-2: #F6F8F7;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(13, 43, 39, .04), 0 8px 24px -12px rgba(13, 43, 39, .12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 语言切换 ---------- */
html[data-lang="zh"] .en { display: none !important; }
html[data-lang="en"] .zh { display: none !important; }

/* ---------- 布局 ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--bg { background: var(--bg-2); }
.section--brand { background: var(--brand-dark); color: #fff; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-size: 16px; font-weight: 600; letter-spacing: -.5px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__cn { font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.logo__en { font-size: 10px; letter-spacing: 2px; color: var(--text-3); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--text-2); transition: .18s;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a.is-active { color: var(--brand); font-weight: 500; background: var(--brand-50); }

.lang { display: flex; gap: 2px; padding: 3px; background: var(--bg-2); border-radius: 8px; }
.lang button {
  border: 0; background: transparent; padding: 5px 11px; border-radius: 6px;
  font-size: 12px; color: var(--text-3); letter-spacing: .5px; transition: .18s;
}
.lang button.is-on { background: #fff; color: var(--brand); font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.06); }

.burger {
  display: none; margin-left: 0; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--text); }

/* 待确认内容占位 */
.tbd {
  color: #A9762F; background: #FBF2E6; border-radius: 4px;
  padding: 1px 7px; font-size: .92em; white-space: nowrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; transition: .2s; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.34); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--line { border-color: var(--line); color: var(--text); background: #fff; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 首屏 ---------- */
.hero {
  background: var(--brand-dark); color: #fff; position: relative; overflow: hidden;
  padding: 104px 0 96px;
}
.hero::after {
  content: ""; position: absolute; right: -180px; top: -180px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,128,60,.20), transparent 68%);
}
.hero__inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero__tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  font-size: 12.5px; letter-spacing: .6px; color: rgba(255,255,255,.86); margin-bottom: 26px;
}
.hero h1 {
  margin: 0 0 22px; font-size: 44px; line-height: 1.3;
  font-weight: 600; letter-spacing: -.5px; max-width: 720px;
}
.hero p { margin: 0 0 36px; font-size: 16.5px; line-height: 1.85; color: rgba(255,255,255,.76); max-width: 620px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 首屏数据条 */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.13); margin-top: 68px; padding-top: 34px;
}
.stat { padding-right: 20px; }
.stat b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.5px; line-height: 1.2; }
.stat b i { font-size: 15px; font-style: normal; font-weight: 400; margin-left: 2px; color: rgba(255,255,255,.6); }
.stat span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- 标题块 ---------- */
.head { max-width: 720px; margin-bottom: 48px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: block; font-size: 12px; letter-spacing: 2.4px;
  color: var(--accent); font-weight: 500; margin-bottom: 14px;
}
.head h2 { margin: 0 0 14px; font-size: 30px; line-height: 1.4; font-weight: 600; letter-spacing: -.3px; }
.head p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.85; }
.section--brand .head h2 { color: #fff; }
.section--brand .head p { color: rgba(255,255,255,.72); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; transition: .22s;
}
.card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__no {
  width: 34px; height: 34px; border-radius: 9px; background: var(--brand-50);
  color: var(--brand); display: grid; place-items: center;
  font-size: 14px; font-weight: 600; margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.8; }

/* ---------- 理念 ---------- */
.creed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; }
.creed > div { background: var(--brand-dark); padding: 34px 28px; }
.creed b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.creed span { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.68); }

/* ---------- 六大友好 ---------- */
.friendly { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.friendly__item {
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
  background: #fff; transition: .22s;
}
.friendly__item:hover { border-color: var(--accent); background: #FFFCF8; }
.friendly__item h4 { margin: 0 0 10px; font-size: 15.5px; font-weight: 600; color: var(--brand-dark); }
.friendly__item p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--text-2); }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1.5px; background: var(--line);
}
.tl { position: relative; padding-bottom: 42px; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: -34px; top: 7px;
  width: 15px; height: 15px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.tl--key::before { border-color: var(--accent); }
.tl__date { font-size: 13px; letter-spacing: 1px; color: var(--accent); font-weight: 500; margin-bottom: 6px; }
.tl h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.tl p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.85; }

/* ---------- 表格 ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 16px 22px; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
th { background: var(--bg-2); font-weight: 500; color: var(--text-2); font-size: 13px; letter-spacing: .3px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--brand-50); }
td b { font-weight: 600; }
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand); font-size: 12px; white-space: nowrap;
}
.pill--hot { background: var(--accent-100); color: var(--accent); }

/* ---------- 动态列表 ---------- */
.news-item {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.news-item:first-child { padding-top: 0; }
.news-item__date { flex-shrink: 0; width: 120px; }
.news-item__date b { display: block; font-size: 14px; font-weight: 500; }
.news-item__date span { font-size: 12.5px; color: var(--text-3); }
.news-item h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 600; }
.news-item h3 a:hover { color: var(--brand); }
.news-item p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ---------- 页头（内页） ---------- */
.pagehead {
  background: var(--brand-50); border-bottom: 1px solid var(--line);
  padding: 60px 0 54px;
}
.pagehead h1 { margin: 0 0 12px; font-size: 34px; font-weight: 600; letter-spacing: -.4px; }
.pagehead p { margin: 0; color: var(--text-2); font-size: 15.5px; max-width: 640px; }

/* ---------- 图文两栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: flex-start; }
.prose p { margin: 0 0 18px; color: var(--text-2); font-size: 15.5px; line-height: 1.95; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }

.panel {
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: var(--r-lg); padding: 36px;
}
.panel h3 { margin: 0 0 18px; font-size: 18px; font-weight: 600; color: var(--brand-dark); }
.panel ul { margin: 0; padding: 0; list-style: none; }
.panel li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 14.5px; color: var(--text-2); }
.panel li:last-child { margin-bottom: 0; }
.panel li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-mid);
}

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: #fff; }
.contact-card h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 1.2px; color: var(--accent); font-weight: 500; }
.contact-card p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--text); }
.contact-card small { display: block; margin-top: 8px; font-size: 13px; color: var(--text-3); }

/* ---------- CTA ---------- */
.cta { background: var(--brand-dark); color: #fff; text-align: center; padding: 76px 0; }
.cta h2 { margin: 0 0 14px; font-size: 28px; font-weight: 600; }
.cta p { margin: 0 0 30px; color: rgba(255,255,255,.72); font-size: 15.5px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: #08201C; color: rgba(255,255,255,.6); padding: 60px 0 30px; font-size: 13.5px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h5 { margin: 0 0 16px; font-size: 13px; color: #fff; font-weight: 500; letter-spacing: .6px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .logo__mark { background: rgba(255,255,255,.12); }
.footer .logo__cn { color: #fff; }
.footer .logo__en { color: rgba(255,255,255,.4); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; font-size: 12.5px; color: rgba(255,255,255,.42);
}
.footer__bottom a:hover { color: #fff; }

/* ---------- 提示条 ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--accent-100); border: 1px solid #EFDCC2;
  border-radius: var(--r); padding: 16px 20px; font-size: 13.5px; color: #7A5A2E;
}
.notice strong { font-weight: 600; }

/* ---------- 滚动浮现 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 图片 ---------- */
.photo { width: 100%; border-radius: var(--r); display: block; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 3; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-grid .photo { aspect-ratio: 4 / 3; }
.caption { margin: 10px 0 0; font-size: 12.5px; color: var(--text-3); }
.qr { width: 148px; height: 148px; border-radius: 10px; border: 1px solid var(--line); padding: 8px; background: #fff; }

/* ---------- 价值主张 ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values > div {
  border: 1px solid var(--brand-100); background: var(--brand-50);
  border-radius: var(--r); padding: 30px 26px; text-align: center;
}
.values b { display: block; font-size: 17px; font-weight: 600; color: var(--brand-dark); margin-bottom: 8px; }
.values span { font-size: 14px; color: var(--text-2); }

/* ---------- 愿景 ---------- */
.vision {
  border-left: 3px solid var(--accent); background: var(--bg-2);
  border-radius: 0 var(--r) var(--r) 0; padding: 28px 32px;
}
.vision p { margin: 0; font-size: 16.5px; line-height: 1.9; color: var(--text); }

/* ---------- 品牌关键词 ---------- */
.brandwords { display: flex; flex-wrap: wrap; gap: 12px; }
.brandwords span {
  padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-2); background: #fff;
}

/* ---------- 招聘公告条 ---------- */
.refbar {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; background: var(--brand-dark); color: #fff;
  border-radius: var(--r); padding: 24px 30px;
}
.refbar b { font-size: 15.5px; font-weight: 600; }
.refbar small { display: block; font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split { gap: 40px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__inner { gap: 12px; }
  .lang { margin-left: auto; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; left: 0; right: 0; top: 68px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; box-shadow: 0 12px 24px -16px rgba(0,0,0,.2);
  }
  .section { padding: 64px 0; }
  .hero { padding: 76px 0 68px; }
  .hero h1 { font-size: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat { padding-right: 12px; }
  .stat b { font-size: 25px; }
  .head h2 { font-size: 25px; }
  .pagehead h1 { font-size: 27px; }
  .g2, .g3, .g4, .creed, .friendly, .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .panel { padding: 26px; }
  .news-item { flex-direction: column; gap: 10px; }
  .news-item__date { width: auto; }
  .footer__top { grid-template-columns: 1fr; }
}
