:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #16202e;
  --muted: #667388;
  --line: #dfe7f0;
  --primary: #0f766e;
  --primary-dark: #0b4f6c;
  --accent: #38bdf8;
  --dark: #07111f;
  --shadow: 0 18px 45px rgba(15, 35, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 156px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

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

.site-nav a {
  padding: 10px 13px;
  color: #344256;
  border-radius: 7px;
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
  background: #e9f7f7;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  mix-blend-mode: screen;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 32%, rgba(56, 189, 248, 0.28), transparent 26%),
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.7), rgba(7, 17, 31, 0.48));
}

.hero-dynamic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 78%, transparent);
  opacity: 0.45;
  animation: gridShift 20s linear infinite;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(56, 189, 248, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 36% 58%, rgba(255, 255, 255, 0.8) 0 1px, transparent 3px),
    radial-gradient(circle at 58% 22%, rgba(45, 212, 191, 0.85) 0 2px, transparent 4px),
    radial-gradient(circle at 76% 62%, rgba(255, 255, 255, 0.75) 0 1px, transparent 3px),
    radial-gradient(circle at 88% 35%, rgba(56, 189, 248, 0.8) 0 2px, transparent 4px);
  background-size: 520px 520px, 420px 420px, 460px 460px, 560px 560px, 480px 480px;
  opacity: 0.72;
  animation: particleFloat 16s ease-in-out infinite alternate;
}

.hero-orbit {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 50%;
  filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.25));
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
}

.hero-orbit::before {
  top: 16%;
  left: 18%;
}

.hero-orbit::after {
  right: 12%;
  bottom: 23%;
}

.orbit-one {
  right: 8vw;
  top: 116px;
  animation: orbitPulse 9s ease-in-out infinite;
}

.orbit-two {
  right: -80px;
  bottom: 22px;
  width: 330px;
  height: 330px;
  opacity: 0.7;
  animation: orbitPulse 11s ease-in-out infinite reverse;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: min(1220px, 88vw);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 0 54px;
}

.hero-content {
  position: relative;
  width: min(780px, 100%);
  padding: 34px 0 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  font-size: 19px;
}

.nowrap-title {
  white-space: nowrap;
  word-break: keep-all;
}

.balanced-title {
  word-break: keep-all;
}

.hero p {
  max-width: 680px;
  color: #d7e5f3;
  font-size: 18px;
}

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

.hero-services {
  width: 100%;
  margin-top: 16px;
  padding-top: 12px;
}

.hero-services-heading {
  max-width: 100%;
  margin-bottom: 20px;
}

.hero-services-heading .eyebrow {
  color: #67e8f9;
}

.hero-services-heading h2 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  white-space: nowrap;
  word-break: keep-all;
}

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

.hero-service-grid article {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(207, 239, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero-service-grid h3 {
  color: var(--ink);
  word-break: keep-all;
  text-wrap: pretty;
}

.hero-service-grid p {
  margin-bottom: 0;
  color: #405067;
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--primary);
}

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.section {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.feature-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-grid article,
.case-grid article,
.contact-card,
.contact-form,
.value-panel,
.team-grid article,
.service-commitments > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-grid article,
.case-grid article {
  padding: 28px;
}

.icon,
.service-code,
.case-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 34px;
  margin-bottom: 20px;
  padding: 0 10px;
  color: var(--primary-dark);
  font-weight: 800;
  background: #e7f6f4;
  border-radius: 7px;
}

.feature-grid p,
.case-grid p,
.service-list p,
.about-block p,
.contact-card p,
.form-note {
  color: var(--muted);
}

.band {
  width: 100%;
  max-width: none;
  padding: 82px 6vw;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 79, 108, 0.94), rgba(7, 17, 31, 0.96)),
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.25), transparent 34%);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.band .split {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.band .eyebrow,
.band p {
  color: #cfefff;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metrics div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.metrics strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.metrics span {
  color: #d8edf7;
  font-size: 14px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline div {
  position: relative;
  padding: 24px 20px;
  border-top: 3px solid var(--primary);
  background: #fff;
}

.timeline span {
  display: block;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 12px;
}

.timeline p {
  color: var(--muted);
  font-size: 15px;
}

.page-hero {
  padding: 86px 6vw 74px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(11, 79, 108, 0.9)),
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.08) 50%, transparent 51%);
}

.page-hero h1,
.page-hero p {
  max-width: 820px;
}

.page-hero p {
  color: #d3e6f0;
}

.service-list {
  display: grid;
  gap: 22px;
}

.service-commitments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 0;
}

.service-commitments > div {
  padding: 28px;
}

.service-commitments span,
.team-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 11px;
  color: var(--primary-dark);
  font-weight: 800;
  background: #e7f6f4;
  border-radius: 7px;
}

