/* ==========================================================================
   北京鼎熠科技有限公司 官网 · 全站设计系统
   纯静态站点 · 无外部依赖 · 石墨工业设计系统
   ========================================================================== */

:root {
  /* 旧变量名保留以兼容内页，实际色值统一为石墨、钢铁与少量状态青。 */
  --teal-950: #070a0b;
  --teal-900: #0d1214;
  --teal-800: #151c1f;
  --teal-700: #176b66;
  --teal-600: #128c83;
  --teal-500: #18a99a;
  --teal-400: #50c9bc;
  --teal-100: #d9e4e3;
  --teal-050: #f1f4f3;
  --copper: #c87532;
  --ink: #141a1c;
  --gray-700: #364044;
  --gray-600: #667176;
  --gray-400: #99a3a7;
  --line: #d9dfe0;
  --bg: #f8f9f8;

  --shadow-sm: 0 2px 10px rgba(7, 10, 11, .06);
  --shadow-md: 0 14px 34px rgba(7, 10, 11, .11);
  --shadow-lg: 0 26px 70px rgba(7, 10, 11, .18);

  --radius: 4px;
  --radius-sm: 2px;

  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑",
             "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", sans-serif;

  --header-h: 76px;
  --container: 1200px;
}

/* ---------- Reset / Base ---------- */

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

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

body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--teal-600);
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  color: #fff;
  transform: none;
}

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

a { color: var(--teal-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-500); }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 2px; }

::selection { background: var(--teal-600); color: #fff; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; letter-spacing: .02em; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 96px 0; }
.section.tint { background: var(--teal-050); }
.section.dark { background: linear-gradient(145deg, #080b0d, #151c1f); color: #eaf0ef; }

/* ---------- 通用 Section 标题 ---------- */

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .22em;
  color: var(--teal-600); text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--copper); }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--copper); }

.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); color: var(--ink); }
.section.dark .sec-head h2 { color: #fff; }

.sec-sub { margin-top: 14px; color: var(--gray-600); font-size: 16.5px; }
.section.dark .sec-sub { color: rgba(234, 244, 243, .75); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 28px; border-radius: 2px;
  font-size: 15.5px; font-weight: 600; letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--teal-500); color: #04100f; box-shadow: none; }
.btn-primary:hover { background: #38c3b5; color: #04100f; }

.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }

.btn-outline { border: 1px solid var(--teal-600); color: var(--teal-700); }
.btn-outline:hover { background: var(--teal-600); color: #fff; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--teal-600); font-size: 15px;
}
.link-more::after { content: "→"; transition: transform .2s ease; }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .25s ease, box-shadow .25s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 19px; letter-spacing: .06em; color: #fff; transition: color .25s ease; }
.logo-text small { font-size: 10.5px; letter-spacing: .30em; color: rgba(255, 255, 255, .65); transition: color .25s ease; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  position: relative; padding: 10px 16px; border-radius: 2px;
  font-size: 15.5px; font-weight: 500;
  color: rgba(255, 255, 255, .88);
}
.main-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--teal-400); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: #fff; font-weight: 600; }

