:root {
  --ink: #121817;
  --deep: #111c1d;
  --forest: #123f3f;
  --green: #0f706a;
  --copper: #c79b47;
  --paper: #f5f6f3;
  --mist: #e9eeeb;
  --line: #d7ddd9;
  --muted: #5e6965;
  --max: 1180px;
  --shadow: 0 16px 42px rgba(11, 23, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(215, 221, 217, 0.72);
  background: rgba(245, 246, 243, 0.94);
  backdrop-filter: blur(18px);
  transition: height 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  height: 64px;
  box-shadow: 0 12px 34px rgba(14, 27, 28, 0.1);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-main {
  color: #101817;
  font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.05;
}

.brand-sub {
  margin-top: 5px;
  color: #61706c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  color: #263130;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--copper);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-button {
  position: fixed;
  top: 12px;
  right: 14px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--deep);
  border-radius: 4px;
  background: var(--deep);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.mobile-nav {
  position: fixed;
  top: 64px;
  right: 14px;
  left: 14px;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 14px 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  min-height: 82vh;
  padding: 118px clamp(18px, 5vw, 72px) 74px;
  background:
    linear-gradient(90deg, rgba(245, 246, 243, 0.98), rgba(245, 246, 243, 0.72)),
    linear-gradient(135deg, #f8f9f6, #e7ece8);
}

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

.eyebrow,
.section-head p,
.scene-card p {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5.6vw, 74px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: #35403d;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  max-width: 100%;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 800;
}

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

.secondary-link {
  border: 1px solid var(--line);
  background: #fff;
}

.hero-visual {
  position: relative;
  margin: 0;
  box-shadow: 0 18px 44px rgba(11, 23, 24, 0.09);
}

.hero-visual::before {
  position: absolute;
  inset: -18px -18px auto auto;
  width: 38%;
  height: 36%;
  border-top: 5px solid var(--copper);
  border-right: 5px solid var(--copper);
  content: "";
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: #eef3f0;
  object-fit: cover;
}

.has-js .hero-visual.reveal {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: clamp(72px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 36px;
}

.section-head h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
}

.section-head span {
  display: block;
  max-width: 760px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.section-capabilities {
  background: #fff;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-card {
  min-height: 290px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.capability-card:hover {
  background: #f8faf8;
  transform: translateY(-3px);
}

.capability-card span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 900;
}

.capability-card h3,
.scene-card h3,
.industry-lead h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.capability-card p,
.scene-card span,
.industry-lead p,
.industry-list span,
.process-list span {
  color: var(--muted);
}

.section-scenes {
  background: var(--paper);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.scene-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 30, 31, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(15, 30, 31, 0.1);
}

.scene-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef3f0;
  object-fit: cover;
}

.scene-card div {
  padding: 24px;
}

.scene-card p {
  margin-bottom: 8px;
}

.scene-card span {
  display: block;
  margin-top: 12px;
}

.section-industry {
  background:
    linear-gradient(135deg, rgba(17, 28, 29, 0.96), rgba(17, 28, 29, 0.99)),
    linear-gradient(90deg, var(--deep), #203132);
  color: #fff;
}

.section-industry .section-head p,
.section-industry .section-head span {
  color: #bdcbc7;
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.industry-lead,
.industry-list {
  border: 1px solid rgba(215, 221, 217, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.industry-lead {
  padding: 34px;
}

.industry-lead h3 {
  font-size: 30px;
}

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

.industry-list div {
  padding: 28px;
}

.industry-list div:nth-child(odd) {
  border-right: 1px solid rgba(215, 221, 217, 0.14);
}

.industry-list div:nth-child(n + 3) {
  border-top: 1px solid rgba(215, 221, 217, 0.14);
}

.industry-list strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 19px;
}

.section-service {
  background: #fff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 190px;
  padding: 26px 20px;
}

.process-list li + li {
  border-left: 1px solid var(--line);
}

.process-list strong {
  display: block;
  margin-bottom: 16px;
  font-size: 19px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(215, 221, 217, 0.2);
  background: var(--deep);
  color: #e8efec;
  font-size: 14px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer span {
  color: #b9c5c1;
}

.site-footer a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vehicleIn {
  from {
    opacity: 0;
    transform: translateX(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
    flex: 0 0 40px;
    margin-left: auto;
    border-color: var(--deep);
    background: var(--deep);
  }

  .menu-button span {
    background: #fff;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 104px;
  }

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

  .hero-visual {
    width: 100%;
    max-width: 760px;
    justify-self: center;
  }

  .capability-grid,
  .scene-grid,
  .industry-layout,
  .process-list {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
  }

  .industry-list {
    grid-template-columns: 1fr;
  }

  .industry-list div,
  .industry-list div:nth-child(odd),
  .industry-list div:nth-child(n + 3),
  .process-list li + li {
    border-top: 1px solid rgba(215, 221, 217, 0.14);
    border-right: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 62px;
    padding: 0 14px;
  }

  .brand-main {
    font-size: 17px;
  }

  .brand-sub {
    max-width: 230px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    justify-items: start;
    padding: 154px 16px 54px;
    gap: 24px;
  }

  .hero-copy,
  .hero-actions,
  .hero-lead,
  .hero-visual {
    width: 100%;
    max-width: min(358px, calc(100vw - 32px));
  }

  .menu-button {
    display: none;
  }

  .mobile-nav {
    top: 62px;
    right: 16px;
    left: 16px;
    display: flex;
    justify-content: flex-start;
    gap: 0;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid rgba(18, 24, 23, 0.14);
    background: rgba(245, 246, 243, 0.96);
    box-shadow: none;
  }

  .mobile-nav a {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 0 10px;
    background: transparent;
    color: #263130;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
  }

  .mobile-nav a:nth-child(n + 3) {
    display: none;
  }

  .hero-copy h1 {
    max-width: 10em;
    font-size: 31px;
    line-height: 1.16;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .hero-visual {
    box-shadow: 0 14px 34px rgba(11, 23, 24, 0.13);
    justify-self: start;
  }

  .hero-visual::before {
    inset: -12px 0 auto auto;
    width: 32%;
  }

  .hero-visual img {
    aspect-ratio: 2 / 1;
  }

  .section {
    padding: 62px 16px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .capability-card,
  .scene-card div,
  .industry-lead,
  .industry-list div,
  .process-list li {
    padding: 22px;
  }

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

@media (min-width: 1041px) {
  .menu-button {
    display: none;
  }
}
