:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --ink: #1b1b1a;
  --muted: #6f706c;
  --line: #ded8ce;
  --steel: #314049;
  --steel-dark: #1e2a30;
  --copper: #b9562b;
  --copper-dark: #8e3d20;
  --green: #2f6b5f;
  --gold: #d6a247;
  --shadow: 0 18px 45px rgba(31, 31, 28, 0.12);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

body {
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 12px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(246, 243, 238, 0.94);
  border-bottom: 1px solid rgba(49, 64, 73, 0.14);
  backdrop-filter: blur(14px);
}

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

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: var(--steel-dark);
  color: #fff7ee;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  border-radius: 6px;
  color: #333735;
  font-size: 0.94rem;
  padding: 9px 13px;
}

.btn span,
.strip-item span,
.contact-methods span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #ebe5dc;
  outline: none;
}

.header-cta,
.btn,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.header-cta {
  padding: 9px 14px;
  background: var(--copper);
  color: #fffaf5;
  font-weight: 700;
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--copper-dark);
}

.nav-toggle {
  display: none;
  position: relative;
  background: var(--surface);
  border-color: var(--line);
  padding: 8px 12px;
}

.lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fffaf5;
}

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

.hero-media {
  background-image: url("assets/hero-factory.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 28, 28, 0.92), rgba(23, 28, 28, 0.7) 48%, rgba(23, 28, 28, 0.3)),
    linear-gradient(0deg, rgba(23, 28, 28, 0.4), transparent 44%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 72px 0 46px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4b06a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.15rem, 6vw, 5.35rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.75rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
}

.hero-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 250, 245, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  padding: 12px 18px;
  font-weight: 800;
}

.btn-primary {
  background: var(--copper);
  color: #fffaf5;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fffaf5;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 44px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-metrics div {
  min-height: 98px;
  padding: 18px;
  background: rgba(27, 27, 26, 0.36);
}

.hero-metrics dt {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.hero-metrics dd {
  margin: 7px 0 0;
  color: rgba(255, 250, 245, 0.74);
  font-size: 0.9rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), calc(100% - 44px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 18px;
  background: var(--surface);
  color: var(--steel-dark);
  font-weight: 800;
}

.strip-item .lucide {
  flex: 0 0 auto;
  color: var(--green);
}

.section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 90px 0;
}

section,
.rfq-form {
  scroll-margin-top: 90px;
}

.band {
  width: 100%;
  max-width: none;
  padding: 90px max(22px, calc((100vw - var(--max)) / 2));
  background: #ebe6de;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: start;
}

.section-copy p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.leadership-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.leadership-panel div {
  min-height: 92px;
  padding: 20px;
  background: var(--surface);
}

.leadership-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.leadership-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--steel-dark);
  font-size: 1.12rem;
  line-height: 1.35;
}

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

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9d0c3;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(39, 43, 42, 0.08);
}

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

.service-body {
  padding: 22px;
}

.service-body .lucide,
.quality-points .lucide {
  color: var(--copper);
  margin-bottom: 12px;
}

.service-body p,
.service-body li,
.quality-points p,
.case-card p,
.process-list p,
.form-note,
.attribution {
  color: var(--muted);
}

.service-body p {
  margin: 12px 0 0;
}

.service-body ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-body li {
  position: relative;
  padding-left: 16px;
  font-size: 0.92rem;
}

.service-body li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  list-style: none;
  overflow: hidden;
}

.process-list li {
  min-height: 205px;
  padding: 24px;
  background: var(--surface);
}

.process-list span {
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
}

.process-list p {
  margin: 12px 0 0;
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
}

.equipment-list {
  border: 1px solid #d9d0c3;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.equipment-list h3 {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row span {
  color: var(--steel-dark);
  font-weight: 900;
}

.spec-row p {
  margin: 0;
  color: var(--muted);
}

.quality-points {
  display: grid;
  gap: 16px;
}

.quality-points article {
  min-height: 152px;
  padding: 22px;
  border: 1px solid #d9d0c3;
  border-radius: var(--radius);
  background: var(--steel-dark);
  color: #fffaf5;
}

.quality-points p {
  margin: 12px 0 0;
  color: rgba(255, 250, 245, 0.72);
}

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

.case-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--surface);
}

.case-card span {
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 900;
}

.case-card h3 {
  margin-top: 14px;
}

.case-card p {
  margin: 12px 0 0;
  font-size: 0.94rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: start;
  width: 100%;
  max-width: none;
  padding: 90px max(22px, calc((100vw - var(--max)) / 2));
  background: var(--steel-dark);
  color: #fffaf5;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-copy .eyebrow,
.form-heading .eyebrow {
  color: #f4b06a;
}

.contact-copy p {
  color: rgba(255, 250, 245, 0.76);
}

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

.contact-methods a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fffaf5;
  font-weight: 800;
}

.contact-methods .lucide {
  color: #f4b06a;
  flex: 0 0 auto;
}

.rfq-form {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: #fffaf5;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.form-heading {
  margin-bottom: 18px;
}

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

label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--steel-dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbc3b8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 12px;
  outline: none;
}

input[type="file"] {
  min-width: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(185, 86, 43, 0.16);
}

.form-submit {
  width: 100%;
  margin-top: 20px;
  border: 0;
}

.form-note {
  min-height: 48px;
  margin: 14px 0 0;
  font-size: 0.92rem;
}

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

.form-note.manual {
  padding: 14px;
  border: 1px solid #d9d0c3;
  border-radius: 6px;
  background: #f4eee6;
  color: var(--steel-dark);
  white-space: pre-wrap;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 18px 30px;
  padding: 34px max(22px, calc((100vw - var(--max)) / 2));
  background: #151a1d;
  color: rgba(255, 250, 245, 0.88);
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  align-items: start;
  gap: 16px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #f4b06a;
}

.attribution {
  grid-column: 1 / -1;
  font-size: 0.78rem;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

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

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    flex-direction: column;
    padding-top: 8px;
  }

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

  .header-cta {
    display: none;
  }

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

  .contact-band,
  .split,
  .quality-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

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

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand strong {
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    width: 42px;
    min-height: 42px;
    padding: 8px;
  }

  .nav-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  h1 {
    font-size: 2rem;
  }

  html[lang="en"] h1 {
    font-size: 1.86rem;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    padding: 52px 0 38px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .btn span {
    white-space: normal;
  }

  .hero-metrics,
  .trust-strip,
  .service-grid,
  .process-list,
  .case-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-metrics div {
    min-height: 74px;
    padding: 12px 8px;
  }

  .hero-metrics dt {
    font-size: 1.05rem;
  }

  .hero-metrics dd {
    font-size: 0.76rem;
  }

  .trust-strip {
    width: min(100% - 32px, var(--max));
    margin-top: -18px;
  }

  .section,
  .band,
  .contact-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .band,
  .contact-band,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    width: min(100% - 32px, var(--max));
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rfq-form {
    padding: 20px;
  }

  .contact-methods a {
    align-items: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
