/* ==========================================================================
   东丞科技（北京）有限公司 — 企业官网样式
   纯静态 · 系统字体栈 · 深蓝科技色系
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy-950: #061726;
  --navy-900: #071C30;
  --navy-800: #0A2540;
  --navy-700: #103454;
  --navy-600: #17466E;
  --blue: #1B6BE8;
  --blue-hover: #1458C4;
  --blue-light: #4D9AFF;
  --ink: #16283C;
  --text: #3D4F63;
  --muted: #6E8095;
  --line: #E4EBF2;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, .06);
  --shadow-md: 0 12px 32px rgba(10, 37, 64, .10);
  --shadow-lg: 0 24px 64px rgba(10, 37, 64, .16);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.75; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 700; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
::selection { background: rgba(27, 107, 232, .18); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: all .3s var(--ease); white-space: nowrap; border: 1px solid transparent;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27, 107, 232, .32); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 16px; font-size: 15.5px; font-weight: 500;
  color: var(--ink); transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--blue); font-weight: 600; }
.header-phone {
  display: flex; align-items: center; gap: 10px; padding-left: 24px;
  margin-left: 8px; border-left: 1px solid var(--line); flex-shrink: 0;
}
.header-phone .icon { color: var(--blue); width: 20px; height: 20px; }
.header-phone small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.header-phone strong { display: block; font-size: 16px; color: var(--ink); line-height: 1.3; font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; margin-left: auto; padding: 8px; color: var(--ink); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 820px);
  background: var(--navy-900); color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../images/home_anli4.jpg") center 38% / cover no-repeat;
  opacity: .38; transform: scale(1.04);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 23, 38, .96) 0%, rgba(7, 28, 48, .82) 46%, rgba(10, 37, 64, .58) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(77, 154, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 154, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 30% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 90px 0 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: 14px; letter-spacing: .18em; color: var(--blue-light); font-weight: 500;
}
.hero-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--blue-light); }
.hero h1 {
  color: #fff; font-size: clamp(34px, 5vw, 58px); letter-spacing: .02em; line-height: 1.22;
}
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero-sub {
  max-width: 620px; margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-stats {
  position: relative; z-index: 2; margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0 34px;
}
.hero-stat { text-align: left; padding-left: 20px; border-left: 2px solid rgba(77, 154, 255, .5); }
.hero-stat b { display: block; font-size: clamp(22px, 2.6vw, 32px); color: #fff; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-stat span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy-900); padding: 96px 0 84px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .34;
  background: url("../images/page-hero-hall.jpg") center / cover no-repeat;
}
.page-hero.hero-city::before { background-image: url("../images/page-hero-city.jpg"); }
.page-hero.hero-hall::before { background-image: url("../images/page-hero-hall.jpg"); }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 23, 38, .95) 8%, rgba(7, 28, 48, .78) 60%, rgba(10, 37, 64, .6) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.page-hero .lead { max-width: 640px; margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 16.5px; }

/* ---------- Section 通用 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); color: rgba(255, 255, 255, .82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.on-dark { color: rgba(255, 255, 255, .78); }
.section-head.on-dark h2 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .22em; color: var(--blue); text-transform: uppercase;
}
.section-head.on-dark .eyebrow { color: var(--blue-light); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: .01em; }
.section-head .desc { margin-top: 14px; font-size: 16.5px; }
.more-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  color: var(--blue); font-weight: 600; font-size: 15px; transition: gap .25s var(--ease);
}
.more-link:hover { gap: 12px; }
.section-head .more-link { margin-top: 0; }
.section-foot { text-align: center; margin-top: 48px; }

/* ---------- 七大业务矩阵 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 14px; color: var(--blue);
  background: linear-gradient(135deg, rgba(27, 107, 232, .12), rgba(77, 154, 255, .16));
  transition: background .35s, color .35s;
}
.svc-icon .icon { width: 28px; height: 28px; }
.svc-card:hover .svc-icon { background: linear-gradient(135deg, var(--blue), #2E80F0); color: #fff; }
.svc-card h3 { font-size: 18px; margin-bottom: 8px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.svc-card .go {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 18px;
  font-size: 13.5px; font-weight: 600; color: var(--blue);
}
.svc-card .go .icon { width: 15px; height: 15px; transition: transform .25s; }
.svc-card:hover .go .icon { transform: translateX(4px); }

/* ---------- 核心优势（深色） ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  position: relative; padding: 34px 26px; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); background: rgba(255, 255, 255, .04);
  transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.adv-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(77, 154, 255, .55); transform: translateY(-6px); }
.adv-num {
  font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--blue-light);
  font-variant-numeric: tabular-nums;
}
.adv-card h3 { font-size: 18.5px; margin: 14px 0 12px; line-height: 1.5; }
.adv-card p { font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* ---------- 精选案例 ---------- */
.case-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  margin-bottom: 24px; transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.case-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-featured .case-pic { position: relative; overflow: hidden; min-height: 320px; }
.case-featured .case-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-featured:hover .case-pic img { transform: scale(1.05); }
.case-featured .case-body { padding: 44px 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.case-tag {
  display: inline-flex; align-self: flex-start; padding: 4px 14px; margin-bottom: 16px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--blue);
  background: rgba(27, 107, 232, .09); border-radius: 999px;
}
.case-body h3 { font-size: clamp(20px, 2vw, 25px); margin-bottom: 12px; }
.case-body .client { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.case-body p { font-size: 14.5px; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.case-card .case-pic { overflow: hidden; aspect-ratio: 16 / 8.2; }
.case-card .case-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case-card:hover .case-pic img { transform: scale(1.05); }
.case-card .case-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.case-card h3 { font-size: 19px; margin-bottom: 8px; }
.case-card .client { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--muted); flex: 1; }
.case-card .go {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 18px;
  font-size: 14px; font-weight: 600; color: var(--blue);
}
.case-card .go .icon { width: 15px; height: 15px; transition: transform .25s; }
.case-card:hover .go .icon { transform: translateX(4px); }

/* ---------- 资质荣誉 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qual-card {
  display: flex; align-items: center; gap: 18px; padding: 26px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.qual-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(27, 107, 232, .35); }
.qual-card .icon-wrap {
  display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%; color: #B98A2E; background: linear-gradient(135deg, #FBF3E1, #F5E7C8);
}
.qual-card.blue .icon-wrap { color: var(--blue); background: linear-gradient(135deg, rgba(27,107,232,.1), rgba(77,154,255,.16)); }
.qual-card .icon { width: 26px; height: 26px; }
.qual-card h3 { font-size: 17px; }
.qual-card p { font-size: 13px; color: var(--muted); }
.qual-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; margin-top: 44px;
  padding: 24px 32px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(27, 107, 232, .06), rgba(77, 154, 255, .08));
  border: 1px dashed rgba(27, 107, 232, .3);
}
.qual-meta div { display: flex; align-items: baseline; gap: 8px; }
.qual-meta b { font-size: 26px; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.qual-meta span { font-size: 14px; color: var(--muted); }

/* ---------- 合作伙伴（深色带） ---------- */
.partner-band { background: var(--navy-900); padding: 64px 0; }
.partner-band .band-head { text-align: center; margin-bottom: 40px; }
.partner-band .band-head h2 { color: #fff; font-size: 24px; letter-spacing: .06em; }
.partner-band .band-head p { margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .55); }
.partner-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 56px;
}
.partner-logos img { height: 52px; width: auto; opacity: .85; transition: opacity .3s, transform .3s var(--ease); }
.partner-logos img:hover { opacity: 1; transform: translateY(-3px); }

