/* 51zlt homepage visual refinement
 * Reading: B2B 电力工程企业官网，面向政企/工程客户，蓝白、可信、低噪声。
 * DESIGN_VARIANCE: 5 / MOTION_INTENSITY: 3 / VISUAL_DENSITY: 5
 * Focus: 一屏内完成公司可信度、主营业务、系统入口和合作单位判断。
 */

:root {
  --page: #f3f8ff;
  --page-2: #eaf4ff;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --surface-blue: #e7f2ff;
  --ink: #071d3a;
  --ink-2: #1c3556;
  --muted: #60728d;
  --muted-2: #8a9ab0;
  --line: #d6e4f3;
  --line-strong: #bfd4eb;
  --blue: #075fb8;
  --blue-2: #004b98;
  --blue-3: #d9ebff;
  --blue-4: #f0f7ff;
  --white: #ffffff;

  --shell-width: 1200px;
  --shell-pad: 24px;
  --header-height: 58px;

  --fs-display: clamp(44px, 4.1vw, 56px);
  --fs-h2: clamp(27px, 2.8vw, 40px);
  --fs-h3: 18px;
  --fs-lead: 17px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-label: 12px;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 24px 80px rgba(7, 39, 84, 0.12);
  --shadow-card: 0 14px 40px rgba(18, 61, 113, 0.09);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", system-ui, -apple-system, sans-serif;
  text-rendering: geometricPrecision;
  background:
    radial-gradient(circle at 9% 9%, rgba(28, 119, 214, 0.12), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(15, 112, 214, 0.13), transparent 32%),
    linear-gradient(135deg, var(--surface) 0%, var(--page) 46%, #e9f3ff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 95, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 95, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.home-one-screen {
  display: block;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1, h2, h3, p { margin: 0; }

h1, h2, h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 10.8em;
  font-size: var(--fs-display);
  line-height: 1.05;
  font-weight: 850;
}

h1 span { display: block; }

h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  font-weight: 820;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.35;
  font-weight: 780;
}

p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.72;
}

/* Header */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(var(--shell-width), calc(100% - var(--shell-pad) * 2));
  height: var(--header-height);
  margin: 14px auto 0;
  padding: 0 10px 0 12px;
  border: 1px solid rgba(193, 213, 236, 0.78);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 58px rgba(28, 84, 151, 0.12);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.brand {
  display: inline-flex;
  height: 100%;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 156px;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--blue-2);
  background: rgba(226, 240, 255, 0.86);
  font-size: 14px;
  font-weight: 720;
  transition: color 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue-2);
  border-color: rgba(145, 190, 232, 0.78);
  background: rgba(213, 234, 255, 0.98);
  box-shadow: inset 0 -2px 0 rgba(7, 95, 184, 0.66);
}

.site-nav .nav-cta {
  min-width: 90px;
  color: var(--blue-2);
  background: rgba(226, 240, 255, 0.86);
  box-shadow: none;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.is-active {
  color: var(--blue-2);
  background: rgba(213, 234, 255, 0.98);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

/* One screen shell */
.one-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 24px;
  width: min(var(--shell-width), calc(100% - var(--shell-pad) * 2));
  margin: 18px auto 0;
  padding-bottom: 12px;
}

.hero-compact {
  display: flex;
  min-height: auto;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px 0 0;
}

.hero-lead {
  max-width: 38em;
  margin-top: 24px;
  color: var(--muted);
  font-size: var(--fs-lead);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.button:active { transform: translateY(1px); }

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(7, 95, 184, 0.22);
}

.button.primary:hover {
  background: var(--blue-2);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink-2);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.72);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--white);
}

.button.light {
  color: var(--blue-2);
  background: var(--white);
  border-color: rgba(255,255,255,0.42);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.64);
  font-size: 13px;
  font-weight: 700;
}

.company-position {
  position: relative;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(188, 212, 239, 0.78);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(239,247,255,0.78)),
    radial-gradient(circle at 88% 20%, rgba(7,95,184,0.12), transparent 42%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.company-position::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -88px;
  width: 220px;
  height: 220px;
  border: 28px solid rgba(7,95,184,0.08);
  border-radius: 999px;
}

.company-position > * {
  position: relative;
  z-index: 1;
}

.company-position h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.4vw, 32px);
}

.company-position p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

/* Control center */
.control-center {
  position: relative;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.panel-topline {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 1px solid rgba(188, 212, 239, 0.78);
  border-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  color: var(--muted);
  background: rgba(239, 247, 255, 0.72);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.panel-topline strong {
  color: var(--blue-2);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 14px 20px 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
}

.tab-button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.tab-button:hover { color: var(--blue); }

.tab-button.is-active {
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--blue-2));
  box-shadow: 0 10px 22px rgba(7,95,184,0.18);
}

.tab-panels {
  padding: 20px 22px 22px;
  border: 1px solid rgba(188, 212, 239, 0.78);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(239,247,255,0.78)),
    radial-gradient(circle at 88% 20%, rgba(7,95,184,0.12), transparent 42%);
  box-shadow: var(--shadow-card);
}

.tab-panel {
  display: none;
  animation: panel-fade 260ms var(--ease) both;
}

