:root {
  --ink: #17201c;
  --muted: #5e6864;
  --paper: #f6f7f2;
  --white: #ffffff;
  --line: #dce3df;
  --forest: #17624c;
  --forest-dark: #0d3b31;
  --rust: #bf533e;
  --gold: #c49a47;
  --header: rgba(255, 255, 255, 0.95);
  --shadow: 0 18px 48px rgba(20, 30, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: var(--header);
  border-bottom: 1px solid rgba(23, 32, 28, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 46px;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 6px;
}

.brand-mark img {
  position: absolute;
  inset: 4px;
  display: block;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  padding: 0;
}

.brand-text {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  color: #26332e;
  font-size: 15px;
  white-space: nowrap;
}

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

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

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font-size: 24px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78svh;
  padding: 112px clamp(20px, 6vw, 88px) 86px;
  overflow: hidden;
}

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

.hero-bg {
  background-image: url("./assets/hero-station.jpg");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 18, 15, 0.84), rgba(8, 18, 15, 0.56) 58%, rgba(8, 18, 15, 0.36)),
    rgba(8, 18, 15, 0.22);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 820px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--rust);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary {
  color: var(--forest-dark);
  border-color: rgba(13, 59, 49, 0.18);
  background: var(--white);
}

.button.light {
  margin-top: 26px;
  color: var(--forest-dark);
  background: var(--white);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(14px, 4vw, 58px);
  transform: translateY(-30px);
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-strip div {
  min-height: 124px;
  padding: 26px;
  background: var(--white);
}

.quick-strip strong {
  display: block;
  color: var(--forest-dark);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
}

.quick-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

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

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-heading.wide {
  max-width: 1000px;
}

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

.section-heading p:not(.eyebrow),
.about-layout > div > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.products {
  padding-top: clamp(44px, 6vw, 76px);
  background: var(--white);
}

.product-grid,
.case-grid,
.process-grid,
.about-cards {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.product-card,
.case-grid article,
.process-grid article,
.about-cards article,
.solution-list article,
.contact-panel {
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(20, 30, 26, 0.07);
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e7ece8;
}

.product-card.image-contain img {
  object-fit: contain;
  padding: 14px;
}

.parts-card img {
  background: #ffffff;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(23, 32, 28, 0.16);
  border-radius: 6px;
  color: var(--forest-dark);
  background: var(--white);
  font-weight: 800;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

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

.product-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.product-card span,
.case-grid span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.product-card h3,
.case-grid h3 {
  margin-top: 8px;
}

.product-card p,
.case-grid p,
.process-grid p,
.about-cards p,
.solution-list p,
.contact p {
  color: var(--muted);
}

.product-points {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 18px;
}

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

.solutions {
  background: #eef2ef;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.solution-layout > img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.solution-list {
  display: grid;
  gap: 16px;
}

.solution-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  min-height: 112px;
  padding: 24px;
}

.solution-list i,
.about-cards i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--forest);
  border-radius: 6px;
  font-size: 22px;
}

.projects {
  background: var(--paper);
}

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

.case-grid article {
  min-height: 282px;
  padding: 26px;
}

.service {
  background: var(--white);
}

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

.process-grid article {
  min-height: 230px;
  padding: 28px;
}

.process-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--rust);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.insights {
  background: #eef2ef;
}

.insight-layout,
.content-index {
  display: grid;
  gap: 18px;
}

.insight-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-panel,
.content-card,
.article-aside {
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(20, 30, 26, 0.07);
}

.insight-panel {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.insight-panel span,
.content-card span,
.article-aside span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.insight-panel h3,
.content-card h2 {
  margin-top: 10px;
}

.insight-panel p,
.content-card p,
.article-hero p,
.article-body p,
.article-aside p {
  color: var(--muted);
}

.insight-panel a:not(.button),
.content-card a {
  color: var(--forest-dark);
  font-weight: 900;
}

.insight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.article-page {
  background: var(--paper);
}

.article-hero {
  padding: clamp(70px, 9vw, 110px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 58px);
  background: var(--white);
}

.article-hero.compact {
  padding-bottom: 34px;
}

.article-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
}

.article-hero > p:not(.eyebrow):not(.breadcrumb) {
  max-width: 940px;
  margin-top: 18px;
  font-size: 18px;
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--forest-dark);
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  padding: 6px 10px;
  border: 1px solid rgba(23, 32, 28, 0.12);
  border-radius: 999px;
  color: var(--forest-dark);
  background: #f7faf8;
  font-size: 13px;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(42px, 7vw, 76px) clamp(20px, 5vw, 72px);
  align-items: start;
}

.article-body {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.article-body h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.article-body p + p {
  margin-top: 12px;
}

.article-aside {
  position: sticky;
  top: 100px;
  padding: 26px;
}

.article-aside .button {
  width: 100%;
  margin-top: 20px;
}

.content-index {
  padding: clamp(42px, 7vw, 76px) clamp(20px, 5vw, 72px);
}

.content-card {
  padding: 26px;
}

.content-card h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.about {
  color: var(--white);
  background: #18221f;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-layout > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.about-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-cards article {
  min-height: 260px;
  padding: 26px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.about-cards p {
  color: rgba(255, 255, 255, 0.74);
}

.contact {
  padding: clamp(68px, 10vw, 116px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 59, 49, 0.95), rgba(13, 59, 49, 0.78)),
    url("./assets/hero-station.jpg") center / cover;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-panel {
  padding: 30px;
  color: var(--ink);
}

dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

dl div {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 14px;
}

dd {
  margin: 0;
  font-weight: 800;
}

.contact-panel a {
  color: var(--forest-dark);
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  color: var(--rust);
}

.contact-note {
  min-height: 24px;
  margin-top: 18px;
  color: var(--forest);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #111815;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .product-grid,
  .case-grid,
  .process-grid,
  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

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

  .quick-strip,
  .solution-layout,
  .insight-layout,
  .article-layout,
  .contact-content,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .solution-layout > img {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 52px;
    height: 40px;
  }

  .brand strong {
    max-width: calc(100vw - 130px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 76svh;
    padding: 92px 20px 58px;
  }

  .hero h1 {
    font-size: clamp(35px, 12.5vw, 48px);
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .quick-strip {
    margin: 0 14px;
    transform: translateY(-22px);
  }

  .quick-strip div {
    min-height: auto;
    padding: 22px;
  }

  .section,
  .contact {
    padding: 62px 18px;
  }

  .product-grid,
  .case-grid,
  .process-grid,
  .about-cards {
    grid-template-columns: 1fr;
  }

  .case-grid article,
  .process-grid article,
  .about-cards article {
    min-height: auto;
  }

  .solution-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 20px;
  }

  .product-card img {
    aspect-ratio: 16 / 11;
  }

  .contact-panel {
    padding: 22px;
  }

  .site-footer {
    display: grid;
  }
}