.main-nav .nav-cta {
  margin-left: 10px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 2px;
  padding: 9px 22px;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: #fff; color: var(--teal-800); }

/* 滚动后 / 移动端展开后：深色玻璃状态 */
.site-header.scrolled, .site-header.nav-open {
  background: rgba(8, 11, 13, .94);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header.scrolled .logo-text strong, .site-header.nav-open .logo-text strong { color: #fff; }
.site-header.scrolled .logo-text small, .site-header.nav-open .logo-text small { color: rgba(255,255,255,.58); }
.site-header.scrolled .main-nav a, .site-header.nav-open .main-nav a { color: rgba(255,255,255,.78); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active,
.site-header.nav-open .main-nav a:hover, .site-header.nav-open .main-nav a.active { color: #fff; }
.site-header.scrolled .main-nav .nav-cta, .site-header.nav-open .main-nav .nav-cta {
  border-color: rgba(80, 201, 188, .72); color: #fff;
}
.site-header.scrolled .main-nav .nav-cta:hover, .site-header.nav-open .main-nav .nav-cta:hover {
  background: var(--teal-600); color: #fff;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span {
  width: 24px; height: 2.5px; border-radius: 2px; background: #fff;
  transition: transform .25s ease, opacity .2s ease, background .25s ease;
}
.site-header.scrolled .nav-toggle span, .site-header.nav-open .nav-toggle span { background: #fff; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 子页 Page Hero ---------- */

.page-hero {
  position: relative; color: #fff;
  padding: calc(var(--header-h) + 76px) 0 72px;
  background:
    radial-gradient(circle at 82% 4%, rgba(200, 117, 50, .18), transparent 30%),
    linear-gradient(120deg, #070a0b 8%, #111719 58%, #1a2225);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 130% at 78% -10%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 130% at 78% -10%, #000 30%, transparent 72%);
}
.page-hero .container { position: relative; z-index: 1; }

.crumbs { font-size: 14px; color: rgba(234, 244, 243, .66); margin-bottom: 14px; letter-spacing: .04em; }
.crumbs a { color: rgba(234, 244, 243, .66); }
.crumbs a:hover { color: #fff; }

.page-hero h1 { font-size: clamp(30px, 4vw, 44px); display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.page-hero h1 span { font-size: 15px; font-weight: 600; letter-spacing: .3em; color: var(--copper); text-transform: uppercase; }
.page-hero-sub { margin-top: 14px; max-width: 640px; color: rgba(234, 244, 243, .82); font-size: 16.5px; }

/* ---------- 卡片 ---------- */

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: none; border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 24px 26px 26px; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.card-body p { font-size: 15px; color: var(--gray-600); margin-bottom: 14px; }

/* 业务宫格 */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ---------- 图文交替版块（主营业务页） ---------- */

.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 72px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }

.feature-media { position: relative; }
.feature-media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.feature-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--teal-100); border-radius: var(--radius); z-index: -1;
}
.feature-row.flip .feature-media { order: 2; }
.feature-row.flip .feature-media::before { inset: 22px 22px -22px -22px; }

.feature-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--teal-050); color: var(--teal-700);
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  margin-bottom: 16px;
}
.feature-body h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.feature-body > p { color: var(--gray-600); font-size: 16px; }

.check-list { margin-top: 20px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--gray-700); font-size: 15.5px; }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; margin-top: 3px;
  border-radius: 50%; background: var(--teal-050); color: var(--teal-600);
  font-size: 13px; font-weight: 800; display: grid; place-items: center;
}

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  padding: 7px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #fff; border: 1.5px solid var(--teal-100); color: var(--teal-700);
}

/* 业务页锚点导航条 */
.subnav {
  position: sticky; top: var(--header-h); z-index: 60;
  background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner { display: flex; gap: 4px; overflow-x: auto; padding: 0 4px; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: 16px 18px; font-size: 15px; font-weight: 500; color: var(--gray-600);
  border-bottom: 2.5px solid transparent; margin-bottom: -1px;
}
.subnav a:hover, .subnav a.current { color: var(--teal-700); border-color: var(--teal-500); }

/* ---------- Logo 墙 / 走马灯 ---------- */

.logo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 22px 26px; height: 96px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-card img { max-height: 46px; width: auto; object-fit: contain; }
.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.marquee {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 24px; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .logo-card { width: 230px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.logo-wall.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* 客户 Logo（圆徽章类） */
.logo-wall .logo-card.seal { height: 132px; flex-direction: column; gap: 8px; padding: 16px 10px; }
.logo-wall .logo-card.seal img { max-height: 72px; }
.logo-wall .logo-card.seal figcaption { font-size: 13px; color: var(--gray-600); text-align: center; line-height: 1.4; }
.logo-wall .logo-card.banner { height: 88px; }
.logo-wall .logo-card.banner img { max-height: 52px; max-width: 100%; }

/* ---------- 客户群体（首页三卡） ---------- */

.client-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.client-cat {
  border-radius: var(--radius); padding: 34px 30px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .25s ease, background .25s ease;
}
.client-cat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.client-cat .cat-num { font-size: 38px; font-weight: 800; color: var(--teal-400); line-height: 1; }
.client-cat .cat-num small { font-size: .5em; margin-left: 2px; }
.client-cat h3 { font-size: 20px; margin: 12px 0 8px; color: #fff; }
.client-cat p { font-size: 14.5px; color: rgba(234, 244, 243, .72); }

/* ---------- 首页简介两栏 ---------- */

.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.intro-text p { color: var(--gray-700); margin-bottom: 16px; font-size: 16px; text-align: justify; }
.intro-text p strong { color: var(--teal-700); }

.intro-media { position: relative; padding-bottom: 46px; }
.intro-media .im-main {
  width: 88%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.intro-media .im-float {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 5px solid #fff; aspect-ratio: 1; object-fit: cover;
}
.intro-badge {
  position: absolute; left: 6%; bottom: 6px;
  background: var(--teal-700); color: #fff; border-radius: var(--radius-sm);
  padding: 14px 22px; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; line-height: 1.3;
}
.intro-badge strong { font-size: 22px; }
.intro-badge span { font-size: 12.5px; color: rgba(255, 255, 255, .8); letter-spacing: .08em; }

/* ---------- 理念引言带 ---------- */

.quote-band {
  position: relative; text-align: center; color: #fff;
  padding: 110px 0;
  background:
    linear-gradient(rgba(6, 32, 31, .88), rgba(13, 59, 57, .88)),
    url("../assets/img/biz-uhp-panels.jpg") center / cover no-repeat;
}
.quote-band .mark { font-size: 90px; line-height: .4; color: var(--teal-400); font-family: Georgia, serif; display: block; margin-bottom: 26px; }
.quote-band blockquote { font-size: clamp(24px, 3.4vw, 40px); font-weight: 700; letter-spacing: .12em; }
.quote-band cite { display: block; margin-top: 20px; font-style: normal; font-size: 14.5px; letter-spacing: .3em; color: rgba(234, 244, 243, .65); }

/* ---------- 成功案例 ---------- */

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.case-item { display: flex; flex-direction: column; }
.case-item .case-tag {
  align-self: flex-start;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--teal-700); background: var(--teal-050);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.case-item h3 { font-size: 17.5px; line-height: 1.5; }
.case-item p { margin-top: 8px; font-size: 14.5px; color: var(--gray-600); }

.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-list .case-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
/* 深色 section 内的白卡片需要恢复深色标题/正文 */
.case-list .case-item h3 { color: var(--ink); }
.case-list .case-item p { color: var(--gray-600); }
.case-list .case-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 1; box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 10px;
  font-size: 13px; color: #fff; letter-spacing: .04em;
  background: linear-gradient(transparent, rgba(6, 32, 31, .82));
}

/* ---------- 优势 ---------- */

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.adv-card {
  background: #fff; border-radius: var(--radius); border-top: 3px solid var(--teal-500);
  box-shadow: var(--shadow-sm); padding: 36px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.adv-icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 20px rgba(20, 125, 122, .35);
}
.adv-icon svg { width: 28px; height: 28px; }
.adv-card h3 { font-size: 19px; margin-bottom: 10px; }
.adv-card p { font-size: 15px; color: var(--gray-600); }

/* ---------- 品牌页 ---------- */

.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.brand-card { padding: 30px; display: flex; flex-direction: column; }
.brand-logo {
  height: 84px; display: flex; align-items: center; justify-content: flex-start;
  border-bottom: 1px dashed var(--line); margin-bottom: 18px;
}
.brand-logo img { max-height: 48px; max-width: 200px; object-fit: contain; }
.brand-card h3 { font-size: 18.5px; }
.brand-card h3 small { display: block; font-size: 12.5px; color: var(--gray-600); letter-spacing: .1em; margin-top: 3px; font-weight: 600; }
.brand-card p { margin-top: 10px; font-size: 14.5px; color: var(--gray-600); flex: 1; }

.pcat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcat {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pcat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcat .adv-icon { width: 50px; height: 50px; margin: 0; flex: none; }
.pcat .adv-icon svg { width: 24px; height: 24px; }
.pcat h3 { font-size: 17px; margin-bottom: 6px; }
.pcat p { font-size: 14px; color: var(--gray-600); }

/* ---------- CTA 横幅 ---------- */

.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(200, 117, 50, .18), transparent 32%),
    linear-gradient(120deg, #0b0f11, #1a2326);
  border-radius: var(--radius); padding: 64px 8%;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  border: 46px solid rgba(255, 255, 255, .07);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); position: relative; }
.cta-band p { margin-top: 10px; color: rgba(234, 244, 243, .8); position: relative; }
.cta-band .btn { position: relative; }

/* ---------- 联系页 ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; color: var(--gray-700); }
.field label em { color: var(--copper); font-style: normal; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff;
  font: inherit; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(27, 158, 151, .15);
}
.field textarea { min-height: 140px; resize: vertical; }

/* 公司位置卡片：默认为占位视觉 + 高德/百度导航链接；
   配置 SITE_CONFIG.map.amapKey 后由 js/map.js 叠加嵌入式高德地图（渐进增强） */
.map-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.map-card-visual {
  position: relative; height: 190px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(120deg, var(--teal-800), var(--teal-600));
}
.map-card-visual::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-card-visual svg {
  position: relative; width: 54px; height: 54px;
  filter: drop-shadow(0 6px 14px rgba(6, 32, 31, .45));
}
/* 嵌入式地图容器：未激活时不可见不可点，占位视觉不受影响 */
.map-live { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.map-card-visual.map-on { height: 320px; }
.map-card-visual.map-ready .map-live {
  opacity: 1; pointer-events: auto; transition: opacity .4s ease;
}
/* 高德 marker 标注融入站点设计（勿隐藏高德 logo/copyright，服务条款要求保留） */
.amap-marker-label {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--teal-700); font-size: 13px; box-shadow: var(--shadow-sm);
}
.map-card-body { padding: 24px 26px 26px; }
.map-card-body strong { font-size: 17px; color: var(--ink); }
.map-card-body p { margin: 8px 0 0; font-size: 14.5px; color: var(--gray-600); line-height: 1.7; }
.map-card-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; }
.map-card-actions .link-more { font-size: 14px; }

/* 表单提交状态提示 */
.form-status {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 14.5px; line-height: 1.6;
}
.form-status.ok { background: #e5f4ec; color: #1d6b43; border: 1px solid #bfe3cf; }
.form-status.warn { background: #fdf3e4; color: #8a5a1d; border: 1px solid #f0dcb8; }

.form-note { margin-top: 14px; font-size: 13.5px; color: var(--gray-600); }

.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }

/* ---------- 页脚 ---------- */

.site-footer { background: #050708; color: rgba(234, 240, 239, .78); border-top: 1px solid rgba(255,255,255,.09); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  padding: 72px 0 52px;
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text small { color: rgba(234, 244, 243, .55); }
.footer-brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.9; color: rgba(234, 244, 243, .62); }

.footer-col h2 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: .06em; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(234, 244, 243, .68); font-size: 14.5px; }
.footer-col a:hover { color: var(--teal-400); }

.footer-contact li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; margin-bottom: 13px; color: rgba(234, 244, 243, .68);
}
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--teal-400); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0; font-size: 13.5px; color: rgba(234, 244, 243, .5);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(234, 244, 243, .5); }
.footer-bottom a:hover { color: var(--teal-400); }

