/* ==========================================================
   坤力起重 KUNLI Lifting — 全局样式
   配色：深海军蓝 / 钢灰 / 安全橙
   ========================================================== */
:root {
  --navy: #0e1c2e;
  --navy-2: #16293f;
  --steel: #42586e;
  --ink: #1c2836;
  --muted: #6b7c8d;
  --accent: #f07300;
  --accent-dark: #d06400;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --line: #e3e8ee;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(14, 28, 46, .08);
  --shadow-sm: 0 4px 14px rgba(14, 28, 46, .07);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

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

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

/* ---------- 顶部语言条 + 头部 ---------- */
.topbar {
  background: var(--navy);
  color: #c7d3e0;
  font-size: 12.5px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 34px; gap: 12px;
}
.topbar .slogan { letter-spacing: .5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  color: #c7d3e0; font-size: 12px; padding: 2px 10px; border-radius: 20px;
  cursor: pointer; transition: .2s; font-family: inherit;
}
.lang-switch button:hover { border-color: var(--accent); color: #fff; }
.lang-switch button.active {
  background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand .logo {
  width: 42px; height: 42px; flex: 0 0 42px;
  background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.brand .logo svg { width: 26px; height: 26px; }
.brand .name { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand .name b { font-size: 17px; color: var(--navy); white-space: nowrap; }
.brand .name span { font-size: 11.5px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; }

.main-nav { display: flex; gap: 6px; }
.main-nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px;
  color: var(--steel); font-weight: 500; transition: .2s;
}
.main-nav a:hover { color: var(--navy); background: var(--bg-soft); }
.main-nav a.active { color: var(--accent); background: rgba(240,115,0,.08); font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 8px;
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

/* ---------- 首页 Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(240,115,0,.16), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1d3550 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 70% 40%, #000 30%, transparent 75%);
}
.hero .container {
  position: relative; display: grid;
  grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding-top: 84px; padding-bottom: 84px;
}
.hero .tag {
  display: inline-block; font-size: 13px; letter-spacing: 3px;
  color: #ffb26b; border: 1px solid rgba(255,178,107,.4);
  padding: 5px 16px; border-radius: 30px; margin-bottom: 22px;
  text-transform: uppercase;
}
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: .5px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { margin: 22px 0 34px; color: #b9c7d6; font-size: 17px; max-width: 560px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px; font-size: 15.5px; font-weight: 600;
  cursor: pointer; transition: .2s; border: 1px solid transparent; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1a3050; }

.hero .art { display: flex; justify-content: center; }
.hero .art svg { width: 100%; max-width: 400px; height: auto; }

/* ---------- 页面横幅（内页） ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #24405e 100%);
  color: #fff; padding: 58px 0 54px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; right: -80px; bottom: -120px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,115,0,.25), transparent 65%);
}
.page-banner h1 { font-size: 34px; font-weight: 700; position: relative; }
.page-banner p { color: #b9c7d6; margin-top: 10px; position: relative; }
.crumbs { font-size: 13px; color: #8ea0b3; margin-bottom: 14px; position: relative; }
.crumbs a:hover { color: #fff; }

/* ---------- 统计条 ---------- */
.stats { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding-top: 34px; padding-bottom: 34px;
}
.stat { text-align: center; }
.stat b { display: block; font-size: 34px; color: var(--navy); font-weight: 700; }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- 通用 Section ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .kicker {
  color: var(--accent); font-weight: 700; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; color: var(--navy); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- 卡片网格 ---------- */
.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; transition: .25s; box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5dde6; }
.card .icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(240,115,0,.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .more {
  display: inline-block; margin-top: 14px; color: var(--accent);
  font-weight: 600; font-size: 14px;
}

/* 产品卡片 */
.product-card .thumb {
  background: linear-gradient(150deg, #eef2f7, #e2e9f1);
  border-radius: 8px; height: 170px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--steel);
}
.product-card .thumb svg { width: 90px; height: 90px; }
.product-card ul { margin-top: 12px; }
.product-card li {
  color: var(--muted); font-size: 13.5px; padding: 4px 0 4px 18px; position: relative;
}
.product-card li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent);
}

/* ---------- 业务范围 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-item {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  border-top: 3px solid var(--accent); box-shadow: var(--shadow-sm);
  transition: .25s;
}
.biz-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.biz-item b { display: block; color: var(--navy); font-size: 16.5px; margin-bottom: 8px; }
.biz-item span { color: var(--muted); font-size: 14px; }

/* ---------- 为什么选择我们 ---------- */
.why-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item .num {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px;
  background: var(--navy); color: #fff; font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), #24405e);
  color: #fff; padding: 64px 0; text-align: center;
}
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: #b9c7d6; max-width: 620px; margin: 0 auto 30px; }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.about-grid h2 { font-size: 28px; color: var(--navy); margin-bottom: 18px; }
.about-grid p { color: var(--steel); margin-bottom: 14px; }
.about-art {
  background: linear-gradient(150deg, var(--navy), #24405e);
  border-radius: 14px; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9); padding: 30px;
}
.about-art svg { width: 200px; height: 200px; color: var(--accent); }

.scope-list li {
  position: relative; padding: 12px 0 12px 34px;
  border-bottom: 1px dashed var(--line); color: var(--steel); font-size: 15px;
}
.scope-list li::before {
  content: "✓"; position: absolute; left: 6px; top: 12px;
  color: var(--accent); font-weight: 700;
}

/* 时间线 */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.tl-item { position: relative; padding: 0 0 34px 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 5px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent);
}
.tl-item b { color: var(--accent); font-size: 14px; letter-spacing: 1px; }
.tl-item h3 { color: var(--navy); font-size: 17px; margin: 2px 0 6px; }
.tl-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.info-card {
  background: var(--navy); color: #fff; border-radius: 14px;
  padding: 38px 32px; height: 100%;
}
.info-card h3 { font-size: 20px; margin-bottom: 24px; }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { color: var(--accent); flex: 0 0 22px; padding-top: 3px; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row b { display: block; font-size: 13px; color: #9db0c3; margin-bottom: 3px; font-weight: 600; }
.info-row span { font-size: 15px; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 38px 32px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg-soft);
  transition: .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(240,115,0,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-success {
  display: none; margin-top: 16px; padding: 13px 16px; border-radius: 8px;
  background: #e8f7ee; color: #177245; font-size: 14.5px; border: 1px solid #bfe6cf;
}
.form-success.show { display: block; }

/* ---------- 隐私政策 ---------- */
.policy-body { max-width: 860px; margin: 0 auto; }
.policy-body .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.policy-sec { margin-bottom: 34px; }
.policy-sec h2 {
  font-size: 20px; color: var(--navy); margin-bottom: 12px;
  padding-left: 14px; border-left: 4px solid var(--accent);
}
.policy-sec p, .policy-sec li { color: var(--steel); font-size: 15px; margin-bottom: 10px; }
.policy-sec ul { list-style: disc; padding-left: 24px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #9db0c3; padding: 64px 0 0; font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .5px; }
.site-footer .fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.site-footer .fbrand .logo {
  width: 38px; height: 38px; background: var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}
.site-footer .fbrand b { color: #fff; font-size: 15px; }
.site-footer li { padding: 5px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: 13px; color: #74889c;
}

/* ---------- 回到顶部 ---------- */
.backtop {
  position: fixed; right: 26px; bottom: 26px; width: 44px; height: 44px;
  border-radius: 50%; border: none; background: var(--accent); color: #fff;
  cursor: pointer; opacity: 0; pointer-events: none; transition: .25s;
  box-shadow: 0 6px 18px rgba(240,115,0,.4); z-index: 90;
}
.backtop.show { opacity: 1; pointer-events: auto; }
.backtop:hover { background: var(--accent-dark); }
.backtop svg { width: 20px; height: 20px; margin: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .hero .art { display: none; }
  .grid-3, .grid-4, .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .topbar .slogan { display: none; }
  .topbar .container { justify-content: center; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 24px 16px; gap: 4px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .hero h1 { font-size: 32px; }
  .page-banner h1 { font-size: 27px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .biz-grid, .why-wrap, .form-row { grid-template-columns: 1fr; }
  .brand .name span { display: none; }
  .brand .name b { font-size: 15px; }
}
