:root {
  --ink: #0e1b24;
  --ink-soft: #314653;
  --muted: #6f7f87;
  --line: #dfe8e7;
  --paper: #f7faf8;
  --white: #ffffff;
  --teal: #0f8f83;
  --teal-deep: #09645f;
  --gold: #d8a93e;
  --shadow: 0 24px 70px rgba(14, 27, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  background: var(--paper);
  line-height: 1.7;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 56px);
  color: var(--white);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(14, 27, 36, 0.09);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: var(--white);
  background: rgba(15, 143, 131, 0.75);
  font-weight: 800;
  letter-spacing: 0;
}

.site-header.is-scrolled .brand-mark {
  border-color: rgba(15, 143, 131, 0.22);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 15px;
}

.brand-text small {
  margin-top: 3px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 20, 27, 0.92) 0%, rgba(8, 20, 27, 0.68) 48%, rgba(8, 20, 27, 0.34) 100%),
    radial-gradient(circle at 70% 30%, rgba(15, 143, 131, 0.38), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 136px 0 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2.1vw, 21px);
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.primary-link {
  color: var(--ink);
  background: var(--white);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 670px;
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics div {
  padding: 22px 24px 0 0;
}

.hero-metrics strong {
  display: block;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 58px;
  align-items: end;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.capability-copy > p,
.about-copy p,
.contact-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.services-section {
  background: linear-gradient(180deg, var(--paper) 0%, #edf4f1 100%);
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(15, 143, 131, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(14, 27, 36, 0.06);
}

.service-index {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3 {
  min-height: 64px;
  margin: 18px 0 14px;
  font-size: 22px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.capability-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 24, 31, 0.98), rgba(10, 43, 46, 0.96)),
    url("assets/images/capability-circuit.jpg") center/cover;
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 54px;
  align-items: center;
}

.capability-copy > p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.process-list div {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-list span {
  display: block;
  color: var(--gold);
  font-weight: 800;
}

.process-list p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.dashboard-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.panel-topline span,
.panel-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.panel-topline strong {
  font-size: 44px;
  line-height: 1;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 13px;
  height: 210px;
  margin: 34px 0;
  padding: 18px;
  border-radius: 8px;
  background: rgba(9, 24, 31, 0.36);
}

.chart-bars span {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #7de2d1, var(--teal));
}

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

.panel-grid div {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.panel-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 17px;
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy p {
  margin-top: 20px;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.value-list span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-deep);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
}

.contact-section {
  padding: 86px 0;
  color: var(--white);
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
  gap: 50px;
  align-items: center;
}

.contact-grid p {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.contact-card strong {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.6;
}

.contact-card a {
  display: inline-flex;
  margin-top: 24px;
  color: #8fe6d9;
  font-weight: 800;
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.68);
  background: #071218;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(14, 27, 36, 0.08);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

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

  .hero {
    min-height: 860px;
  }

  .hero-content {
    padding-top: 118px;
  }

  .intro-grid,
  .capability-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-text strong {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .hero-metrics div {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding: 72px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    min-height: auto;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .chart-bars {
    height: 170px;
    gap: 8px;
  }

  .contact-card strong {
    font-size: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
