/* ============================================================
   繁兴 THRIVE URBAN DEVELOPMENT — 全站样式
   品牌色：深蓝 + 橙 / 白底 / 响应式
   ============================================================ */

:root {
  --brand-blue: #0E3CC8;
  --brand-blue-dark: #0A2A8C;
  --brand-blue-50: #EEF2FF;
  --brand-orange: #F15A22;
  --brand-orange-dark: #D9491A;

  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --ink: #1A1F2E;
  --muted: #5B6472;
  --line: #E6E8EF;
  --navy: #14213D;

  --maxw: 1200px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(20, 33, 61, .06);
  --shadow-md: 0 10px 30px rgba(20, 33, 61, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Hiragino Sans GB",
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0; font-weight: 800; letter-spacing: .5px; }

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

.en { display: none; }            /* 英文文本默认隐藏，由 JS 控制 */
html[data-lang="en"] .zh { display: none; }
html[data-lang="en"] .en { display: revert; }

/* ---------- 通用区块 ---------- */
section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--navy);
}
.section-title .accent { color: var(--brand-blue); }
.section-lead {
  margin-top: 16px;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.tag-bar { font-size: 12px; letter-spacing: 4px; color: var(--brand-blue); font-weight: 700; text-transform: uppercase; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-orange { background: var(--brand-orange); color: #fff; }
.btn-orange:hover { background: var(--brand-orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-outline { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-outline:hover { background: var(--brand-blue); color: #fff; }

/* ============================================================
   头部导航
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--ink);
  border-radius: 8px; transition: color .2s, background .2s;
}
.nav-menu a:hover { color: var(--brand-blue); background: var(--brand-blue-50); }
.nav-menu a.active { color: var(--brand-blue); }
.nav-menu a.active::after {
  content: ""; display: block; height: 3px; border-radius: 3px;
  background: var(--brand-orange); margin: 4px 16px 0;
}
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 14px; font-weight: 700; font-size: 13px; color: var(--brand-blue);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--brand-blue); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: .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; color: #fff; padding: 0; overflow: hidden;
  min-height: 620px; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,28,80,.92) 0%, rgba(10,28,80,.74) 45%, rgba(14,60,200,.42) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 56px);
  letter-spacing: 2px; max-width: 16em;
}
.hero h1 .hl { color: #fff; }
.hero .sub { font-size: clamp(17px, 2.2vw, 22px); margin-top: 22px; color: rgba(255,255,255,.9); font-weight: 600; }
.hero .pillbar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px;
}
.hero .pill b { color: var(--brand-orange); }
.hero .cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  position: relative; color: #fff; min-height: 320px; display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,28,80,.92), rgba(14,60,200,.55));
}
.page-hero .container { position: relative; z-index: 2; padding: 70px 24px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 46px); }
.page-hero p { margin-top: 14px; color: rgba(255,255,255,.88); font-size: 18px; max-width: 700px; }

/* ============================================================
   数据条
   ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat .num { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--brand-blue); line-height: 1; }
.stat .num .unit { font-size: .5em; color: var(--brand-orange); margin-left: 2px; }
.stat .label { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* 深色背景上的数据条 */
.stats-dark .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); box-shadow: none; }
.stats-dark .stat .num { color: #fff; }
.stats-dark .stat .label { color: rgba(255,255,255,.8); }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d6def8; }
.card .idx { font-size: 14px; font-weight: 800; color: var(--brand-orange); letter-spacing: 2px; }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-blue-50); color: var(--brand-blue); margin-bottom: 18px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card ul { margin: 12px 0 0; padding-left: 0; list-style: none; }
.card ul li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14.5px; margin: 6px 0; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 2px; background: var(--brand-orange); }

.card.featured { border-top: 4px solid var(--brand-blue); }
.card.featured .ico { background: var(--brand-blue); color: #fff; }

/* 价值三段（带连接编号） */
.value-card { text-align: left; }
.value-card .big-idx { font-size: 46px; font-weight: 800; color: var(--brand-blue-50); line-height: 1; }
.value-card.v-orange .big-idx { color: #FBE3D8; }

/* 经验优势横条 */
.exp-row {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.exp-row:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.exp-row:nth-child(even) { border-left-color: var(--brand-orange); }
.exp-row .no { font-size: 30px; font-weight: 800; color: var(--brand-blue); min-width: 56px; }
.exp-row:nth-child(even) .no { color: var(--brand-orange); }
.exp-row h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.exp-row p { color: var(--muted); font-size: 15px; margin: 0; }
.stack { display: grid; gap: 16px; }

/* 痛点 / FAB */
.pain-list { display: grid; gap: 12px; }
.pain {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600;
}
.pain .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-orange); flex: none; }
.fab { display: grid; gap: 16px; }
.fab-item { display: flex; gap: 16px; align-items: flex-start; }
.fab-item .l { font-size: 34px; font-weight: 800; color: var(--brand-blue); min-width: 50px; line-height: 1; }
.fab-item:nth-child(2) .l { color: var(--brand-orange); }
.fab-item small { display: block; color: var(--brand-orange); font-weight: 700; font-size: 12px; letter-spacing: 1px; }
.fab-item p { margin: 4px 0 0; color: var(--ink); font-weight: 600; }

/* 行业朋友圈图标网格 */
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.chip {
  text-align: center; padding: 22px 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; font-weight: 700; color: var(--navy); font-size: 15px;
  transition: transform .2s var(--ease), border-color .2s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--brand-blue); }
.chip .ci { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--brand-blue); }

/* 流程步骤 */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; position: relative; }
.flow .step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-blue); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.flow .step:nth-child(1) .n { background: var(--brand-orange); }
.flow .step h4 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.flow .step p { color: var(--muted); font-size: 14px; margin: 0; }

/* CTA 横幅 */
.cta-band {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-blue-dark), var(--brand-blue));
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 38px); }
.cta-band .slogan-en { font-size: clamp(20px, 3vw, 30px); color: var(--brand-orange); font-style: italic; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.88); margin: 14px auto 28px; max-width: 640px; font-size: 18px; }

/* ============================================================
   联系页
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-blue-50); color: var(--brand-blue); display: grid; place-items: center; flex: none; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item .t { font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.info-item .v { font-size: 17px; font-weight: 600; color: var(--ink); }
.info-item a.v:hover { color: var(--brand-blue); }

.qr-box { text-align: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.qr-box img { width: 200px; height: 200px; margin: 0 auto 14px; background: #fff; padding: 8px; border-radius: 10px; object-fit: contain; box-shadow: var(--shadow-sm); }
.qr-box .cap { font-weight: 700; color: var(--navy); }
.qr-box .sub { color: var(--muted); font-size: 14px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-blue); }
.field textarea { resize: vertical; min-height: 110px; }

.map-embed { margin-top: 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); padding: 56px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; max-width: 30em; }
.footer-brand .slogan { color: var(--brand-orange); font-style: italic; margin-top: 12px; font-weight: 600; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   动画
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 14px 12px; border-radius: 10px; }
  .nav-menu a.active::after { display: none; }
  .nav-menu a.active { background: var(--brand-blue-50); }
  .hero { min-height: 540px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero .cta { flex-direction: column; align-items: stretch; }
  .hero .cta .btn { justify-content: center; }
}
