/* 奇巧匠人官网主样式
   视觉基调：简约大气 / 企业级 / 水务蓝 */

:root {
  --blue-900: #0a2a4a;
  --blue-800: #0e3d68;
  --blue-700: #1156a0;
  --blue-600: #0d7fd4;
  --blue-500: #1e90ff;
  --blue-400: #4fb0ff;
  --blue-100: #e3f0fd;
  --blue-50: #f2f8ff;

  --orange: #f08a24;
  --orange-light: #ffa94d;

  --ink-900: #10151c;
  --ink-800: #1d242e;
  --ink-700: #333c48;
  --ink-600: #4d5766;
  --ink-500: #6b7482;
  --ink-400: #949cab;

  --line: #e5e9f0;
  --bg-soft: #f7f9fc;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(13, 63, 110, 0.07);
  --shadow-lg: 0 12px 44px rgba(13, 63, 110, 0.13);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-800);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ============ 顶部导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(16,21,28,.05); }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 34px; margin-left: auto; }
.nav-links a {
  font-size: 15px; color: var(--ink-600); position: relative;
  padding: 6px 0; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--blue-600);
  transition: width .28s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { color: var(--blue-700); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 9px 20px; border-radius: 8px; font-size: 15px;
  background: var(--blue-600); color: #fff !important;
  transition: background .2s, transform .2s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--blue-700); transform: translateY(-1px); }
.nav-toggle { display: none; width: 40px; height: 40px; margin-left: auto; border: none; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink-800); border-radius: 2px; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid #f0f3f8; }
  .nav-cta { text-align: center; margin-top: 14px; }
  .nav-toggle { display: block; }
  .nav-links + .nav-cta { display: none; }
}

/* ============ 首屏 ============ */
.hero {
  position: relative; padding: 168px 0 108px; overflow: hidden;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
}
.hero::before {
  content: ""; position: absolute; top: -180px; right: -140px;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,255,.10) 0%, rgba(30,144,255,0) 68%);
}
.hero::after {
  content: ""; position: absolute; bottom: -260px; left: -180px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,138,36,.07) 0%, rgba(240,138,36,0) 68%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 100px; font-size: 13.5px;
  background: #fff; border: 1px solid var(--blue-100); color: var(--blue-700);
  box-shadow: 0 2px 10px rgba(13,63,110,.06); margin-bottom: 26px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: block; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.18;
  font-weight: 700; color: var(--ink-900); letter-spacing: -0.5px; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--blue-600); }
.hero-sub { font-size: 17px; color: var(--ink-600); max-width: 520px; margin-bottom: 36px; line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 10px; font-size: 15.5px; font-weight: 500;
  transition: all .25s cubic-bezier(.4,0,.2,1); cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 20px rgba(13,127,212,.28); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(13,127,212,.34); }
.btn-ghost { background: #fff; color: var(--ink-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-700); transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats div span {
  display: block; font-size: 30px; font-weight: 700; color: var(--ink-900);
  line-height: 1.25; letter-spacing: -0.5px;
}
.hero-stats div span b { color: var(--blue-600); font-weight: 700; }
.hero-stats div label { font-size: 13.5px; color: var(--ink-500); }

.hero-visual { position: relative; }
.hero-shot {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: #fff; border: 1px solid var(--line);
}
.hero-shot img { width: 100%; }
.hero-float {
  position: absolute; background: #fff; border-radius: 14px; padding: 14px 18px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
}
.hero-float.one { left: -30px; bottom: 44px; }
.hero-float.two { right: -18px; top: -26px; }
.hero-float .fi {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-100);
}
.hero-float .fi svg { width: 19px; height: 19px; stroke: var(--blue-700); }
.hero-float b { display: block; font-size: 15px; color: var(--ink-900); line-height: 1.4; }
.hero-float label { font-size: 12.5px; color: var(--ink-500); }

