:root {
  --blue: #12385c;
  --blue-dark: #0b263f;
  --blue-mid: #0f304f;
  --red: #8f2f2f;
  --gold: #9a8a72;
  --paper: #f5f5f5;
  --white: #ffffff;
  --text: #333333;
  --muted: #666666;
  --line: #dcdcdc;
  --line-dark: #b9c1ca;
  --font-body: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --font-heading: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --font-brand: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --font-en: Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

body[data-menu-open="true"] {
  overflow: hidden;
}

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

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

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

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-top[data-elevated="true"] {
  border-bottom-color: #c8c8c8;
}

.utility-bar {
  color: #e9eef5;
  background: var(--blue-dark);
  font-size: 13px;
  font-weight: 400;
}

.utility-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.utility-inner span:first-child {
  margin-right: auto;
}

.utility-inner a,
.utility-inner button {
  color: #e9eef5;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

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

.masthead-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  width: 142px;
  height: 54px;
  display: block;
  background: #fff;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  color: #111;
  font-family: var(--font-brand);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-text span {
  color: #777;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.masthead-right {
  color: #555;
  font-size: 14px;
  text-align: right;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px;
  background: #f5f5f5;
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.nav-bar {
  background: var(--blue);
}

.nav-inner {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.nav-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-inner a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-inner a:hover {
  background: var(--blue-mid);
}

.home-banner {
  position: relative;
  min-height: 330px;
  background: url("./assets/factory-hero.webp") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.home-banner::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 56, 92, 0.22);
}

.banner-inner {
  position: relative;
  z-index: 1;
  min-height: 330px;
  display: flex;
  align-items: center;
}

.banner-copy {
  max-width: 760px;
  padding: 22px 26px;
  background: rgba(10, 39, 66, 0.68);
  border-left: 4px solid rgba(255, 255, 255, 0.55);
}

.banner-copy h1 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.banner-products {
  margin: 0 0 12px;
  color: #f0f4f7;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.banner-desc {
  max-width: 720px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.banner-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.banner-contact span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.24);
}

.banner-contact a,
.plain-button,
.submit-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
}

.banner-image {
  display: none;
}

.home-block {
  padding: 34px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.home-block:nth-of-type(odd) {
  background: var(--paper);
}

.block-title {
  position: relative;
  display: block;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.block-title::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(360px, 100%);
  height: 1px;
  content: "";
  background: var(--line-dark);
}

.block-title.left {
  display: block;
}

.block-title h2 {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 0 7px;
  padding: 0 0 8px;
  color: #222;
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.25;
}

.block-title h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  content: "";
  background: var(--blue);
}

.block-title span {
  display: table;
  width: auto;
  margin-top: 0;
  margin-bottom: 8px;
  color: #999;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.7px;
  line-height: 1.4;
  text-transform: uppercase;
}

.block-title.light {
  border-bottom-color: transparent;
}

.block-title.light h2 {
  color: #fff;
}

.block-title.light span {
  color: rgba(255, 255, 255, 0.66);
}

.block-title.light h2::after {
  background: rgba(255, 255, 255, 0.8);
}

.block-title.light::after {
  background: rgba(255, 255, 255, 0.28);
}

.product-directory {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 18px;
}

.product-menu,
.product-main {
  background: #fff;
  border: 1px solid var(--line);
}

.product-menu h3 {
  margin: 0;
  padding: 12px 14px;
  color: #fff;
  background: var(--blue);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.category-list {
  display: grid;
}

.category-button {
  min-height: 39px;
  padding: 8px 13px;
  color: #333;
  font-family: var(--font-heading);
  font-size: 14px;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.category-button:hover,
.category-button[aria-selected="true"] {
  color: var(--blue);
  background: #f2f4f6;
  font-weight: 600;
}

.product-main {
  padding: 16px;
}

.category-summary {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.category-summary h3 {
  margin: 0 0 5px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.category-summary p {
  margin: 0;
  color: #666;
}

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

.catalog-item,
.recommended-item {
  background: #fff;
  border: 1px solid var(--line);
}

.catalog-item img,
.recommended-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.catalog-image-wrap,
.watermarked-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.catalog-image-wrap img,
.watermarked-image img {
  display: block;
  width: 100%;
}

.image-watermark {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 4px 7px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(7, 29, 51, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.7px;
  pointer-events: none;
}

.catalog-item h4,
.recommended-item h3 {
  margin: 8px 9px 2px;
  color: #222;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.catalog-item p,
.recommended-item p {
  min-height: 32px;
  margin: 0 9px 7px;
  color: #666;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
}

.catalog-item a {
  display: block;
  margin: 0 9px 9px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
}

.profile-layout,
.two-column,
.ore-layout,
.commodity-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 28px;
  align-items: start;
}

.profile-image {
  min-height: 300px;
  background: #e1e5ea url("./assets/about-materials.webp") center / cover no-repeat;
  border: 1px solid var(--line);
}

.profile-text p,
.plain-copy,
.ore-layout p,
.commodity-copy p,
.contact-tip {
  color: #555;
  margin: 0 0 12px;
  line-height: 1.75;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about-points div {
  min-height: 72px;
  padding: 12px;
  background: #f8f9fa;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-points strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 600;
}

.about-points span {
  color: #666;
  font-size: 13px;
}

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

.application-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.application-list a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-heading);
  font-weight: 600;
}

.application-list a::before {
  width: 6px;
  height: 6px;
  margin-right: 10px;
  content: "";
  background: var(--red);
}

.home-block.inspection {
  color: #fff;
  background: var(--blue);
}

.inspection .plain-copy {
  color: rgba(255, 255, 255, 0.78);
}

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

.inspection-item {
  min-height: 86px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.inspection-item strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
}

.inspection-item span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.ore-layout {
  grid-template-columns: 0.58fr 0.42fr;
  align-items: center;
}

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

.ore-photo {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.ore-photo-main {
  grid-column: 1 / -1;
}

.ore-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #fff;
}

.ore-photo figcaption {
  padding: 7px 9px;
  color: #444;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  border-top: 1px solid var(--line);
}

.commodity-section {
  border-top: 1px solid var(--line);
}

.petroleum-trade {
  background: #f5f5f5;
}

.commodity-layout {
  grid-template-columns: 0.48fr 0.52fr;
  align-items: center;
}

.commodity-image {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.commodity-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.commodity-facts {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.commodity-facts li {
  position: relative;
  padding: 8px 10px 8px 18px;
  color: #4d4d4d;
  border-bottom: 1px solid var(--line);
}

.commodity-facts li::before {
  position: absolute;
  top: 16px;
  left: 2px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--blue);
}
.news-list {
  border-top: 1px solid var(--line);
  background: #fff;
}

.news-row {
  min-height: 44px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.news-row time {
  padding-left: 14px;
  color: #777;
}

.news-row span {
  color: #333;
  font-family: var(--font-body);
  font-weight: 600;
}

.home-block.contact-section {
  color: #fff;
  background: var(--blue-dark);
}

.contact-table {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-table div {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 46px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-table span,
.contact-table strong,
.contact-table a {
  padding: 10px 12px;
}

.contact-table span {
  color: #dce6ef;
  background: rgba(255, 255, 255, 0.06);
}

.contact-table strong,
.contact-table a {
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-email {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-tip {
  color: rgba(255, 255, 255, 0.78);
}

.inquiry-form {
  display: grid;
  gap: 11px;
  padding: 18px;
  color: #333;
  background: #fff;
  border: 1px solid #c8d0d8;
}

.inquiry-form label {
  display: grid;
  gap: 5px;
}

.inquiry-form span {
  font-family: var(--font-heading);
  font-weight: 600;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: #333;
  background: #fff;
  border: 1px solid #c9c9c9;
}

.inquiry-form textarea {
  resize: vertical;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #496b3f;
  font-size: 13px;
}

.site-footer {
  padding: 22px 0;
  color: #e9eef5;
  background: #071d33;
}

.site-footer strong {
  font-family: var(--font-heading);
  font-weight: 600;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.footer-layout p {
  margin: 4px 0 0;
  color: rgba(233, 238, 245, 0.7);
}

.footer-links {
  display: flex;
  gap: 16px;
  color: rgba(233, 238, 245, 0.82);
}

@media (max-width: 1100px) {
  .masthead-right {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-bar {
    display: none;
  }

  body[data-menu-open="true"] .nav-bar {
    display: block;
  }

  .nav-inner {
    display: grid;
  }

  .nav-inner a {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

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

@media (max-width: 860px) {
  .utility-inner {
    min-height: auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 6px 0;
  }

  .utility-inner span:first-child {
    margin-right: 0;
  }

  .masthead-inner {
    min-height: 66px;
  }

  .brand-logo {
    width: 102px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text span {
    display: none;
  }

  .home-banner,
  .banner-inner {
    min-height: 330px;
  }

  .banner-inner,
  .product-directory,
  .profile-layout,
  .two-column,
  .ore-layout,
  .commodity-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .banner-copy h1 {
    font-size: 26px;
  }

  .home-block {
    padding: 32px 0;
  }

  .catalog-grid,
  .recommended-grid,
  .application-list,
  .inspection-list,
  .about-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .catalog-grid,
  .recommended-grid,
  .application-list,
  .inspection-list,
  .about-points {
    grid-template-columns: 1fr;
  }

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

  .news-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0;
  }

  .banner-contact {
    display: grid;
  }
}

.article-main {
  padding: 30px 0 44px;
  background: #f5f5f5;
}

.breadcrumb {
  margin-bottom: 16px;
  color: #777;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--blue);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.article-content {
  padding: 26px 30px 34px;
  background: #fff;
  border: 1px solid var(--line);
}

.article-header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.article-header time {
  color: #888;
  font-size: 12px;
}

.article-header h1 {
  margin: 8px 0 10px;
  color: #1d2730;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.article-summary {
  margin: 0;
  color: #666;
  line-height: 1.75;
}

.article-body h2 {
  margin: 24px 0 8px;
  padding-left: 10px;
  color: var(--blue);
  border-left: 3px solid var(--blue);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
}

.article-body p,
.article-body li {
  color: #444;
  line-height: 1.8;
}

.article-body ul {
  margin: 8px 0 14px;
  padding-left: 22px;
}

.article-note {
  margin-top: 24px;
  padding: 13px 15px;
  color: #555;
  background: #f6f7f8;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
}

.article-sidebar {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.article-sidebar h2 {
  margin: 0;
  padding: 11px 14px;
  color: #fff;
  background: var(--blue);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.related-news a {
  display: block;
  padding: 11px 13px;
  color: #333;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.related-news a:last-child {
  border-bottom: 0;
}

.article-contact p {
  margin: 0;
  padding: 13px 14px 6px;
  color: #666;
}

.article-contact a {
  display: block;
  padding: 5px 14px 14px;
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 860px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-content {
    padding: 20px 18px 28px;
  }

  .article-header h1 {
    font-size: 23px;
  }
}