.tab-panel.is-active { display: block; }

@keyframes panel-fade {
  from { opacity: 0.72; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
  color: var(--blue);
}

.section-heading h2 {
  margin-bottom: 8px;
}

.section-heading p {
  max-width: 42em;
  color: var(--muted);
  font-size: 14px;
}

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

.service-card {
  position: relative;
  min-height: 164px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(7, 95, 184, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(7,95,184,0.12), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(233,244,255,0.88));
  box-shadow: var(--shadow-card);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -78px;
  width: 180px;
  height: 180px;
  border: 26px solid rgba(7, 95, 184, 0.06);
  border-radius: 50%;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 95, 184, 0.34);
  background:
    radial-gradient(circle at 88% 18%, rgba(7,95,184,0.14), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(233,244,255,0.94));
}

.card-num {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.64;
}

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

.system-card {
  position: relative;
  display: flex;
  min-height: 342px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,250,255,0.9));
  box-shadow: var(--shadow-card);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.system-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -96px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 30px solid rgba(7, 95, 184, 0.08);
}

.system-card.labor::after {
  border-color: rgba(0, 75, 152, 0.1);
}

.system-card > * {
  position: relative;
  z-index: 1;
}

.system-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 95, 184, 0.34);
  box-shadow: 0 22px 60px rgba(7, 95, 184, 0.15);
}

.system-kicker {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-4);
  font-size: 12px;
  font-weight: 850;
}

.system-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.34;
}

.system-card p {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.system-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 22px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 850;
}

.system-card strong::after {
  content: "→";
  transition: transform 220ms var(--ease);
}

.system-card:hover strong::after { transform: translateX(4px); }

.section-heading h2 a {
  color: var(--ink);
  transition: color 220ms var(--ease);
}

.section-heading h2 a:hover {
  color: var(--blue);
}

.system-heading-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}

.system-heading-row h2 {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0;
  color: var(--blue);
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.03em;
}

.system-login-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(7, 95, 184, 0.22);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.system-login-button:hover {
  color: var(--white);
  background: var(--blue-2);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(7, 95, 184, 0.26);
}

.management-system {
  display: grid;
  gap: 14px;
}

.system-entry-card {
  position: relative;
  display: block;
  min-height: 248px;
  padding: 28px;
  border: 1px solid rgba(7, 95, 184, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(7,95,184,0.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(233,244,255,0.88));
  box-shadow: var(--shadow-card);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.system-entry-card::after {
  content: "";
  position: absolute;
  right: -84px;
  bottom: -94px;
  width: 250px;
  height: 250px;
  border: 34px solid rgba(7, 95, 184, 0.08);
  border-radius: 50%;
}

.system-entry-card > * {
  position: relative;
  z-index: 1;
}

.system-entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 95, 184, 0.34);
  box-shadow: 0 22px 60px rgba(7, 95, 184, 0.15);
}

.system-entry-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-4);
  font-size: 12px;
  font-weight: 850;
}

.system-entry-card h3 {
  max-width: 15em;
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.system-entry-card p {
  max-width: 42em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.system-entry-card .system-module-grid {
  margin-top: 22px;
}

.system-entry-card em {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue-2);
  font-style: normal;
  font-size: 15px;
  font-weight: 850;
}

.system-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.system-module-grid > div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 30px rgba(24, 76, 136, 0.05);
}

.system-module-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.system-module-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.56;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.partner-grid img {
  width: 100%;
  height: 116px;
  object-fit: contain;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.84);
  box-shadow: 0 10px 30px rgba(24, 76, 136, 0.06);
  filter: grayscale(0.12) saturate(0.92);
  transition: transform 220ms var(--ease), filter 220ms var(--ease), border-color 220ms var(--ease);
}

.partner-grid img:hover {
  transform: translateY(-2px);
  filter: none;
  border-color: var(--line-strong);
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.advantage-list > div {
  min-height: 152px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.74);
}

.advantage-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.advantage-list h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.advantage-list p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 18%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(135deg, #063b7c, var(--blue));
  box-shadow: 0 22px 60px rgba(7, 95, 184, 0.22);
}

.contact-card .eyebrow,
.contact-card h2,
.contact-card p {
  color: var(--white);
}

.contact-card .eyebrow { opacity: 0.82; }

.contact-card h2 {
  max-width: 16em;
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
}

.contact-card p {
  max-width: 42em;
  opacity: 0.86;
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.grid-card {
  min-height: 168px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.78);
}

.grid-card.active {
  border-color: rgba(7, 95, 184, 0.32);
  background: linear-gradient(180deg, var(--blue-4), rgba(255,255,255,0.9));
}

