:root {
  --ink: #102027;
  --muted: #5f6f73;
  --line: #dce7e5;
  --soft: #eef7f5;
  --panel: #ffffff;
  --brand: #0f766e;
  --brand-dark: #0a4f4a;
  --accent: #d97706;
  --steel: #28454c;
  --shadow: none;
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfa;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-weight: 800;
  background: var(--brand);
  border-radius: 8px;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

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

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.main-nav a {
  padding: 9px 14px;
  color: #33484d;
  border-radius: 8px;
  font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-dark);
  background: var(--soft);
}

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

.language-switcher {
  position: relative;
  min-width: 150px;
}

.language-switcher summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  color: #33484d;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.language-label {
  color: var(--muted);
}

.language-current {
  color: var(--brand-dark);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 4px;
  min-width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.language-switcher:not([open]) .language-menu {
  display: none;
}

.language-menu a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: #33484d;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.language-menu a:hover,
.language-menu a.active {
  color: var(--brand-dark);
  background: var(--soft);
}

.contact-value {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate-override;
  text-align: left;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.ghost {
  color: var(--brand-dark);
  background: #fff;
  border-color: var(--line);
}

.button.light {
  color: var(--brand-dark);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 72px 5vw 92px;
  background:
    linear-gradient(115deg, rgba(15, 118, 110, 0.12), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #eff7f5 100%);
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #385258;
  font-size: 18px;
}

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

.hero-visual {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-metric {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 128px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(16, 32, 39, 0.84);
  border-radius: 8px;
}

.hero-metric strong,
.hero-metric span {
  display: block;
}

.hero-metric strong {
  font-size: 36px;
  line-height: 1;
}

.section {
  padding: 74px 5vw;
}

.strip {
  padding-top: 22px;
  padding-bottom: 22px;
  background: var(--steel);
  color: #fff;
}

.strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.strip span {
  color: #d5e7e4;
}

.muted {
  background: #eef6f4;
}

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

.section-head h2,
.two-col h2,
.product-content h2,
.cta-band h2,
.contact-card h2,
.application-grid h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.category-pill {
  display: flex;
  min-height: 124px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-pill:hover {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: none;
}

.category-pill span {
  color: var(--muted);
  font-size: 14px;
}

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

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

.product-card {
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.18s ease;
}

.product-card:hover {
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: none;
}

.product-media {
  display: block;
  height: 220px;
  overflow: hidden;
  background: transparent;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-body {
  padding: 18px;
  background: #fff;
}

.product-body span,
.keyword-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--brand-dark);
  background: var(--soft);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.product-body h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.product-body small,
.original-name {
  display: block;
  margin: 0 0 10px;
  color: #7a8b8e;
  font-size: 13px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.two-col p {
  color: var(--muted);
  font-size: 17px;
}

.company-profile .section-head {
  align-items: start;
}

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

.profile-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.profile-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.profile-grid p + p {
  margin-top: 12px;
}

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

.feature-list div,
.application-grid article,
.contact-card,
.inquiry-form {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.feature-list span {
  color: var(--muted);
  margin-top: 6px;
}

.page-hero {
  padding: 78px 5vw 52px;
  background: linear-gradient(180deg, #fff 0%, #edf7f5 100%);
  border-bottom: 1px solid var(--line);
}

.catalog {
  display: grid;
  gap: 52px;
}

.catalog-group {
  scroll-margin-top: 96px;
}

.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.group-head h2 {
  margin: 0;
  font-size: 30px;
}

.group-head span {
  color: var(--muted);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 62px 5vw;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.detail-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
}

.detail-media img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center;
}

.detail-summary h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: 0;
}

.detail-summary p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ai-keywords {
  margin-top: 14px;
}

.ai-keywords span {
  background: #fff7ed;
  color: #9a4b00;
}

.product-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 34px;
  align-items: start;
}

.content-main,
.spec-panel {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-main p {
  color: #30484e;
}

.intro-subtitle {
  margin: 24px 0 10px;
  color: var(--brand-dark);
  font-size: 20px;
  line-height: 1.35;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 22px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.data-table tr:first-child th,
.data-table tr:first-child td {
  color: var(--brand-dark);
  background: var(--soft);
  font-weight: 800;
}

.data-table th:last-child,
.data-table td:last-child {
  border-right: 0;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 12px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.faq-list details {
  padding: 16px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--brand-dark);
  font-weight: 800;
}

.faq-list p {
  margin: 10px 0 0;
}

.spec-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-panel th,
.spec-panel td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-panel th {
  width: 96px;
  color: var(--brand-dark);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 0 5vw 74px;
  padding: 32px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 8px;
}

.cta-band p {
  margin: 8px 0 0;
  color: #c8e6e2;
}

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

.application-grid h2 {
  font-size: 24px;
}

.application-grid p {
  color: var(--muted);
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-media {
  display: block;
  min-height: 190px;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fbfa;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  display: grid;
  align-content: start;
  gap: 8px;
}

.news-body span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.news-body h2,
.article-page h1 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

.news-body h2 {
  font-size: 26px;
}

.news-body small,
.article-meta {
  color: #7a8b8e;
}

.news-body p,
.article-content p {
  color: var(--muted);
}

.empty-state {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-page {
  max-width: 920px;
  margin: 0 auto;
}

.article-page h1 {
  font-size: clamp(34px, 5vw, 60px);
}

.news-hero-image {
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-hero-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-content {
  margin-top: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

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

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

.inquiry-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 5vw;
  color: #d9e8e6;
  background: #102027;
}

.site-footer p {
  max-width: 820px;
  margin: 8px 0 0;
  color: #a9bfbd;
}

.footer-contact {
  display: grid;
  gap: 6px;
  min-width: 220px;
}

@media (max-width: 1180px) {
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 880px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 5vw;
  }

  .main-nav {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
  }

  .main-nav::-webkit-scrollbar {
    height: 0;
  }

  .header-cta {
    margin-left: auto;
  }

  .language-switcher {
    order: 4;
    width: 100%;
    max-width: 280px;
  }

  .language-menu {
    right: auto;
    left: 0;
  }

  .hero,
  .two-col,
  .profile-grid,
  .product-detail,
  .product-content,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    height: 320px;
  }

  .product-media {
    height: 200px;
  }

  .detail-media img {
    height: 420px;
  }

  .section-head {
    display: block;
  }

  .section-head p:last-child {
    margin-top: 10px;
  }

  .category-grid,
  .product-grid,
  .product-grid.compact,
  .application-grid,
  .news-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

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

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow),
  .detail-summary p:not(.eyebrow) {
    font-size: 16px;
  }

  .category-grid,
  .product-grid,
  .product-grid.compact,
  .application-grid,
  .news-card {
    grid-template-columns: 1fr;
  }

  .product-media {
    height: 210px;
  }

  .detail-media img {
    height: 360px;
  }

  .section,
  .product-detail {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .page-hero {
    padding-top: 48px;
  }

  .content-main,
  .spec-panel {
    padding: 20px;
  }
}
