:root {
  --ink: #172032;
  --muted: #667085;
  --line: #d9e1ea;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #0878bd;
  --blue-dark: #0a426a;
  --yellow: #ffd200;
  --yellow-soft: #fff4bd;
  --red: #ffd200;
  --green: #2d7d69;
  --shadow: 0 18px 50px rgba(23, 32, 50, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 96px;
  padding: 0 clamp(16px, 3.5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--yellow);
  box-shadow: none;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--blue); }
.brand img { width: clamp(360px, 31vw, 500px); height: auto; object-fit: contain; }
.header-actions { display: inline-flex; align-items: center; gap: 12px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; color: #2f3b4d; font-weight: 400; }
.nav a { padding: 22px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--yellow); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 26px; color: var(--blue-dark); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(8, 120, 189, .22);
  border-radius: 999px;
  background: #f6fbff;
  color: #6a7788;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.lang-switch button {
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.lang-switch button.is-active { background: var(--blue); color: #fff; }
.lang-switch span { color: #9aa7b6; }

.hero {
  position: relative;
  min-height: 92vh;
  padding: 156px clamp(20px, 5vw, 70px) 40px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: #0a2943; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; filter: saturate(0.9) contrast(1.05); }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 34, 60, 0.92), rgba(5, 48, 82, 0.62) 46%, rgba(5, 48, 82, 0.16)),
    linear-gradient(0deg, rgba(5, 31, 56, 0.74), transparent 42%);
}
.hero-content { position: relative; z-index: 1; width: min(760px, 100%); padding-bottom: 34px; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: 1.08; letter-spacing: 0; }
.hero-copy { max-width: 680px; margin: 24px 0 0; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid transparent;
}
.button.primary { background: var(--yellow); color: var(--blue-dark); box-shadow: 0 12px 30px rgba(246,196,0,0.24); }
.button.ghost { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(255,255,255,0.08); }
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1px;
  max-width: 950px;
  background: rgba(246,196,0,0.34);
  border: 1px solid rgba(246,196,0,0.34);
}
.hero-stats div { padding: 18px 22px; background: rgba(5, 42, 75, 0.66); }
.hero-stats strong { display: block; font-size: clamp(26px, 4vw, 40px); line-height: 1.1; }
.hero-stats span { color: rgba(255,255,255,0.78); font-size: 14px; }

.section { padding: clamp(68px, 9vw, 112px) clamp(20px, 5vw, 70px); }
.section-heading { max-width: 560px; margin-bottom: 34px; }
.section-heading.wide { max-width: 880px; }
.section-heading h2, .process-band h2, .closing h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.18; }
.section-heading p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.about-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 70px);
  overflow: hidden;
  color: #fff;
  background: #0a426a;
}
.about-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 32, 54, .56), rgba(5, 55, 88, .28) 38%, rgba(5, 55, 88, .04)),
    linear-gradient(0deg, rgba(5, 32, 54, .42), transparent 58%);
}
.about-overlay {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(26px, 4vw, 46px);
  border-left: 6px solid var(--yellow);
  background: rgba(6, 45, 76, .46);
  backdrop-filter: blur(6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
}
.about-overlay .section-heading { margin-bottom: 24px; }
.about-overlay .section-heading h2 { color: #fff; }
.about-text p { margin: 0 0 18px; color: rgba(255,255,255,.88); font-size: 18px; }

.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.field-grid article {
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.field-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(31,98,166,.3); }
.field-grid article > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.field-grid article > div { padding: 24px; }
.field-grid h3 { margin: 0 0 10px; font-size: 22px; }
.field-grid p { margin: 0; color: var(--muted); }
.field-grid article.is-primary {
  background: linear-gradient(145deg, #ffffff, #eef8ff);
  border-color: rgba(8, 120, 189, 0.28);
  border-top: 4px solid var(--yellow);
  box-shadow: 0 14px 38px rgba(8, 120, 189, 0.09);
}
.field-grid article.is-primary h3 { color: var(--blue); }

.process-band {
  display: grid;
  grid-template-columns: minmax(320px, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 70px);
  background: linear-gradient(135deg, #07395f, #0b6fae);
  color: #fff;
}
.process-band > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}
.flow-list { list-style: none; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; counter-reset: flow; }
.flow-list li {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.flow-list strong { font-size: 18px; }
.flow-list span { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.75; }

.cases { background: var(--paper); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.case-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #eef2f6;
  cursor: zoom-in;
  overflow: hidden;
}
.case-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: #eef2f6; filter: saturate(0.94) contrast(1.04); transition: transform .25s ease; }
.case-image-button:hover img { transform: scale(1.035); }
.case-slot {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(135deg, rgba(8,120,189,.1), rgba(246,196,0,.12)),
    repeating-linear-gradient(45deg, #f5f8fb 0, #f5f8fb 12px, #eaf1f7 12px, #eaf1f7 24px);
  border-bottom: 1px solid var(--line);
}
.case-slot::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(8, 120, 189, .32);
  border-radius: 8px;
}
.case-slot span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(8, 66, 106, .08);
}
.case-card div { padding: 20px; }
.case-card h3 { margin: 0 0 8px; font-size: 20px; }
.case-card p { margin: 0; color: var(--muted); font-size: 15px; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(5, 18, 32, .88);
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1180px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.honor-showcase {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(260px, .52fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(26px, 4vw, 52px);
  overflow: hidden;
  border-radius: 8px;
  background: #0b2940;
  box-shadow: var(--shadow);
}
.honor-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}
.honor-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 29, 48, .84), rgba(5, 29, 48, .45) 54%, rgba(5, 29, 48, .16)),
    linear-gradient(0deg, rgba(5, 29, 48, .68), transparent 52%);
}
.honor-copy p { margin: 0 0 24px; color: rgba(255,255,255,.86); font-size: 17px; }
.honor-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(6, 45, 76, .72);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 38px rgba(0,0,0,.18);
}
.honor-cert {
  position: relative;
  z-index: 1;
  width: 100%;
  align-self: center;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.cert-list { display: flex; flex-wrap: wrap; gap: 10px; }
.honor-copy .cert-list { justify-content: center; }
.cert-list span { padding: 9px 13px; border: 1px solid rgba(246,196,0,.32); border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); font-weight: 700; font-size: 14px; }

