:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d7dee8;
  --panel: #f5f7fa;
  --panel-strong: #eaf0f7;
  --blue: #0f5da8;
  --blue-dark: #0a315d;
  --orange: #c96d1b;
  --steel: #2f3b4a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 60px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 8px;
}

.brand small,
.site-footer span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--orange);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(260px, 0.45fr);
  gap: 28px;
  align-items: end;
  padding: 90px clamp(20px, 6vw, 80px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(8, 18, 34, 0.92), rgba(12, 55, 98, 0.78), rgba(12, 26, 44, 0.62)),
    url("assets/factory-gate.jpg") center / cover;
}

.hero-panel {
  max-width: 850px;
}

.hero-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.hero-card strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.hero-card span {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

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

.hero .eyebrow {
  color: #a9d3ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.hero-copy {
  max-width: 710px;
  color: #e8eef6;
  font-size: 20px;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 140px;
  padding: 28px clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 21px;
}

.trust-strip span,
.copy-block,
.product-card p,
.steps span,
.market-grid span,
.form-note {
  color: var(--muted);
}

.section {
  padding: 86px clamp(20px, 6vw, 80px);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.05fr);
  gap: 52px;
  align-items: start;
}

.copy-block {
  font-size: 18px;
}

.products {
  background: var(--panel);
}

.factory-tour {
  background: var(--panel);
}

.factory-tour .section-head p:last-child {
  max-width: 900px;
  color: var(--muted);
}

.factory-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.factory-feature img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.factory-feature > div {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px;
}

.factory-feature p {
  color: var(--muted);
}

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.factory-gallery figure {
  min-height: 270px;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.factory-gallery figure.wide {
  grid-column: span 2;
}

.factory-gallery img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
}

.factory-gallery figcaption {
  padding: 13px 15px;
  color: var(--blue-dark);
  font-weight: 900;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: 32px;
}

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

.product-card,
.market-grid article,
.contact-card,
.rfq-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.product-card.priority {
  border-color: rgba(15, 93, 168, 0.35);
  box-shadow: inset 0 4px 0 var(--blue);
}

.product-tag {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 10px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  background: #e7f1fd;
  border-radius: 999px;
}

.product-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.spec-section {
  background: var(--white);
}

.spec-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-table div {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

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

.spec-table strong,
.spec-table span {
  display: flex;
  align-items: center;
  padding: 16px 20px;
}

.spec-table strong {
  background: var(--panel-strong);
}

.quality {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 48px;
  align-items: center;
  background: #111827;
  color: var(--white);
}

.quality p {
  color: #d7deea;
}

.doc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.doc-list span {
  padding: 8px 12px;
  color: #e0efff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.quality-images {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.quality-images img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--white);
}

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

.certificates .section-head p:last-child {
  max-width: 860px;
  color: var(--muted);
}

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

.system-cert-card {
  display: grid;
  grid-template-rows: 360px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.system-cert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: var(--panel);
}

.system-cert-card > div {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.cert-label {
  justify-self: start;
  padding: 6px 10px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  background: #e7f1fd;
  border-radius: 999px;
}

.cert-label.green {
  color: #14532d;
  background: #dcfce7;
}

.cert-label.orange {
  color: #8a3b04;
  background: #ffedd5;
}

.system-cert-card h3 {
  margin-bottom: 0;
  font-size: 21px;
}

.system-cert-card p {
  color: var(--muted);
}

.system-cert-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  background: var(--panel);
  border-radius: 8px;
}

.system-cert-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}

.system-cert-card dt {
  color: var(--muted);
  font-weight: 800;
}

.system-cert-card dd {
  margin: 0;
  font-weight: 800;
}

.system-cert-card a {
  color: var(--blue);
  font-weight: 900;
}

.credit-section {
  margin-top: 58px;
}

.section-head.compact {
  margin-bottom: 22px;
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.credit-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.credit-grid img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  background: var(--panel);
}

.credit-grid figcaption {
  padding: 14px 16px;
  color: var(--blue-dark);
  font-weight: 900;
  border-top: 1px solid var(--line);
}

.markets {
  background: var(--panel);
}

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

.market-grid article {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.market-grid strong {
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.25;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 190px;
  padding: 24px;
  border-left: 4px solid var(--orange);
  background: var(--panel);
  border-radius: 8px;
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--orange);
  font-weight: 900;
}

.steps span {
  display: block;
  margin-top: 8px;
}

.rfq {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 46px;
  background: var(--blue-dark);
  color: var(--white);
}

.rfq p {
  color: #dce9f7;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 22px;
  color: var(--ink);
}

.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

.rfq-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #c7cfdb;
  border-radius: 8px;
}

textarea {
  resize: vertical;
}

.form-note {
  display: block;
  font-size: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.mobile-cta {
  display: none;
}

@media (max-width: 1100px) {
  .hero,
  .split,
  .factory-feature,
  .quality,
  .rfq {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .factory-gallery,
  .market-grid,
  .system-cert-grid,
  .credit-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 58px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  nav {
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-card {
    max-width: none;
  }

  .trust-strip,
  .factory-gallery,
  .product-grid,
  .market-grid,
  .system-cert-grid,
  .credit-grid,
  .steps,
  .quality-images {
    grid-template-columns: 1fr;
  }

  .spec-table div {
    grid-template-columns: 1fr;
  }

  .quality-images img {
    height: auto;
    max-height: 560px;
  }

  .factory-feature img {
    height: 310px;
  }

  .factory-gallery figure.wide {
    grid-column: span 1;
  }

  .system-cert-card {
    grid-template-rows: 420px 1fr;
  }

  .system-cert-card dl div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .mobile-cta a {
    display: grid;
    min-height: 54px;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    background: var(--blue);
  }

  .mobile-cta a:first-child {
    background: var(--orange);
  }
}