/* ---------- CTA 带 ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background:
    radial-gradient(ellipse 60% 120% at 78% 10%, rgba(77, 154, 255, .28), transparent 60%),
    linear-gradient(120deg, var(--navy-950), var(--navy-700));
  padding: 84px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { margin: 16px auto 0; max-width: 560px; color: rgba(255, 255, 255, .75); }
.cta-band .cta-phone {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 32px;
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: #fff;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.cta-band .cta-phone .icon { width: 30px; height: 30px; color: var(--blue-light); }
.cta-band .cta-phone:hover { color: var(--blue-light); }
.cta-band .btn { margin-top: 30px; }

/* ---------- 数字带（关于我们） ---------- */
.stats-band { background: linear-gradient(140deg, var(--navy-900), var(--navy-700)); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b {
  display: block; font-size: clamp(30px, 3.6vw, 44px); color: #fff; line-height: 1.15;
  font-variant-numeric: tabular-nums; font-weight: 700;
}
.stat b i { font-style: normal; font-size: .5em; margin-left: 2px; color: var(--blue-light); }
.stat span { display: block; margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .62); }

/* ---------- 关于我们 ---------- */
.about-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.about-text p + p { margin-top: 16px; }
.about-text .slogan {
  margin: 26px 0; padding: 20px 26px; border-left: 3px solid var(--blue);
  background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px; font-weight: 600; color: var(--navy-800);
}
.fact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 30px 22px; box-shadow: var(--shadow-sm);
}
.fact-card h3 { font-size: 17px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.fact-card dl { display: grid; gap: 14px; }
.fact-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14.5px; }
.fact-card dt { color: var(--muted); flex-shrink: 0; }
.fact-card dd { color: var(--ink); font-weight: 500; text-align: right; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  padding: 36px 30px; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .icon-wrap {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 50%; color: var(--blue);
  background: linear-gradient(135deg, rgba(27, 107, 232, .1), rgba(77, 154, 255, .18));
}
.value-card .icon { width: 30px; height: 30px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 业务与服务（services） ---------- */
.svc-block {
  display: grid; grid-template-columns: 300px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow .35s var(--ease);
}
.svc-block + .svc-block { margin-top: 28px; }
.svc-block:hover { box-shadow: var(--shadow-md); }
.svc-side {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding: 40px 34px; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
}
.svc-block:nth-child(even) .svc-side { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); }
.svc-side::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: rgba(77, 154, 255, .12);
}
.svc-side .idx { font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--blue-light); font-variant-numeric: tabular-nums; }
.svc-side .icon { width: 40px; height: 40px; color: #fff; }
.svc-side h2 { color: #fff; font-size: 22px; line-height: 1.4; }
.svc-body { padding: 40px 46px; }
.svc-body p { font-size: 15.5px; }
.svc-body p + p { margin-top: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tags li {
  padding: 5px 16px; font-size: 13px; color: var(--navy-700);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
}

/* ---------- 案例展示（cases） ---------- */
.case-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.case-nav a {
  padding: 8px 20px; font-size: 14px; color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  transition: all .3s var(--ease);
}
.case-nav a:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.case-detail {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.case-detail:last-of-type { border-bottom: 0; }
.case-detail .pic {
  overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.case-detail .pic img { width: 100%; transition: transform .6s var(--ease); }
.case-detail:hover .pic img { transform: scale(1.03); }
.case-detail h2 { font-size: clamp(21px, 2.4vw, 28px); margin: 14px 0 6px; }
.case-detail .client { font-size: 14px; color: var(--muted); }
.case-detail p { margin-top: 16px; font-size: 15px; }
.case-detail .meta { display: flex; flex-wrap: wrap; gap: 10px; }
.case-detail .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  position: relative; padding: 40px 34px; text-align: center; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-card .icon-wrap {
  display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 22px;
  border-radius: 50%; color: var(--blue);
  background: linear-gradient(135deg, rgba(27, 107, 232, .1), rgba(77, 154, 255, .18));
}
.contact-card .icon { width: 30px; height: 30px; }
.contact-card h3 { font-size: 18px; margin-bottom: 10px; }
.contact-card .val { font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; color: var(--navy-800); word-break: break-all; }
.contact-card a.val:hover { color: var(--blue); }
.contact-card p { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.contact-note {
  max-width: 720px; margin: 48px auto 0; padding: 22px 30px; text-align: center;
  font-size: 14.5px; color: var(--muted); background: var(--bg-soft);
  border: 1px dashed var(--line); border-radius: var(--radius);
}
.contact-note b { color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .68); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 44px;
  padding: 72px 0 56px;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand .slogan { font-size: 15px; color: rgba(255, 255, 255, .85); font-weight: 500; }
.footer-brand p { margin-top: 12px; font-size: 13.5px; line-height: 1.8; }
.site-footer h4 {
  color: #fff; font-size: 15.5px; margin-bottom: 20px; letter-spacing: .04em;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14px; transition: color .25s; }
.footer-links a:hover { color: var(--blue-light); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; line-height: 1.7; }
.footer-contact .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--blue-light); }
.footer-contact a { font-variant-numeric: tabular-nums; }
.footer-contact a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
}
.footer-bottom .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13px; color: rgba(255, 255, 255, .45);
}
.footer-bottom a { color: rgba(255, 255, 255, .45); transition: color .25s; }
.footer-bottom a:hover { color: var(--blue-light); }

/* ---------- 滚动渐入 ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   响应式
   ========================================================================== */

/* ---- 平板 ≤ 1024px ---- */
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .header-phone { display: none; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; padding: 56px 0 44px; }
  .svc-block { grid-template-columns: 240px 1fr; }
  .svc-body { padding: 32px 34px; }
  .case-featured { grid-template-columns: 1fr; }
  .case-featured .case-pic { min-height: 260px; max-height: 380px; }
  .case-detail { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 76px 0; }
}

/* ---- 手机 ≤ 768px ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .4s var(--ease);
  }
  .site-header.nav-open .nav { max-height: 420px; visibility: visible; }
  .nav a { padding: 15px 24px; border-top: 1px solid var(--line); font-size: 15px; }
  .nav a::after { display: none; }
  .nav a.active { background: var(--bg-soft); }
  .site-header.nav-open .icon-menu { display: none; }
  .site-header.nav-open .icon-close { display: block; }

  .hero-inner { padding-top: 56px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 22px 0 28px; }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .page-hero { padding: 64px 0 56px; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .svc-card { padding: 22px 18px 20px; }
  .svc-card h3 { font-size: 16px; }
  .adv-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .adv-card { padding: 24px 20px; }
  .case-grid { grid-template-columns: 1fr; gap: 18px; }
  .case-featured .case-body { padding: 26px 24px; }
  .qual-grid { grid-template-columns: 1fr; gap: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .value-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-block { grid-template-columns: 1fr; }
  .svc-side { flex-direction: row; align-items: center; padding: 24px 26px; gap: 18px; }
  .svc-side h2 { font-size: 19px; }
  .svc-side .idx { margin-right: auto; }
  .svc-body { padding: 26px 24px 30px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }
  .cta-band { padding: 64px 0; }
  .partner-logos { gap: 18px 32px; }
  .partner-logos img { height: 38px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 40px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

/* ---- 小屏 ≤ 480px ---- */
@media (max-width: 480px) {
  .brand img { height: 38px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 14.5px; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stat b { font-size: 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .qual-meta { gap: 12px 24px; padding: 20px 18px; }
  .qual-meta b { font-size: 22px; }
}

/* ---------- 案例详情交替排版补丁 ---------- */
.case-detail.rev .pic { order: 2; }
@media (max-width: 1024px) {
  .case-detail.rev .pic { order: 0; }
}
