:root {
  --bg: #f4f6f7;
  --panel: #ffffff;
  --panel-soft: #e9eef2;
  --steel: #17222b;
  --steel-soft: #4f5d67;
  --muted: #7a8790;
  --line: rgba(23, 34, 43, 0.12);
  --line-strong: rgba(23, 34, 43, 0.22);
  --orange: #ef7d17;
  --orange-soft: rgba(239, 125, 23, 0.13);
  --blue: #2266bd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--steel);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

html[lang^="zh"] body {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3 {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  text-transform: none;
}

html[lang^="zh"] .hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.14;
  max-width: 720px;
}

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

.texture {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(233, 238, 242, 0.94)),
    radial-gradient(circle at 84% 12%, rgba(239, 125, 23, 0.12), transparent 34%),
    radial-gradient(circle at 8% 86%, rgba(34, 102, 189, 0.1), transparent 30%),
    linear-gradient(rgba(23, 34, 43, 0.105) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 34, 43, 0.105) 1px, transparent 1px);
  background-size: auto, auto, auto, 42px 42px, 42px 42px;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.texture::after {
  background:
    linear-gradient(rgba(23, 34, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 34, 43, 0.05) 1px, transparent 1px);
  background-size: 168px 168px, 168px 168px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.topbar {
  align-items: center;
  background: rgba(9, 10, 11, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 48px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  min-width: 0;
}

.brand img {
  display: block;
  height: clamp(34px, 5vw, 54px);
  max-width: min(48vw, 360px);
  object-fit: contain;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 4px;
}

.header-actions,
.language-switcher {
  align-items: center;
  display: flex;
}

.header-actions {
  gap: 12px;
}

.language-switcher {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: rgba(231, 234, 236, 0.45);
  flex: 0 0 auto;
  padding: 3px 5px;
}

.language-button {
  background: transparent;
  border: 0;
  color: rgba(231, 234, 236, 0.64);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  min-height: 30px;
  padding: 0 7px;
}

.language-button:hover,
.language-button.active {
  color: var(--orange);
}

.nav-links a {
  border-radius: 4px;
  color: rgba(231, 234, 236, 0.78);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 9px 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--orange-soft);
  color: var(--orange);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 4px;
  height: 38px;
  justify-content: center;
  padding: 0 9px;
  width: 44px;
}

.menu-toggle span {
  background: #e7eaec;
  border-radius: 99px;
  display: block;
  height: 2px;
  width: 100%;
}

main {
  position: relative;
  z-index: 1;
}

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

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(80px, 10vw, 132px) clamp(20px, 5vw, 64px);
}

.hero .section-inner {
  min-height: 100vh;
  padding-top: clamp(118px, 14vw, 168px);
}

.hero-grid,
.split-section,
.company-band {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 78px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
}

.eyebrow {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 6.8vw, 6.2rem);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 860px;
}

