:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #f7f9fb;
  color: #172033;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page-bg, #f7f9fb);
  color: var(--ink, #172033);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: color-mix(in srgb, var(--page-bg) 90%, white);
  border-bottom: 1px solid rgba(20, 30, 45, .08);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; font-weight: 800; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #fff; }
nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 15px; color: color-mix(in srgb, var(--ink) 72%, white); }
nav a:hover { color: var(--accent); }
.header-call, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.header-call { background: #fff; box-shadow: 0 12px 30px rgba(20, 30, 45, .08); color: var(--accent); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 26%, transparent); }
.btn.ghost { background: color-mix(in srgb, var(--accent) 10%, white); color: var(--accent); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(42px, 7vw, 78px);
}
.hero-copy { max-width: 720px; }
.site-intent {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}
.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: color-mix(in srgb, var(--ink) 72%, white);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.proof-strip span {
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20, 30, 45, .08);
  color: color-mix(in srgb, var(--ink) 74%, white);
  font-size: 14px;
  font-weight: 700;
}
.hero-media {
  position: relative;
  margin: 0;
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(10, 22, 34, .2);
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}
.hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.layout-soft .hero { background: radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 30%); }
.layout-industrial .hero { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--page-bg)), var(--page-bg)); }
.layout-editorial .hero { grid-template-columns: .9fr 1.1fr; }
.layout-urgent .hero { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--page-bg)), #fff); }
.layout-consulting .hero-media, .layout-grid .hero-media { transform: rotate(1.5deg); }
.layout-nature .hero-media { border-radius: 50% 8px 50% 8px; }
.layout-municipal .hero { border-bottom: 10px solid color-mix(in srgb, var(--accent-2) 45%, white); }
.layout-calm .hero-media { box-shadow: 24px 24px 0 color-mix(in srgb, var(--accent-2) 18%, white), 0 24px 60px rgba(10, 22, 34, .16); }

.section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px);
}
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading span, .plan-copy span, .evidence span, .contact span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}
.section-heading h2, .plan h2, .evidence h2, .contact h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
}
.section-heading p, .plan-copy li, .scenario-box p, .evidence p, .contact p {
  color: color-mix(in srgb, var(--ink) 72%, white);
  line-height: 1.85;
}
.term-strip {
  display: grid;
  gap: 14px;
  margin: -8px 0 28px;
  padding: 20px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 7%, white);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, white);
}
.term-strip strong {
  color: var(--accent);
  font-size: 15px;
}
.term-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.term-strip span {
  padding: 8px 11px;
  border-radius: 6px;
  background: #fff;
  color: color-mix(in srgb, var(--ink) 76%, white);
  font-size: 14px;
  font-weight: 800;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  min-height: 235px;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(20, 30, 45, .08);
  box-shadow: 0 12px 36px rgba(20, 30, 45, .06);
}
.service-card strong { color: var(--accent-2); font-size: 14px; }
.service-card h3 { margin: 18px 0 12px; font-size: 22px; }
.service-card p { margin: 0; color: color-mix(in srgb, var(--ink) 68%, white); line-height: 1.75; }

.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 34px;
  background: color-mix(in srgb, var(--accent) 7%, white);
}
.plan-copy ul { margin: 24px 0 0; padding-left: 22px; }
.plan-copy li { margin: 12px 0; }
.scenario-box {
  align-self: start;
  padding: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.scenario-box h3 { margin: 0 0 18px; font-size: 25px; }
.scenario-box .district-title { margin-top: 28px; }
.scenario-box div { display: flex; flex-wrap: wrap; gap: 10px; }
.scenario-box span { padding: 9px 11px; border-radius: 6px; background: rgba(255,255,255,.13); }
.scenario-box p, .scenario-box a { color: rgba(255,255,255,.82); }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-list li {
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: 8px;
}
.process-list strong { font-size: 20px; }
.process-list p { margin-bottom: 0; line-height: 1.75; color: color-mix(in srgb, var(--ink) 68%, white); }

.evidence {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.evidence figure { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 22, 34, .16); }
.evidence img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.faq-list { display: grid; gap: 12px; }
details {
  background: #fff;
  border: 1px solid rgba(20, 30, 45, .08);
  border-radius: 8px;
  padding: 20px 22px;
}
summary { cursor: pointer; font-weight: 900; font-size: 18px; }
details p { margin: 12px 0 0; line-height: 1.8; color: color-mix(in srgb, var(--ink) 70%, white); }

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px clamp(20px, 5vw, 72px) 64px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.contact h2 { color: #fff; }
.contact p, .contact a { color: rgba(255,255,255,.82); }

.hub-page { background: #f6f8fb; color: #111827; }
.hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
  padding: clamp(42px, 7vw, 88px);
  background: #0f172a;
  color: #fff;
}
.hub-hero p:first-child { color: #67e8f9; font-weight: 900; }
.hub-hero h1 { font-size: clamp(42px, 6vw, 82px); }
.hub-hero p:last-child { max-width: 760px; color: rgba(255,255,255,.76); line-height: 1.85; font-size: 18px; }
.hub-hero img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 5vw, 64px);
}
.hub-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 14px 36px rgba(17, 24, 39, .06);
}
.hub-index { color: var(--accent); font-size: 14px; font-weight: 900; }
.hub-card h2 { margin: 10px 0 10px; font-size: 26px; }
.hub-card p { color: #4b5563; line-height: 1.75; }
.hub-card dl { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 8px 12px; margin: 20px 0; }
.hub-card dt { color: #6b7280; font-weight: 800; }
.hub-card dd { margin: 0; color: #111827; }
.hub-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 900; }
.hub-notes { max-width: 1040px; margin: 0 auto 64px; padding: 0 24px; }
.hub-notes p { color: #4b5563; line-height: 1.8; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero, .plan, .evidence, .hub-hero { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-media, .hero-media img { min-height: 360px; }
  .service-grid, .process-list, .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .site-header { padding: 14px 16px; }
  .brand { min-width: 0; }
  .brand span { font-size: 15px; }
  .header-call span { display: none; }
  .hero, .section { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 40px; }
  .hero-subtitle { font-size: 17px; }
  .hero-media, .hero-media img { min-height: 300px; }
  .service-grid, .process-list, .hub-grid { grid-template-columns: 1fr; }
  .contact { margin: 8px 16px 40px; flex-direction: column; align-items: flex-start; }
  .hub-hero { padding: 32px 18px; }
  .hub-hero img { width: 100%; }
}