:root {
  --primary: #1f3653;
  --secondary: #7287a5;
  --accent: #e28f33;
  --accent-soft: #fff0dd;
  --dark: #112033;
  --light: #f4f7fb;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  --hero-image: url('assets/images/team.jpg');
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--light);
  font-family: 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.35rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.brand strong {
  display: block;
  font-family: 'Noto Serif SC', 'STSong', serif;
  font-size: 1.05rem;
}

.brand small {
  display: block;
  color: var(--secondary);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.96rem;
  color: rgba(15, 23, 42, 0.82);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 66vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10, 16, 28, 0.6), rgba(10, 16, 28, 0.22)),
    var(--hero-image),
    linear-gradient(135deg, var(--primary), var(--dark));
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero.hero-centered {
  text-align: center;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.22), rgba(10, 16, 28, 0.5));
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 7rem 0 5rem;
}

.hero-copy h1,
.section-heading,
.hero-panel strong,
.metric-card strong,
.service-card h3,
.case-card h3,
.info-card h3,
.news-card h3,
.step-card h3,
.panel h3 {
  font-family: 'Noto Serif SC', 'STSong', serif;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.hero-copy p {
  max-width: 60ch;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.cta-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff 30%));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  padding: 1.2rem 1.35rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 1rem;
}

.hero-panel span,
.hero-panel p {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 0.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.9rem;
}

.hero-panel strong {
  display: block;
  margin: 0.45rem 0;
  font-size: 1.9rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-grid-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.metric-card strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.metric-card span {
  color: var(--secondary);
  font-size: 0.92rem;
}

.section {
  padding: 5.5rem 0;
}

.section.muted {
  background: color-mix(in srgb, var(--accent-soft) 42%, #fff 58%);
}

.section.ccta,
.cta {
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 90%, #fff 10%), color-mix(in srgb, var(--dark) 88%, #fff 12%));
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.section-head p {
  color: color-mix(in srgb, var(--dark) 78%, #fff 22%);
}

.section-heading {
  margin: 0.6rem 0 0.9rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.section-heading::after {
  content: "";
  display: block;
  width: 82px;
  height: 4px;
  border-radius: 999px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.service-grid,
.info-grid,
.case-grid,
.news-grid,
.step-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-grid.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.info-card,
.news-card,
.step-card,
.panel,
.cta-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
}

.service-card h3,
.info-card h3,
.news-card h3,
.step-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
}

.case-image {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.case-copy {
  padding: 1.45rem;
}

.case-meta {
  display: grid;
  gap: 0.85rem;
  margin: 1.15rem 0 0;
}

.case-meta div {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.case-meta dt {
  font-size: 0.82rem;
  color: var(--secondary);
}

.case-meta dd {
  margin: 0.3rem 0 0;
}

.step-card span,
.news-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.value-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.1rem;
}

.gallery-strip {
  margin-top: 1.6rem;
}

.gallery-card {
  min-height: 220px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
}

.news-grid.stacked {
  grid-template-columns: 1fr;
}

.article-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.cta-shell {
  justify-content: space-between;
}

.cta-card {
  min-width: min(360px, 100%);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.cta-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.site-footer {
  color: #fff;
  background: var(--dark);
  padding-top: 2rem;
}

.footer-shell,


.footer-shell span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}






.footer-meta-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 1.5rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.footer-meta-content .sep {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
  margin: 0 0.1rem;
}

.footer-meta-content .filing-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-meta-content .filing-link:hover {
  color: #fff;
}

.footer-meta-content .police-filing {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-meta-content .police-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-meta-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 1.2rem 0.5rem;
  }
  
  .footer-meta-content .sep {
    display: none;
  }
}

.filing-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.filing-link:hover {
  color: #fff;
  text-decoration: underline;
}


.site-haokai .hero-shell { grid-template-columns: 1.15fr 0.85fr; }
.site-haokai .metric-card { background: linear-gradient(180deg, rgba(226,143,51,.12), rgba(255,255,255,.98)); border-color: rgba(226,143,51,.18); }
.site-haokai .section-heading::after { background: linear-gradient(90deg, var(--accent), transparent); width: 118px; }
.site-haokai .case-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent), transparent); }


@media (max-width: 960px) {
  .hero-shell,
  .split-layout,
  .service-grid,
  .service-grid.wide,
  .case-grid,
  .info-grid,
  .contact-grid,
  .step-grid,
  .news-grid,
  .footer-shell,
  

  

  .metric-grid,
  .metric-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    padding: 6rem 0 4rem;
    align-items: start;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
    max-width: none;
    word-break: keep-all;
  }

  .hero-copy p {
    max-width: none;
  }

  .hero-side {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .metric-grid,
  .metric-grid-large {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-shell {
    min-height: 74px;
    gap: 0.9rem;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .hero-shell {
    padding: 5.1rem 0 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    max-width: none;
    word-break: keep-all;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-panel strong {
    font-size: 1.55rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }
}









@media (max-width: 768px) {
  
  
  
}