@media (max-width: 1000px) {
  .hero { padding: 128px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-float.one { left: 12px; }
  .hero-float.two { right: 8px; }
}

/* ============ 通用区块 ============ */
.section { padding: 104px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--ink-900); color: #fff; }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.sec-head .tag {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  color: var(--blue-600); margin-bottom: 14px; text-transform: uppercase;
}
.sec-head h2 { font-size: clamp(27px, 3.3vw, 40px); font-weight: 700; color: var(--ink-900); line-height: 1.3; letter-spacing: -0.4px; }
.sec-head p { font-size: 16px; color: var(--ink-500); margin-top: 16px; line-height: 1.8; }
.section.dark .sec-head h2 { color: #fff; }
.section.dark .sec-head p { color: rgba(255,255,255,.6); }

/* ============ 价值主张 ============ */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: all .3s cubic-bezier(.4,0,.2,1);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.value .vi {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 20px; background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
}
.value .vi svg { width: 23px; height: 23px; stroke: #fff; }
.value h3 { font-size: 17.5px; font-weight: 600; color: var(--ink-900); margin-bottom: 11px; }
.value p { font-size: 14.5px; color: var(--ink-500); line-height: 1.75; }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }

/* ============ 产品体系 ============ */
.prod-core {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center;
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--blue-800) 100%);
  border-radius: var(--radius-lg); padding: 54px 58px; color: #fff; overflow: hidden;
  position: relative;
}
.prod-core::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 460px; height: 460px;
  border-radius: 50%; background: radial-gradient(circle, rgba(30,144,255,.28) 0%, transparent 68%);
}
.prod-core .eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.5px; color: var(--orange-light); margin-bottom: 18px;
}
.prod-core h3 { font-size: clamp(24px, 2.8vw, 33px); font-weight: 700; line-height: 1.35; margin-bottom: 20px; position: relative; }
.prod-core p { color: rgba(255,255,255,.72); font-size: 15.5px; line-height: 1.85; margin-bottom: 30px; position: relative; }
.prod-core-points { display: grid; gap: 13px; margin-bottom: 32px; position: relative; }
.prod-core-points li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.85); }
.prod-core-points svg { width: 18px; height: 18px; stroke: var(--orange-light); flex-shrink: 0; margin-top: 3px; }
.prod-core-visual { position: relative; z-index: 2; }
.prod-core-visual img { border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.3); width: 100%; }
@media (max-width: 950px) { .prod-core { grid-template-columns: 1fr; padding: 38px 30px; gap: 34px; } }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .3s cubic-bezier(.4,0,.2,1); position: relative; overflow: hidden;
}
.prod::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod:hover::before { transform: scaleX(1); }
.prod .pn {
  font-size: 12px; font-weight: 700; color: var(--blue-400); letter-spacing: 1.2px; margin-bottom: 14px;
}
.prod h3 { font-size: 18px; font-weight: 600; color: var(--ink-900); margin-bottom: 12px; }
.prod p { font-size: 14px; color: var(--ink-500); line-height: 1.75; margin-bottom: 18px; }
.prod .tags { display: flex; flex-wrap: wrap; gap: 7px; }
.prod .tags span {
  font-size: 12px; padding: 4px 10px; border-radius: 6px;
  background: var(--blue-50); color: var(--blue-700);
}
@media (max-width: 980px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .prod-grid { grid-template-columns: 1fr; } }

/* ============ 能力架构 ============ */
.arch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.arch-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.arch-col > h4 {
  font-size: 15.5px; font-weight: 600; color: var(--ink-900); margin-bottom: 6px;
  display: flex; align-items: center; gap: 9px;
}
.arch-col > h4 i { width: 7px; height: 7px; border-radius: 2px; display: block; }
.arch-col > p { font-size: 13px; color: var(--ink-400); margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.arch-list { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-list span {
  font-size: 13px; padding: 6px 12px; border-radius: 7px;
  background: var(--bg-soft); color: var(--ink-700); border: 1px solid var(--line);
  transition: .2s;
}
.arch-list span:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
@media (max-width: 900px) { .arch { grid-template-columns: 1fr; } }

/* ============ 客户案例 ============ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 22px; font-size: 14.5px; color: var(--ink-700);
  transition: all .28s cubic-bezier(.4,0,.2,1);
}
.case:hover { border-color: var(--blue-400); color: var(--blue-700); transform: translateY(-3px); box-shadow: var(--shadow); }
.case-more { text-align: center; margin-top: 40px; color: var(--ink-500); font-size: 14.5px; }
@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }

/* ============ 资质 ============ */
.certs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cert {
  padding: 11px 20px; border-radius: 8px; font-size: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-700);
  transition: .25s;
}
.cert:hover { border-color: var(--blue-400); color: var(--blue-700); transform: translateY(-2px); }

/* ============ 客户 logo 墙 ============ */
.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.logo-wall div {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 12px; text-align: center; font-size: 13.5px; color: var(--ink-600);
  transition: .28s; line-height: 1.5;
}
.logo-wall div:hover { border-color: var(--blue-400); color: var(--blue-700); box-shadow: var(--shadow); }
@media (max-width: 980px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* ============ 关于我们 ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h3 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 700; color: var(--ink-900); line-height: 1.4; margin-bottom: 22px; }
.about-text p { font-size: 15.5px; color: var(--ink-600); line-height: 1.9; margin-bottom: 16px; }
.about-nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 36px; }
.about-nums div { background: var(--bg-soft); border-radius: 12px; padding: 22px; border: 1px solid var(--line); }
.about-nums span { display: block; font-size: 29px; font-weight: 700; color: var(--blue-600); line-height: 1.3; }
.about-nums label { font-size: 13.5px; color: var(--ink-500); }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 40px; } }

/* ============ 联系 CTA ============ */
.cta-box {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
  border-radius: var(--radius-lg); padding: 62px 56px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,144,255,.26) 0%, transparent 66%);
}
.cta-box h2 { font-size: clamp(25px, 3vw, 35px); font-weight: 700; margin-bottom: 16px; position: relative; }
.cta-box p { color: rgba(255,255,255,.72); font-size: 16px; margin-bottom: 34px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-white { background: #fff; color: var(--blue-700) !important; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.btn-line { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.28); }
.btn-line:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ============ 页脚 ============ */
.footer { background: var(--ink-900); color: rgba(255,255,255,.6); padding: 66px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 52px; }
.footer-brand img { height: 36px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-col h5 { font-size: 15px; color: #fff; font-weight: 600; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px;
}
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============ 动效 ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}