/* ---------- 回到顶部 ---------- */

.backtop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 2px;
  background: var(--teal-600); color: #fff; font-size: 18px;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  cursor: pointer;
}
.backtop.show { opacity: 1; visibility: visible; transform: none; }
.backtop:hover { background: var(--teal-500); }

/* ---------- 滚动渐入动画 ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- 404 ---------- */

.err-wrap { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 24px;
  background: linear-gradient(160deg, var(--teal-950), var(--teal-800)); color: #fff; }
.err-wrap h1 { font-size: clamp(80px, 16vw, 150px); line-height: 1; color: var(--teal-400); }
.err-wrap p { margin: 18px 0 30px; color: rgba(234, 244, 243, .75); }

/* ---------- 无动效偏好 ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }

}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .biz-grid, .case-grid, .brand-grid, .adv-grid, .pcat-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #080b0d; box-shadow: var(--shadow-md);
    padding: 12px 20px 22px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.nav-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .main-nav a { color: rgba(255,255,255,.78) !important; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 16px; }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: #fff !important; }
  .main-nav .nav-cta { margin: 16px 0 0; text-align: center; border-color: var(--teal-500) !important; color: #fff !important; }

  .intro-grid, .feature-row, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-media { order: 0; }
  .feature-media::before { display: none; }
  .client-cats { grid-template-columns: 1fr; }
  .case-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 48px 32px; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .container { width: calc(100% - 36px); }

  .biz-grid, .case-grid, .brand-grid, .adv-grid, .pcat-grid, .form-grid { grid-template-columns: 1fr; }
  .logo-wall, .logo-wall.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 40px; }

  .intro-media .im-float { border-width: 3px; }
  .logo-text strong { font-size: 17px; }
  .logo-text small { letter-spacing: .2em; }

  .map-card-visual.map-on { height: 260px; }

}