.grid-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.grid-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.grid-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(var(--shell-width), calc(100% - var(--shell-pad) * 2));
  margin: 8px auto 0;
  padding: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.footer-partners {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 34px;
  padding: 0 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-partners > span {
  flex: 0 0 auto;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.footer-logo-list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  min-width: 0;
}

.footer-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-logo-item img {
  width: 48px;
  height: 18px;
  object-fit: contain;
}

.footer-logo-item strong {
  overflow: hidden;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  position: relative;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 2px;
  text-align: center;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.site-footer a {
  color: var(--muted);
  transition: color 200ms var(--ease);
}

.site-footer a:hover { color: var(--blue); }

.back-top {
  position: absolute;
  top: 2px;
  right: 0;
  flex: 0 0 auto;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 22, 46, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.contact-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 24px;
  width: min(620px, 100%);
  padding: 28px;
  border: 1px solid rgba(190, 215, 242, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(7,95,184,0.12), transparent 38%),
    rgba(255,255,255,0.96);
  box-shadow: 0 30px 90px rgba(4, 34, 72, 0.26);
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.86);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.contact-dialog-copy h2 {
  max-width: 11em;
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 40px);
}

.contact-dialog-copy p:last-child {
  max-width: 25em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.wechat-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.wechat-card img {
  width: 100%;
  max-width: 180px;
  border-radius: 18px;
}

.wechat-card strong {
  color: var(--blue-2);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.modal-open {
  overflow: hidden;
}

@media (max-height: 820px) and (min-width: 961px) {
  :root {
    --fs-display: clamp(38px, 4vw, 54px);
    --fs-h2: clamp(25px, 2.4vw, 34px);
    --fs-lead: 15px;
  }

  .site-header {
    top: 10px;
    height: 56px;
    margin-top: 10px;
  }

  .one-page-shell {
    gap: 22px;
    margin-top: 14px;
  }

  .hero-compact,
  .control-center {
    min-height: auto;
  }

  .hero-lead {
    margin-top: 18px;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .trust-row,
  .company-position {
    margin-top: 20px;
  }

  .company-position {
    padding: 20px;
  }

  .company-position p:last-child,
  .section-heading p,
  .system-card p,
  .system-entry-card p,
  .system-module-grid p {
    font-size: 13px;
    line-height: 1.62;
  }

  .panel-topline {
    min-height: 48px;
  }

  .tab-list {
    margin-top: 12px;
  }

  .tab-panels {
    padding: 16px 18px 18px;
  }

  .section-heading {
    margin-bottom: 14px;
  }

  .service-card {
    min-height: 146px;
    padding: 18px 18px 16px;
  }

  .service-card p,
  .advantage-list p,
  .grid-card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .partner-grid img {
    height: 96px;
    padding: 22px;
  }

  .advantage-list > div,
  .grid-card {
    min-height: 132px;
    padding: 16px;
  }

  .system-card {
    min-height: 300px;
    padding: 22px;
  }

  .system-entry-card {
    min-height: 210px;
    padding: 22px;
  }

  .system-entry-card h3 {
    font-size: clamp(24px, 2.5vw, 32px);
  }

  .system-module-grid > div {
    min-height: 96px;
    padding: 14px;
  }

  .contact-card {
    padding: 24px;
  }

  .footer-partners {
    min-height: 30px;
    padding: 0 0 3px;
  }

  .footer-logo-item {
    min-height: auto;
    padding: 0;
  }
}

@media (max-width: 960px) {
  .home-one-screen {
    display: block;
  }

  .site-header {
    width: calc(100% - 28px);
    top: 14px;
  }

  .one-page-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    width: calc(100% - 28px);
    margin-top: 22px;
  }

  .hero-compact,
  .control-center {
    min-height: auto;
  }

  .hero-compact {
    padding: 26px 0 0;
  }

  .system-grid,
  .system-module-grid,
  .advantage-list,
  .power-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer {
    width: calc(100% - 28px);
    padding: 20px 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .back-top {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --fs-display: clamp(38px, 10vw, 48px);
    --fs-h2: clamp(26px, 7vw, 34px);
    --shell-pad: 14px;
  }

  .site-header {
    height: 64px;
    padding-right: 8px;
  }

  .brand-logo {
    height: 38px;
    max-width: 146px;
  }

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-soft);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    height: 44px;
    background: var(--blue-4);
  }

  .site-nav .nav-cta {
    grid-column: span 2;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.78;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .company-position {
    padding: 20px;
  }

  .control-center {
    border-radius: 24px;
  }

  .panel-topline {
    padding: 0 18px;
  }

  .tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
  }

  .tab-button {
    min-height: 40px;
    font-size: 13px;
  }

  .service-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .tab-panels {
    padding: 18px 16px 18px;
  }

  .service-card,
  .system-card,
  .system-entry-card,
  .system-module-grid > div,
  .advantage-list > div,
  .grid-card {
    min-height: auto;
  }

  .system-card {
    padding: 22px;
  }

  .system-entry-card {
    padding: 22px;
  }

  .system-entry-card h3 {
    font-size: 27px;
  }

  .site-footer,
  .footer-meta {
    align-items: center;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer-partners {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-logo-list {
    justify-content: center;
    gap: 10px 16px;
  }

  .footer-logo-item {
    display: inline-flex;
  }

  .contact-modal {
    padding: 16px;
  }

  .contact-dialog {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px 18px;
    border-radius: 24px;
  }

  .contact-dialog-copy h2 {
    max-width: 10em;
    font-size: 28px;
  }

  .wechat-card img {
    max-width: 168px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
