:root {
  --brand-red: #b80f1c;
  --brand-red-dark: #7d0710;
  --ink: #111111;
  --muted: #6f6f6f;
  --line: #e7e1dc;
  --paper: #fbfaf8;
  --warm: #efe4d6;
  --soft-red: #f7eded;
  --charcoal: #202020;
}

* {
  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 CJK SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(251, 250, 248, 0.86);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 248, 0.96);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
}

.brand img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #303030;
  font-size: 14px;
  letter-spacing: 0;
}

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

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--brand-red);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 126px 64px 72px;
  background:
    linear-gradient(90deg, rgba(184, 15, 28, 0.08) 0 1px, transparent 1px) left top / 12px 100% no-repeat,
    var(--paper);
}

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

.eyebrow,
.section-kicker,
.micro-title {
  margin: 0 0 18px;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro-text h2,
.process-copy h2,
.quality-copy h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0;
}

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

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #3a3a3a;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--brand-red);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: var(--brand-red);
}

.button.ghost {
  color: var(--brand-red);
  background: transparent;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-image-wrap {
  width: 100%;
  height: 74vh;
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
  border-left: 4px solid var(--brand-red);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: 32px;
  bottom: 28px;
  width: min(360px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  color: #ffffff;
  background: rgba(17, 17, 17, 0.74);
  backdrop-filter: blur(12px);
}

.hero-note span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  font-weight: 700;
}

.hero-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.section {
  padding: 112px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  column-gap: 60px;
  row-gap: 14px;
  align-items: end;
  margin-bottom: 58px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 0;
}

.section-heading h2 {
  grid-column: 1;
  grid-row: 2;
}

.section-heading > p:last-child {
  grid-column: 2;
  grid-row: 2;
}

.section-heading h2,
.intro-text h2,
.process-copy h2,
.quality-copy h2,
.contact-panel h2 {
  font-size: 38px;
}

.section-heading p:last-child,
.intro-text p:last-child,
.process-copy p,
.quality-copy p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.intro-band {
  padding: 70px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: start;
}

.intro-mark {
  padding-left: 18px;
  border-left: 6px solid var(--brand-red);
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.intro-text {
  max-width: 820px;
}

.intro-text p:last-child {
  margin-top: 22px;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.05fr);
  gap: 42px;
  align-items: stretch;
}

.solution-feature {
  display: grid;
  align-content: end;
  min-height: 650px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
}

.solution-feature img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.solution-feature div {
  padding: 28px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.solution-feature h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}

.solution-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.solution-list article {
  min-height: 240px;
  padding: 30px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 700;
}

.solution-list h3,
.quality-points h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.35;
}

.solution-list p,
.quality-points p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.capability {
  background: #ffffff;
}

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

.capability-item {
  background: #ffffff;
}

.capability-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.capability-item div {
  padding: 24px;
}

.capability-item p {
  margin: 0 0 8px;
  font-weight: 700;
}

.capability-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.process {
  background:
    linear-gradient(90deg, var(--brand-red) 0 8px, transparent 8px),
    var(--charcoal);
  color: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1fr);
  gap: 74px;
  align-items: center;
}

.process-copy h2,
.process-copy p,
.process-copy .section-kicker {
  color: #ffffff;
}

.process-copy .section-kicker {
  opacity: 0.76;
}

.process-copy p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  display: inline-flex;
  margin-top: 32px;
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid var(--brand-red);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.flow-step {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #252525;
}

.flow-step span {
  color: #e8bfc4;
  font-size: 13px;
  font-weight: 700;
}

.flow-step p {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.quality {
  padding-bottom: 0;
  background: var(--paper);
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(360px, 0.9fr);
  gap: 60px;
  align-items: center;
}

.quality-media {
  overflow: hidden;
  border-top: 4px solid var(--brand-red);
}

.quality-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.quality-copy h2 {
  margin-bottom: 34px;
}

.quality-points {
  display: grid;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.quality-points article {
  padding-top: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.industries {
  background: #ffffff;
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(460px, 1.18fr);
  gap: 42px;
  align-items: stretch;
}

.industry-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry-row span {
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  font-weight: 700;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.industry-row span:nth-child(2n) {
  background: var(--soft-red);
}

.industry-scenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.industry-scenes figure {
  margin: 0;
  background: #ffffff;
}

.industry-scenes img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.industry-scenes figcaption {
  padding: 18px 20px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.contact {
  padding: 0 0 96px;
  background: #ffffff;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.76fr);
  gap: 70px;
  padding: 64px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(184, 15, 28, 0.92), rgba(125, 7, 16, 0.96)),
    var(--brand-red);
}

.contact-panel .section-kicker,
.contact-panel h2,
.contact-panel p {
  color: #ffffff;
}

.contact-panel p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-lines {
  display: grid;
  align-content: center;
  gap: 18px;
}

.contact-lines p {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-lines span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.site-footer {
  padding: 42px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1180px, calc(100% - 64px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: 1px;
}

.footer-inner img {
  width: 160px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .hero-visual {
    min-height: auto;
  }

  .hero-image-wrap {
    height: 520px;
  }

  .section-heading,
  .solution-layout,
  .process-grid,
  .quality-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-heading .section-kicker,
  .section-heading h2,
  .section-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    height: 68px;
    padding: 0 20px;
  }

  .brand img {
    width: 136px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin-left: auto;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding: 108px 22px 52px;
    background:
      linear-gradient(90deg, rgba(184, 15, 28, 0.08) 0 1px, transparent 1px) left top / 8px 100% no-repeat,
      var(--paper);
  }

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

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

  .hero-image-wrap {
    height: 420px;
    min-height: 420px;
  }

  .hero-note {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 48px 1fr;
    padding: 14px;
  }

  .hero-note span {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .section {
    padding: 72px 0;
  }

  .section-inner,
  .footer-inner {
    width: calc(100% - 40px);
  }

  .section-heading {
    gap: 22px;
    margin-bottom: 34px;
  }

  .section-heading .section-kicker,
  .section-heading h2,
  .section-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .section-heading h2,
  .intro-text h2,
  .process-copy h2,
  .quality-copy h2,
  .contact-panel h2 {
    font-size: 29px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .solution-feature {
    min-height: auto;
  }

  .solution-feature img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .solution-list,
  .capability-grid,
  .process-flow,
  .industry-row,
  .industry-scenes {
    grid-template-columns: 1fr;
  }

  .solution-list article,
  .flow-step {
    min-height: auto;
  }

  .quality-media img {
    height: 420px;
  }

  .contact {
    padding-bottom: 56px;
  }

  .contact-panel {
    padding: 34px 24px;
    gap: 34px;
  }

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