h2 {
  font-size: clamp(2.15rem, 4.5vw, 4.2rem);
  line-height: 1;
  margin-bottom: 18px;
  max-width: 780px;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.lead {
  color: var(--steel-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.75;
  max-width: 680px;
}

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

.button {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-transform: uppercase;
}

.button.primary {
  background: var(--orange);
  color: #130b04;
}

.button.secondary {
  border: 1px solid var(--line-strong);
  color: var(--steel);
}

.hero-visual {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 238, 243, 0.82)),
    radial-gradient(circle at 28% 32%, rgba(34, 102, 189, 0.13), transparent 28%),
    radial-gradient(circle at 76% 72%, rgba(239, 125, 23, 0.13), transparent 30%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(23, 34, 43, 0.13);
  display: flex;
  justify-content: center;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
}

.hero-visual::before {
  background:
    linear-gradient(rgba(23, 34, 43, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 34, 43, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(34, 102, 189, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(34, 102, 189, 0.08) 2px, transparent 2px);
  background-size: 34px 34px, 34px 34px, 136px 136px, 136px 136px;
  content: "";
  inset: 22px;
  opacity: 0.68;
  position: absolute;
  z-index: 0;
}

.hero-visual::after {
  border: 1px solid rgba(23, 34, 43, 0.14);
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.44),
    inset 0 0 0 11px rgba(23, 34, 43, 0.08);
  content: "";
  inset: 24px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-visual img {
  border-radius: 8px;
  box-shadow:
    0 24px 54px rgba(23, 34, 43, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  display: block;
  max-height: 84%;
  max-width: 84%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.hero-combined-logo {
  max-height: 90%;
  max-width: min(92%, 620px);
  object-fit: contain;
}

.brand-plaque {
  border: 1px solid rgba(23, 34, 43, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 34, 43, 0.12);
  padding: clamp(14px, 2vw, 22px);
}

.visual-line {
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  height: 1px;
  opacity: 0.7;
  position: absolute;
  width: 78%;
  z-index: 1;
}

.line-one {
  top: 24%;
  transform: rotate(-18deg);
}

.line-two {
  bottom: 22%;
  transform: rotate(18deg);
}

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

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

.service-card,
.company-card,
.contact-card,
.contact-panel,
.process-list li {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 34, 43, 0.09);
}

.service-card {
  min-height: 288px;
  padding: 28px;
}

.service-card p,
.contact-card p,
.contact-panel p {
  color: var(--steel-soft);
  line-height: 1.7;
}

.service-icon {
  border-radius: 6px;
  display: block;
  height: 48px;
  margin-bottom: 30px;
  position: relative;
  width: 48px;
}

.pipe-icon {
  background: linear-gradient(90deg, var(--blue), #5da0ff);
}

.appliance-icon {
  background: linear-gradient(135deg, var(--orange), #ffb04a);
}

.solution-icon {
  background: linear-gradient(135deg, var(--blue), var(--orange));
}

.service-icon::after {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 99px;
  content: "";
  height: 4px;
  left: 10px;
  position: absolute;
  right: 10px;
  top: 22px;
}

.split-section {
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: center;
  color: var(--steel-soft);
  display: flex;
  gap: 18px;
  line-height: 1.5;
  min-height: 82px;
  padding: 20px;
}

.process-list span {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}

.process-list b {
  font-weight: 400;
}

.company-band {
  align-items: stretch;
}

.company-card,
.contact-card {
  padding: clamp(28px, 4vw, 44px);
}

dl {
  display: grid;
  margin-bottom: 0;
  margin-top: 34px;
}

dl div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 170px 1fr;
  padding: 18px 0;
}

dt {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

dd {
  color: var(--steel-soft);
  margin: 0;
}

.contact-card {
  align-content: center;
  display: grid;
}

.contact-card img {
  display: block;
  margin-bottom: 28px;
  max-width: 100%;
}

.contact-panel {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 5vw, 54px);
}

.contact-panel h2 {
  margin-bottom: 0;
}

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

.enquiry-form {
  display: grid;
  gap: 16px;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--steel);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
  outline: none;
}

.form-status {
  color: var(--steel-soft);
  font-size: 0.95rem;
  margin: 0;
  min-height: 1.5em;
}

.contact-method {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--steel);
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 20px;
}

.contact-method span {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-method strong {
  color: var(--steel);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.contact-note {
  border-left: 2px solid var(--orange);
  margin-bottom: 0;
  padding-left: 18px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    background: rgba(9, 10, 11, 0.98);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    min-width: 190px;
    padding: 8px;
    position: absolute;
    right: 18px;
    top: calc(100% + 8px);
  }

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

  .nav-links a {
    width: 100%;
  }

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

  .hero-visual {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 8px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand img {
    max-width: min(42vw, 170px);
  }

  .header-actions {
    gap: 7px;
  }

  .language-button {
    padding: 0 5px;
  }

  h1 {
    font-size: 2.65rem;
  }

  html[lang^="zh"] .hero h1 {
    font-size: 2.15rem;
    line-height: 1.2;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-combined-logo {
    max-width: 98%;
  }

  dl div {
    grid-template-columns: 1fr;
  }
}