.clients { background: #f2f8fc; }
.client-logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.client-logo-grid article {
  display: grid;
  grid-template-rows: 110px auto;
  align-items: center;
  justify-items: center;
  gap: 10px;
  min-height: 164px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(8, 120, 189, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(8, 66, 106, 0.06);
}
.client-logo-grid img {
  width: min(280px, 100%);
  height: 100px;
  object-fit: contain;
  padding: 0;
  mix-blend-mode: multiply;
}
.client-logo-grid span { font-size: 15px; font-weight: 800; color: #4b5b6d; }

.closing { padding: clamp(58px, 8vw, 88px) clamp(20px, 5vw, 70px); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; }
.closing div { max-width: 820px; }
.closing p:not(.eyebrow) { margin: 16px 0 0; color: rgba(255,255,255,.78); font-size: 17px; }
.closing .eyebrow { color: var(--yellow); }
.site-footer { display: grid; gap: 18px; align-items: center; justify-content: center; padding: 34px clamp(20px, 5vw, 70px); background: #101827; color: rgba(255,255,255,.78); text-align: center; }
.site-footer p { margin: 0; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  max-width: 980px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
}
.footer-contact span { white-space: nowrap; }
.footer-contact a { color: #fff; border-bottom: 1px solid rgba(246,196,0,.7); }
.footer-contact a:hover { color: var(--yellow); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; }
  .hero { min-height: auto; padding-top: 136px; }
  .hero-stats, .field-grid, .case-grid, .client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-band, .honor-showcase { grid-template-columns: 1fr; }
  .about-hero { min-height: 720px; }
  .closing { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header { height: 84px; }
  .brand img { width: min(220px, 52vw); }
  .header-actions { gap: 8px; }
  .lang-switch { font-size: 12px; padding: 3px; }
  .lang-switch button { min-width: 30px; height: 26px; padding: 0 6px; }
  .nav { top: 84px; }
  .hero { padding-top: 118px; }
  .about-overlay { padding: 22px; }
  .about-hero { min-height: 780px; }
  .hero-stats, .field-grid, .case-grid, .client-logo-grid { grid-template-columns: 1fr; }
  .flow-list li { grid-template-columns: 1fr; gap: 4px; }
  .hero-actions .button { width: 100%; }
  .footer-contact span { white-space: normal; }
  .section, .process-band, .closing { padding-left: 18px; padding-right: 18px; }
}


/* 备案图标样式 - 确保图标和文字紧挨着 */
.local-badge-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 2px;
    display: inline-block;
}

/* 备案链接样式 */
.police-badge {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;  /* 防止换行 */
}

/* 备用图标样式 */
.fallback-icon {
    display: inline-block;
    margin-right: 2px;
}