.service-commitments h2 {
  font-size: 23px;
}

.service-commitments p {
  color: var(--muted);
}

.service-list article {
  display: grid;
  grid-template-columns: 250px 72px 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-visual {
  overflow: hidden;
  align-self: stretch;
  min-height: 190px;
  background: #eef5f8;
  border-radius: 8px;
}

.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-list article:hover .service-visual img {
  transform: scale(1.04);
}

.service-list h2 {
  font-size: 25px;
}

.service-list ul,
.value-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #405067;
}

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

.case-showcase {
  display: grid;
  gap: 26px;
}

.case-item {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.case-item.featured {
  grid-template-columns: 1.2fr 0.8fr;
}

.case-image {
  min-height: 330px;
  background: #f8fafc;
}

.case-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.case-item.featured .case-image,
.case-item.featured .case-image img {
  min-height: 470px;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.case-copy span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 10px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  background: #e7f6f4;
  border-radius: 7px;
}

.case-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(23px, 3vw, 34px);
}

.case-copy p,
.case-copy li {
  color: var(--muted);
}

.case-copy ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.about-block {
  align-items: start;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.team-grid article {
  padding: 30px;
}

.team-grid p {
  color: var(--muted);
}

.company-facts {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: start;
  padding-top: 0;
}

.company-facts.text-only {
  grid-template-columns: 0.9fr 1.1fr;
}

.company-facts dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.company-facts dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.company-facts dt {
  color: var(--primary-dark);
  font-weight: 800;
}

.company-facts dd {
  margin: 0;
  color: var(--muted);
}

.company-summary {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.company-summary h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.company-summary p {
  color: var(--muted);
}

.company-summary p:last-child {
  margin-bottom: 0;
}

.value-panel,
.contact-card,
.contact-form {
  padding: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-card a {
  color: var(--primary-dark);
  font-weight: 700;
}

.qr-card {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 22px;
}

.qr-card img {
  width: 168px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-card span {
  color: var(--muted);
  font-size: 14px;
}

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

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

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

textarea {
  resize: vertical;
}

.form-note {
  margin-bottom: 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6vw;
  color: #cdd8e5;
  background: #07111f;
}

.site-footer p {
  margin: 0;
  color: #93a4b8;
}

.site-footer a {
  color: #d7f3ff;
}

.privacy-content {
  max-width: 900px;
}

.privacy-content h2 {
  margin-top: 34px;
  font-size: 24px;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: var(--muted);
}

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

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 6vw 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.72));
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 0 58px;
  }

  .hero-content {
    width: 100%;
    padding: 0;
  }

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

  .feature-grid,
  .case-grid,
  .case-item,
  .case-item.featured,
  .service-commitments,
  .timeline,
  .split,
  .team-grid,
  .company-facts,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .case-image,
  .case-image img,
  .case-item.featured .case-image,
  .case-item.featured .case-image img {
    min-height: 300px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-visual,
  .service-visual img {
    min-height: 260px;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    padding: 0 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 128px;
    max-height: 48px;
  }

  .site-nav {
    top: 66px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    width: auto;
    padding: 58px 18px 44px;
  }

  .hero-content {
    width: auto;
    padding: 0;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-services-heading h2 {
    font-size: clamp(14px, 4.2vw, 25px);
  }

  .nowrap-title {
    font-size: clamp(18px, 6vw, 42px);
  }

  .hero-service-grid article {
    min-height: 0;
    padding: 20px;
  }

  .section {
    width: auto;
    padding: 62px 18px;
  }

  .page-hero {
    padding: 62px 18px 56px;
  }

  .feature-grid article,
  .case-grid article,
  .service-list article,
  .service-commitments > div,
  .case-copy,
  .team-grid article,
  .company-summary,
  .value-panel,
  .contact-card,
  .contact-form {
    padding: 22px;
  }

  .company-facts dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .case-image,
  .case-image img,
  .case-item.featured .case-image,
  .case-item.featured .case-image img {
    min-height: 220px;
  }

  .service-visual,
  .service-visual img {
    min-height: 210px;
  }

  .site-footer {
    display: block;
    padding: 28px 18px;
  }

  .site-footer > p {
    margin-top: 16px;
  }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-18px, 10px, 0); }
}

@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 92px 46px; }
}

@keyframes particleFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(24px, -18px, 0); }
}

@keyframes orbitPulse {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.55; }
  50% { transform: rotate(14deg) scale(1.06); opacity: 0.88; }
}

@keyframes moleculePulse {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(1.32); opacity: 1; }
}

@keyframes lineScan {
  from { opacity: 0.45; transform: scaleX(0.76); transform-origin: left center; }
  to { opacity: 1; transform: scaleX(1); transform-origin: left center; }
}

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