:root {
  --ink: #161a17;
  --muted: #66706a;
  --paper: #f7f8f4;
  --white: #ffffff;
  --line: #dfe5de;
  --steel: #27322d;
  --green: #087f63;
  --green-dark: #055846;
  --yellow: #f1c84c;
  --coral: #ef6b4d;
  --shadow: 0 18px 42px rgba(21, 27, 24, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(22, 26, 23, 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;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand small {
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

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

.site-nav a {
  padding: 10px 14px;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

.site-nav a:hover {
  color: var(--yellow);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
}

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

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 14, 12, 0.86) 0%, rgba(10, 14, 12, 0.68) 45%, rgba(10, 14, 12, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 14, 12, 0.36), rgba(10, 14, 12, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(120px, 18vh, 180px) 0 72px;
}

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

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

.hero h1,
.section-head h2,
.feature-copy h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(40px, 6.8vw, 86px);
  font-weight: 900;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.feature-points,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.btn,
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover,
.filter-btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-strip div {
  padding: 26px clamp(18px, 4vw, 48px);
  background: var(--white);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 20px;
}

.proof-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 28px;
}

.section-head h2,
.feature-copy h2,
.contact-copy h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 900;
}

.section-head p:not(.eyebrow),
.feature-copy p,
.contact-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.service-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.product-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  padding: 28px;
}

.service-index {
  display: inline-block;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3,
.product-card h3,
.timeline h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.service-card p,
.product-card p,
.timeline p {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(58px, 8vw, 96px) max(18px, calc((100vw - var(--max)) / 2));
  background: var(--steel);
  color: var(--white);
}

.feature-copy {
  padding-left: clamp(0px, 3vw, 24px);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-points {
  margin-top: 26px;
}

.feature-points span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

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

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.filter-bar {
  margin-bottom: 22px;
}

.filter-btn {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.filter-btn.is-active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

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

.product-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

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

.product-info {
  padding: 18px;
}

.product-info span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.gallery-block {
  margin-top: clamp(36px, 6vw, 72px);
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.gallery-head h3 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.12;
}

.gallery-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 156px;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  grid-column: span 2;
  border-radius: 8px;
  background: #d7ddd8;
  box-shadow: 0 1px 0 rgba(22, 26, 23, 0.06);
}

.gallery-item-large {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 4;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item::after {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.process {
  padding-top: 0;
}

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

.timeline article {
  padding: 24px;
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(30px, 7vw, 86px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) max(18px, calc((100vw - var(--max)) / 2));
  background: var(--green-dark);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--yellow);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-line span {
  color: rgba(255, 255, 255, 0.62);
}

.contact-line strong {
  text-align: right;
}

.qr-placeholder {
  display: grid;
  min-height: 148px;
  margin-top: 22px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px max(18px, calc((100vw - var(--max)) / 2));
  background: #111512;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 900;
}

@media (max-width: 980px) {
  .service-grid,
  .product-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head.split,
  .gallery-head,
  .feature-band,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .gallery-item,
  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 2;
  }

  .feature-media {
    order: -1;
  }
}

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

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(10, 14, 12, 0.86), rgba(10, 14, 12, 0.24)),
      linear-gradient(90deg, rgba(10, 14, 12, 0.76), rgba(10, 14, 12, 0.26));
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .proof-strip,
  .service-grid,
  .product-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 172px;
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item-large,
  .gallery-item-wide,
  .gallery-item-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .feature-band,
  .contact {
    padding-right: 18px;
    padding-left: 18px;
  }

  .contact-line {
    display: block;
  }

  .contact-line strong {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 8px;
  }
}
