:root {
  --brand: #054487;
  --brand-2: #123f73;
  --brand-3: #7fb4ee;
  --ink: #111827;
  --muted: #65758a;
  --line: #e2e8f0;
  --paper: #f6f8fb;
  --white: #ffffff;
  --dark: #080d1e;
  --surface: #fbfcfe;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

* { 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: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(226,232,240,.82);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 128px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #4b5f78;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover { color: var(--brand); }

.nav-cta {
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--white) !important;
  box-shadow: 0 10px 24px rgba(5, 68, 135, .18);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--brand);
  min-height: 40px;
  padding: 0 14px;
  font-weight: 900;
}

.page { display: block; min-height: calc(100vh - 78px); }

.hero {
  min-height: 710px;
  padding: 92px clamp(20px, 6vw, 80px) 54px;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 32%, rgba(127,180,238,.22), transparent 34%),
    linear-gradient(90deg, rgba(8,13,30,.97), rgba(9,38,76,.86) 56%, rgba(5,68,135,.32)),
    url("assets/hero-city.png") center / cover;
}

.hero-copy {
  max-width: 800px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-weight: 900;
}

.hero .eyebrow,
.page-hero .kicker {
  color: #b9dbff;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero p,
.page-hero p {
  max-width: 760px;
  margin-top: 26px;
  color: rgba(226, 236, 248, .82);
  font-size: 19px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 13px 20px;
  font-weight: 900;
}

.button.primary {
  color: #06121f;
  background: linear-gradient(135deg, #a8d2ff, var(--brand-3));
  box-shadow: 0 14px 30px rgba(127, 180, 238, .22);
}

.button.light {
  color: #102744;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.42);
}

.business-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.business-grid article {
  min-height: 146px;
  padding: 22px 20px;
  border-radius: 8px;
  border: 1px solid rgba(226,236,248,.18);
  background: rgba(10, 20, 36, .58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.business-grid h3 {
  color: var(--white);
  font-size: 19px;
}

.business-grid p {
  margin-bottom: 0;
  color: rgba(214,224,238,.68);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 78px clamp(20px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.section.compact { padding-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  align-items: end;
  gap: 58px;
  margin-bottom: 34px;
}

.summary-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-grid,
.case-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(226,232,240,.92);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card.accent {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, #09264b, var(--brand));
  box-shadow: 0 22px 54px rgba(5, 68, 135, .22);
}

.card.accent p,
.card.accent h3 {
  color: var(--white);
}

.page-hero {
  padding: 86px clamp(20px, 6vw, 80px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(127,180,238,.22), transparent 32%),
    linear-gradient(135deg, var(--dark), #09264b 58%, var(--brand));
}

.split {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 34px;
  align-items: stretch;
}

.lead-text { margin-top: 22px; }

.image-panel,
.media-stack figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(226,232,240,.9);
  background: #f8fafc;
  box-shadow: var(--shadow);
}

.image-panel img,
.media-stack img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.product-card {
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card span {
  align-self: flex-start;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4fb;
  color: #123f73;
  font-size: 13px;
  font-weight: 900;
}

.solution-layout {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 430px);
  gap: 28px;
}

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

.media-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 500px;
}

.media-stack > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-card {
  min-height: 260px;
}

.contact-info {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #123f73;
  font-weight: 900;
}

.site-footer {
  min-height: 72px;
  padding: 22px clamp(20px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.72);
  background: #111827;
}

@media (max-width: 1100px) {
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-grid,
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid,
  .case-grid,
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-layout,
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  *,
  *::before,
  *::after {
    max-width: 100%;
  }

  .site-header {
    height: auto;
    min-height: 72px;
    display: block;
    padding: 14px 18px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .brand img {
    width: 86px;
    height: 34px;
  }

  .brand span {
    font-size: 16px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-button { display: none; }

  .site-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 14px;
    font-size: 13px;
  }

  .nav-cta {
    min-height: 34px;
    padding: 8px 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-copy,
  .business-grid,
  .section-head,
  .summary-grid {
    width: 100%;
    max-width: 100%;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
    line-height: 1.75;
    width: 100%;
    max-width: 330px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  h1,
  h2,
  h3,
  p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-copy,
  .hero p,
  .page-hero p {
    max-width: 100%;
  }

  .business-grid,
  .summary-grid,
  .product-grid,
  .case-grid,
  .team-grid,
  .contact-grid,
  .solution-grid,
  .section-head,
  .media-stack > div {
    grid-template-columns: 1fr;
  }

  .business-grid article,
  .card,
  .media-stack,
  .image-panel {
    min-width: 0;
  }

  .business-grid article {
    padding: 22px 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .business-grid p {
    max-width: 100%;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section,
  .page-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site-footer {
    display: block;
  }
}
