:root {
  --ink: #16211f;
  --muted: #5e6864;
  --paper: #fbfbf8;
  --mist: #edf3ef;
  --line: #d8e0da;
  --teal: #0d6a5e;
  --teal-dark: #073f39;
  --copper: #b86b2b;
  --rose: #9d3f39;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 34, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

body.lang-zh .en,
body.lang-en .zh {
  display: none !important;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  grid-template-areas:
    "brand language"
    "nav nav";
  align-items: center;
  gap: 12px 28px;
  padding: 14px clamp(18px, 4vw, 56px) 10px;
  background: rgba(251, 251, 248, 0.93);
  border-bottom: 1px solid rgba(216, 224, 218, 0.86);
  backdrop-filter: blur(16px);
}

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

.logo-brand {
  grid-area: brand;
  width: min(560px, 58vw);
  min-width: 380px;
}

.logo-brand img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 15px;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.main-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  margin-left: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(216, 224, 218, 0.78);
}

.main-nav a,
.language-toggle {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  color: #31413d;
  white-space: nowrap;
}

.main-nav a:hover,
.language-toggle:hover {
  background: var(--mist);
}

.main-nav a.active {
  color: var(--white);
  background: var(--teal);
}

.language-toggle {
  grid-area: language;
  justify-self: end;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  background: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(86svh - 72px);
  max-height: 860px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #0d1a18;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(7, 18, 16, 0.52);
  z-index: 1;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  content: "";
  background: rgba(7, 18, 16, 0.54);
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 150px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c28f;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.sinochem-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(7, 18, 16, 0.38);
  backdrop-filter: blur(12px);
  font-size: 14px;
}

.sinochem-strip strong {
  color: #f2c28f;
  letter-spacing: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.btn.primary {
  color: var(--white);
  background: var(--teal);
}

.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 56px);
  bottom: 26px;
  left: clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-facts div {
  padding: 18px;
  background: rgba(7, 18, 16, 0.35);
}

.hero-facts strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.section {
  padding: 88px clamp(18px, 4vw, 56px);
}

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

.page-hero {
  padding: 86px clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(rgba(7, 18, 16, 0.72), rgba(7, 18, 16, 0.74)),
    url("assets/hero-reactor.jpg") center / cover;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 54px;
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.home-entry-section {
  background: #f5f7f4;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.entry-grid a {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(216, 224, 218, 0.95);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 34, 31, 0.08);
  transition: transform 160ms ease, border-color 160ms ease;
}

.entry-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 106, 94, 0.42);
}

.entry-grid a > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.entry-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-layout h2 {
  margin: 0;
  max-width: 850px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy p,
.contact-layout p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.history-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.history-panel div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.history-panel strong {
  display: block;
  color: var(--teal);
  font-size: 25px;
  line-height: 1;
}

.history-panel span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.value-grid > span,
.manufacturing-points > span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--white);
  font-weight: 800;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.image-panel figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
}

.light-band {
  background: var(--mist);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 900px;
}

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

.capability-card,
.product-grid article {
  overflow: hidden;
  border: 1px solid rgba(216, 224, 218, 0.95);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 34, 31, 0.08);
}

.capability-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.capability-card div {
  padding: 20px;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.capability-card p,
.platform-feature p,
.product-grid p,
.tag-blocks p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.platform-layout {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.platform-feature {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.platform-feature img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.platform-feature div {
  padding: clamp(22px, 4vw, 38px);
}

.platform-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--rose);
  font-size: 13px;
  font-weight: 800;
}

.dark-band {
  color: var(--white);
  background: var(--teal-dark);
}

.dark-band .section-kicker {
  color: #f3b573;
}

.dark-band .section-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.manufacturing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.manufacturing-points {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.manufacturing-points > span {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.manufacturing-media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.manufacturing-media img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  border-radius: 8px;
  object-fit: cover;
}

.manufacturing-media .main-shot {
  min-height: 420px;
}

.reaction-section {
  background: #f5f7f4;
}

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

.tag-blocks > div {
  min-height: 220px;
  padding: 28px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 34, 31, 0.07);
}

.products-section {
  background: var(--paper);
}

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

.product-grid article {
  min-height: 190px;
  padding: 24px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.catalog-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(216, 224, 218, 0.95);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 34, 31, 0.08);
}

.catalog-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.catalog-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  background: #e9f0ec;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list p {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 620px;
  min-height: 48px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(22, 33, 31, 0.12);
}

.contact-list strong {
  color: var(--teal-dark);
}

.contact-list span,
.contact-list a {
  color: var(--muted);
  word-break: break-word;
}

.qr-panel {
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.qr-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-panel figcaption {
  padding-top: 12px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #111a18;
  font-size: 13px;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
  }

  .logo-brand {
    width: min(500px, 62vw);
    min-width: 300px;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .language-toggle {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0 190px;
  }

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

  .section-copy h2,
  .section-heading h2,
  .contact-layout h2,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-facts,
  .history-panel,
  .capability-grid,
  .tag-blocks,
  .product-grid,
  .catalog-grid,
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .manufacturing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 16px 8px;
  }

  .main-nav {
    display: flex;
    padding-top: 8px;
    gap: 6px;
  }

  .brand {
    min-width: 0;
  }

  .logo-brand {
    width: 268px;
    min-width: 0;
  }

  .logo-brand img {
    height: 50px;
  }

  .brand strong {
    font-size: 14px;
  }

  .main-nav a,
  .language-toggle {
    padding: 8px 11px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.06;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-layout h2,
  .page-hero h1 {
    font-size: 32px;
  }

  .hero-copy {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-content {
    width: min(100% - 32px, 560px);
    padding: 30px 0 14px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .btn {
    min-height: 40px;
    padding: 9px 14px;
  }

  .hero-facts {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(100% - 32px, 560px);
    margin: 0 auto 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts div {
    padding: 10px;
  }

  .hero-facts strong {
    font-size: 20px;
  }

  .hero-facts span {
    margin-top: 4px;
    font-size: 11px;
  }

  .sinochem-strip {
    gap: 6px;
    margin-top: 15px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero::after {
    height: 46%;
  }

  .section {
    padding: 64px 16px;
  }

  .page-hero {
    padding: 58px 16px;
  }

  .page-hero p:last-child {
    font-size: 15px;
  }

  .section-heading {
    display: block;
  }

  .value-grid,
  .history-panel,
  .capability-grid,
  .platform-feature,
  .manufacturing-media,
  .tag-blocks,
  .product-grid,
  .catalog-grid,
  .entry-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .platform-feature img {
    min-height: 210px;
  }

  .manufacturing-media img,
  .manufacturing-media .main-shot {
    min-height: 240px;
  }

  .contact-list p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .qr-panel {
    width: min(260px, 100%);
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 8px;
  }

  .logo-brand {
    width: 250px;
  }

  .logo-brand img {
    height: 46px;
  }

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

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }
}
