:root {
  --ink: #151817;
  --muted: #65716e;
  --line: #dde4df;
  --surface: #f6f8f4;
  --paper: #ffffff;
  --green: #1d6b45;
  --green-dark: #0d3d2c;
  --red: #c83232;
  --gold: #d5a442;
  --charcoal: #202522;
  --shadow: 0 18px 45px rgba(18, 26, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  padding: 0 38px;
  color: #fff;
  background: rgba(18, 22, 19, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.brand-mark {
  display: grid;
  width: 72px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #87b83d);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 19px;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  line-height: 1.18;
}

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

.brand-copy span {
  color: currentColor;
  opacity: 0.7;
  font-size: 12px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 26px 0;
  opacity: 0.86;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .language-switch {
  border-color: var(--line);
  background: var(--paper);
}

.language-switch button {
  width: 38px;
  height: 34px;
  color: currentColor;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-switch button.is-active {
  color: #fff;
  background: var(--green);
}

.header-cta {
  display: inline-grid;
  min-width: 92px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px;
  color: currentColor;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.mobile-nav-tools {
  display: none;
}

.hero {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  color: #fff;
  background: #111;
}

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

.hero-media {
  background:
    image-set(url("assets/site/hero-field.jpg") 1x) center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 15, 11, 0.88) 0%, rgba(9, 15, 11, 0.5) 48%, rgba(9, 15, 11, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 15, 11, 0.82) 0%, rgba(9, 15, 11, 0) 44%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 70px;
}

.hero-kicker,
.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 18px 0 20px;
  font-size: 64px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.button {
  display: inline-grid;
  min-height: 46px;
  place-items: center;
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-primary:hover {
  background: #155539;
}

.button-secondary {
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.section-light .button-secondary,
.service-band .button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 58px 0 0;
  background: rgba(255, 255, 255, 0.2);
}

.hero-metrics div {
  padding: 22px 24px;
  background: rgba(9, 18, 13, 0.58);
}

.hero-metrics dt {
  font-size: 27px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.strip-item {
  display: grid;
  gap: 4px;
  min-height: 96px;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.strip-item strong {
  font-size: 17px;
}

.section {
  padding: 104px 0;
}

.section-light {
  background: var(--surface);
}

.section-heading {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.align-left {
  width: min(1180px, calc(100% - 48px));
  text-align: left;
}

.section-heading h2,
.service-copy h2,
.about-copy h2,
.contact-copy h2 {
  margin: 10px 0 14px;
  font-size: 38px;
  line-height: 1.18;
}

.section-heading p,
.service-copy p,
.about-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.product-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.product-filter {
  display: grid;
  align-content: start;
  gap: 10px;
  position: sticky;
  top: 92px;
}

.product-filter button {
  min-height: 46px;
  padding: 0 16px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 800;
}

.product-filter button.is-active,
.product-filter button:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.product-content {
  min-width: 0;
}

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

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #101311;
}

.product-card-body {
  padding: 22px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.product-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

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

.product-stats span {
  display: grid;
  gap: 2px;
  min-height: 66px;
  padding: 10px;
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
}

.product-stats strong {
  color: var(--ink);
  font-size: 17px;
}

.spec-panel {
  margin-top: 26px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-panel h3 {
  margin: 6px 0 20px;
  font-size: 25px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  color: var(--green-dark);
  background: #eef4ef;
  font-size: 13px;
}

.technology {
  color: #fff;
  background: var(--charcoal);
}

.technology .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 20px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.feature {
  display: grid;
  min-height: 340px;
  overflow: hidden;
  background: #111512;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
}

.feature-large {
  grid-row: span 2;
}

.feature img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #080a09;
}

.feature-large img {
  height: 360px;
}

.feature-copy {
  padding: 24px;
}

.feature-copy span {
  color: var(--gold);
  font-weight: 900;
}

.feature-copy h3 {
  margin: 8px 0 8px;
  font-size: 23px;
}

.feature-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.scenario-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scenario-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.scenario-card div {
  padding: 20px;
}

.scenario-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.scenario-card p {
  margin: 0;
  color: var(--muted);
}

.service-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 52px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.service-list article {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list span {
  color: var(--red);
  font-weight: 900;
}

.service-list h3 {
  margin: 8px 0 6px;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.about-media img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  background: #111;
  border-radius: 8px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

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

.timeline time {
  color: var(--green);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.82fr);
  gap: 54px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 90px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a {
  display: grid;
  gap: 3px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-methods span {
  color: var(--muted);
  font-size: 13px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.inquiry-form textarea {
  resize: vertical;
}

.form-wide {
  grid-column: 1 / -1;
}

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

.form-note.is-success {
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 38px;
  color: rgba(255, 255, 255, 0.78);
  background: #121613;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  max-width: 640px;
  margin: 0;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    padding: 0 22px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 10px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

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

  .main-nav a::after {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

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

  .product-layout,
  .tech-grid,
  .service-band,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-filter {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    gap: 10px;
    padding: 0 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 62px;
    height: 34px;
    font-size: 16px;
  }

  .brand-copy span,
  .header-cta {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-nav-tools {
    display: flex;
    gap: 8px;
    padding: 10px;
  }

  .mobile-nav-tools button {
    width: 48px;
    height: 36px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-nav-tools button.is-active {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
  }

  .main-nav {
    top: 66px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding: 118px 0 48px;
  }

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

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

  .hero-metrics,
  .quick-strip,
  .product-cards,
  .scenario-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 16px;
  }

  .quick-strip {
    width: calc(100% - 32px);
    margin-top: -18px;
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading,
  .section-heading.align-left,
  .product-layout,
  .tech-grid,
  .scenario-grid,
  .service-band,
  .about,
  .contact {
    width: calc(100% - 32px);
  }

  .section-heading h2,
  .service-copy h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 29px;
  }

  .product-filter {
    grid-template-columns: 1fr 1fr;
  }

  .product-card img,
  .feature img,
  .feature-large img,
  .scenario-card img {
    height: 220px;
  }

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

  .timeline div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact {
    padding-top: 72px;
  }

  .site-footer {
    display: grid;
    padding: 26px 16px;
  }
}
