:root {
  --ink: #112035;
  --muted: #617188;
  --blue: #0066b3;
  --deep-blue: #003f83;
  --cyan: #02a6df;
  --leaf: #7cc84a;
  --light: #f4f8fb;
  --line: #dce7ef;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(0, 53, 107, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  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;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 clamp(18px, 4vw, 70px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 231, 239, 0.8);
  backdrop-filter: blur(14px);
}

.brand img {
  width: clamp(178px, 20vw, 270px);
}

.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 15px;
  color: #203a56;
}

.site-nav a {
  position: relative;
  padding: 26px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--leaf));
  content: "";
  transition: width 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--deep-blue);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 76px) 150px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(0, 38, 88, 0.9), rgba(0, 93, 169, 0.76) 48%, rgba(3, 159, 194, 0.56)),
    url("assets/zhi90-logo-blue-bg.png") center / cover;
}

.page-hero {
  min-height: 52vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 76px) 70px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(0, 38, 88, 0.92), rgba(0, 95, 170, 0.78)),
    url("assets/zhi90-logo-blue-bg.png") center / cover;
}

.page-hero > div {
  max-width: 860px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1.05;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(0, 24, 56, 0.64), rgba(0, 24, 56, 0));
  content: "";
}

.hero-media {
  position: absolute;
  right: clamp(-70px, -3vw, -20px);
  top: 18%;
  width: min(44vw, 620px);
  opacity: 0.28;
  filter: drop-shadow(0 32px 50px rgba(0, 0, 0, 0.28));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 10vw, 126px);
  line-height: 1.02;
  font-weight: 800;
}

.hero-lead {
  width: min(680px, 100%);
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 700;
}

.primary-action {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(0, 72, 145, 0.25);
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 5vw, 76px);
  right: clamp(20px, 5vw, 76px);
  bottom: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 36, 81, 0.32);
  backdrop-filter: blur(8px);
}

.hero-stats div {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  padding: clamp(72px, 9vw, 116px) clamp(20px, 5vw, 76px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 1fr);
  gap: 34px;
  align-items: end;
  max-width: none;
}

.section-heading.split > p {
  margin: 0;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.intro-copy {
  color: #344b64;
  font-size: 18px;
}

.feature-panel {
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(145deg, #eef8ff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-panel img {
  margin: 0 auto 28px;
  max-height: 230px;
  object-fit: contain;
}

.feature-panel.location-panel {
  padding: 0;
  overflow: hidden;
}

.feature-panel.location-panel img {
  width: 100%;
  max-height: none;
  height: 330px;
  margin: 0;
  object-fit: cover;
}

.feature-panel.location-panel p {
  padding: 22px 24px 24px;
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
}

.business {
  background: var(--light);
}

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

.business-grid article,
.product-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 32, 53, 0.06);
}

.business-grid span {
  color: var(--cyan);
  font-size: 34px;
  font-weight: 800;
}

.business-grid h3,
.product-card h3 {
  margin: 12px 0 12px;
  font-size: 22px;
}

.business-grid p,
.product-card ul,
.innovation-layout p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.product-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.product-tabs button {
  min-width: 76px;
  height: 38px;
  padding: 0 16px;
  color: var(--deep-blue);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}

.product-tabs button.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.product-card {
  min-height: 250px;
}

.product-card.accent {
  background: linear-gradient(145deg, #f4fbef, #ffffff);
}

.product-card ul {
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding: 7px 0 7px 18px;
  border-bottom: 1px dashed #e4edf4;
}

.product-card li::before {
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  background: var(--leaf);
  border-radius: 50%;
  content: "";
}

.product-card.hidden {
  display: none;
}

.innovation {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(0, 49, 105, 0.96), rgba(0, 108, 177, 0.88)),
    url("assets/zhi90-logo-horizontal.png") right 12% center / min(620px, 48vw) auto no-repeat;
}

.innovation .section-heading h2,
.innovation .innovation-layout p {
  color: var(--white);
}

.innovation-layout {
  max-width: 940px;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.partner-row span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.contact {
  justify-content: space-between;
  padding: clamp(56px, 7vw, 82px) clamp(20px, 5vw, 76px);
  color: var(--white);
  background: linear-gradient(135deg, #04366d, #0786bc);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 76px);
  color: #66809b;
  background: #f7fafc;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.contact-detail {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--light);
}

.contact-info dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.location-image {
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 32, 53, 0.06);
}

.location-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.location-image figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
}

.contact-info dl div,
.contact-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 32, 53, 0.06);
}

.contact-info dt {
  margin-bottom: 6px;
  color: var(--deep-blue);
  font-weight: 800;
}

.contact-info dd {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form h2 {
  margin: 0 0 4px;
  font-size: 28px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #24415d;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 12px 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 36px;
  }

  .hero-media {
    display: none;
  }

  .hero-stats {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 42px;
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.split,
  .intro-grid,
  .contact-detail,
  .business-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 66px;
  }

  .brand img {
    width: 174px;
  }

  .site-nav {
    top: 66px;
  }

  .hero {
    padding-top: 104px;
  }

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

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .business-grid article,
  .product-card,
  .feature-panel {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
