:root {
  --ink: #1f2528;
  --muted: #687276;
  --line: #d9e1e3;
  --paper: #f7f8f6;
  --white: #ffffff;
  --steel: #3f5963;
  --rust: #9c5a2e;
  --signal: #f0b429;
  --green: #2f6f55;
  --shadow: 0 20px 60px rgba(24, 34, 38, 0.18);
}

* {
  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;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(26, 34, 37, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--signal);
  border-radius: 8px;
  font-weight: 800;
}

.brand-text {
  overflow: hidden;
  max-width: 340px;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav a:hover,
.header-call:hover {
  color: var(--signal);
}

.header-call {
  padding: 8px 12px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  padding: 128px clamp(20px, 5vw, 72px) 64px;
  color: var(--white);
  background-image: url("assets/steel-warehouse.jpg");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 21, 24, 0.88), rgba(13, 21, 24, 0.58) 48%, rgba(13, 21, 24, 0.18)),
    linear-gradient(0deg, rgba(13, 21, 24, 0.52), transparent 40%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--signal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: var(--ink);
  background: var(--signal);
  box-shadow: 0 14px 34px rgba(240, 180, 41, 0.25);
}

.btn.secondary,
.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: var(--muted);
}

.hero-panel strong {
  display: block;
  margin: 4px 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}

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

.quick-strip div {
  padding: 22px clamp(18px, 4vw, 42px);
  background: var(--white);
}

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

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

.quick-strip span {
  color: var(--muted);
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section h2,
.service-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.image-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.image-grid img,
.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-grid img:first-child {
  margin-top: 44px;
}

.product-section {
  display: block;
  background: var(--white);
}

.section-heading {
  max-width: 780px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f5f7f5);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-card img {
  width: 100%;
  height: 150px;
  margin-top: 20px;
  object-fit: cover;
  border-radius: 6px;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(58px, 7vw, 96px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 37, 40, 0.96), rgba(63, 89, 99, 0.94)),
    url("assets/stacked-pipes.jpg") center / cover;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list strong {
  font-size: 20px;
}

.service-list span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
}

.contact-list dd {
  margin: 0;
  font-weight: 800;
}

.contact-list a {
  color: var(--green);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #1f2528;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section,
  .service-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .quick-strip,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .brand-text {
    max-width: 210px;
    font-size: 15px;
  }

  .header-call {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .quick-strip,
  .product-grid,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid img:first-child {
    margin-top: 0;
  }

  .image-grid img,
  .contact-photo img {
    min-height: 260px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: block;
  }

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