:root {
  --ink: #13242d;
  --muted: #5e6f78;
  --line: #d9e7ec;
  --surface: #ffffff;
  --soft: #f3f9fb;
  --blue: #087fb0;
  --blue-deep: #075f86;
  --green: #8bc53f;
  --green-deep: #5e9f23;
  --shadow: 0 18px 48px rgba(8, 64, 90, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 40px;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(21, 51, 65, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 238px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-header:not(.is-scrolled):not(.is-open):not(.is-solid) .brand img {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.site-nav a,
.nav-dropdown-trigger {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after,
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.nav-dropdown-trigger:hover::after,
.nav-dropdown-trigger:focus-visible::after,
.nav-dropdown-trigger.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 119;
  width: min(920px, 92vw);
  height: 18px;
  transform: translateX(-50%);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 14px;
  width: min(920px, 92vw);
  max-height: min(680px, calc(100vh - 120px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--blue-deep);
  background: var(--soft);
}

.nav-dropdown-all {
  grid-column: 1 / -1;
  color: var(--green-deep) !important;
  background: #f4faeb;
}

.nav-product-group {
  display: grid;
  align-content: start;
  gap: 2px;
}

.nav-dropdown-menu .nav-product-group-title {
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--green-deep);
  font-size: 15px;
}

.nav-product-group > a:not(.nav-product-group-title) {
  padding-block: 7px;
  font-size: 13px;
  font-weight: 650;
}

.site-nav .nav-cta {
  padding: 9px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 29, 42, 0.88), rgba(8, 54, 69, 0.62), rgba(8, 54, 69, 0.2)),
    linear-gradient(0deg, rgba(8, 29, 42, 0.45), rgba(8, 29, 42, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 150px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 56px;
  line-height: 1.12;
  font-weight: 800;
}

.hero-lede {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  background: var(--green);
  color: #0f2a18;
  box-shadow: 0 16px 30px rgba(139, 197, 63, 0.24);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.64);
}

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

.hero-stats {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  padding: 18px 20px;
  background: rgba(8, 29, 42, 0.34);
}

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

.hero-stats strong {
  font-size: 25px;
  line-height: 1.2;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

.section:nth-of-type(odd) {
  background: var(--soft);
}

.section-heading h2,
.split-panel h2,
.contact-panel h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
}

.section-heading p:last-child,
.split-panel p,
.contact-panel p {
  color: var(--muted);
}

.centered {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
  align-items: start;
}

.prose > p {
  margin-top: 0;
  color: var(--muted);
  font-size: 17px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.capability,
.flow-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.capability {
  padding: 22px;
}

.capability span {
  color: var(--blue);
  font-weight: 800;
}

.capability h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.capability p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.scope-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 34px;
}

.scope-strip span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
}

.product-catalog {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 38px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.product-catalog h2,
.category-heading h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.product-catalog p,
.category-heading p {
  margin: 0;
  color: var(--muted);
}

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

.catalog-links a {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-deep);
  font-weight: 800;
}

.catalog-links span {
  color: var(--green-deep);
  font-size: 13px;
}

.product-category-block {
  scroll-margin-top: 98px;
  padding-top: 30px;
}

.product-category-block + .product-category-block {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

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

.category-heading span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}

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

.product-index-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(12, 54, 70, 0.06);
}

.product-card a {
  display: block;
  height: 100%;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card.product-stainless-integrated img {
  aspect-ratio: 1 / 1;
}

.product-copy {
  padding: 20px;
}

.product-index-grid .product-copy {
  padding: 14px;
}

.product-kicker {
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  margin: 7px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.product-index-grid .product-card h3 {
  font-size: 17px;
}

.product-card p,
.product-card li {
  color: var(--muted);
  font-size: 15px;
}

.product-card p {
  margin: 0 0 12px;
}

.product-index-grid .product-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 4.6em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13px;
}

.product-card ul {
  margin: 0;
  padding-left: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue-deep);
  font-weight: 800;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.flow-group {
  display: grid;
  gap: 16px;
}

.flow-card {
  padding: 24px;
}

.flow-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.flow li {
  position: relative;
  counter-increment: step;
  padding: 10px 12px 10px 34px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--blue-deep);
  font-weight: 700;
}

.flow li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
}

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

.case-card,
.certificate {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}

.case-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.case-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(5, 34, 48, 0.78);
  color: #fff;
  font-weight: 700;
}

.case-card:hover img,
.certificate:hover img {
  transform: scale(1.04);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.certificate-grid-large {
  grid-template-columns: repeat(5, 1fr);
}

.certificate {
  border: 1px solid var(--line);
  box-shadow: none;
}

.certificate img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.certificate span {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.image-rail {
  display: grid;
  grid-auto-columns: minmax(190px, 240px);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 18px 2px 8px;
  scroll-snap-type: x proximity;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 8px 26px rgba(12, 54, 70, 0.08);
  scroll-snap-align: start;
}

.gallery-card button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-card span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(5, 34, 48, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card-link {
  display: block;
  padding: 9px 10px;
  color: var(--blue-deep);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.contact-section {
  padding: 88px 0;
  background:
    radial-gradient(circle at top left, rgba(139, 197, 63, 0.2), transparent 30%),
    linear-gradient(135deg, #083347, #0a6b8b);
  color: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-details,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

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

.contact-details {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.contact-details div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-details span,
.contact-details strong {
  display: block;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.contact-details strong {
  margin-top: 6px;
  font-size: 20px;
}

.contact-form {
  padding: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.contact-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 118px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  outline: none;
}

.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form .button {
  width: 100%;
  margin-top: 14px;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.site-footer {
  padding: 46px 0 24px;
  background: #071d27;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 42px;
  align-items: start;
}

.footer-logo {
  width: 190px;
  filter: brightness(0) invert(1);
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  margin: 0;
  font-size: 14px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.footer-grid h2 a {
  color: #fff;
}

.footer-grid h2 a:hover {
  color: var(--green);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom a:hover {
  color: var(--green);
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.page-hero img,
.page-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero img {
  object-fit: cover;
}

.page-hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 29, 42, 0.86), rgba(8, 54, 69, 0.55), rgba(8, 54, 69, 0.15)),
    linear-gradient(0deg, rgba(8, 29, 42, 0.52), rgba(8, 29, 42, 0.04));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 154px 0 72px;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: 48px;
  line-height: 1.14;
}

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

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

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

.industry-grid span,
.mini-grid span,
.detail-bullets div,
.service-steps div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-deep);
  font-weight: 800;
  text-align: center;
}

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

.product-detail-heading {
  padding-bottom: 44px;
}

.product-heading-summary {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.detail-aside {
  position: sticky;
  top: 96px;
}

.toc-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(12, 54, 70, 0.06);
}

.side-contact-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #083347, #0a6b8b);
  color: #fff;
  box-shadow: var(--shadow);
}

.side-contact-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.side-contact-card p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.side-contact-card dl {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 10px;
  margin: 0 0 16px;
  font-size: 14px;
}

.side-contact-card dt {
  color: rgba(255, 255, 255, 0.62);
}

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

.side-contact-card .button {
  width: 100%;
  min-height: 40px;
}

.toc-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.toc-card a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.toc-card a:hover {
  color: var(--blue-deep);
  background: var(--soft);
}

.detail-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.content-block,
.contact-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(12, 54, 70, 0.05);
}

.detail-lead {
  display: block;
}

.detail-media {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  gap: 10px;
  position: sticky;
  top: 96px;
}

.detail-image-button {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 8px 24px rgba(12, 54, 70, 0.08);
}

.detail-image-button img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.detail-image-button:hover img {
  transform: scale(1.03);
}

.detail-image-button.small img {
  aspect-ratio: 3 / 4;
}

.media-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 22px 0 18px;
}

.media-source-note {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.case-detail-media {
  margin: 26px 0 34px;
}

.case-detail-media h2 {
  margin-bottom: 10px;
}

.media-carousel-track {
  display: flex;
  gap: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  padding: 4px 48px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.media-slide {
  position: relative;
  flex: 0 0 clamp(210px, 26vw, 260px);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 8px 24px rgba(12, 54, 70, 0.08);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.media-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-slide span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(5, 34, 48, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 8px 24px rgba(12, 54, 70, 0.12);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-arrow.prev {
  left: 0;
}

.carousel-arrow.next {
  right: 0;
}

.content-block h2,
.contact-card h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.25;
}

.content-block p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
}

.detail-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

.detail-bullets div {
  padding: 10px 12px;
  text-align: left;
}

.quick-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.quick-panel {
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.quick-panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.compact-flow {
  gap: 8px;
}

.compact-flow li {
  padding: 8px 10px 8px 30px;
  background: #fff;
  font-size: 14px;
}

.compact-flow li::before {
  top: 8px;
}

.compact-specs {
  grid-template-columns: 1fr;
  gap: 8px;
}

.compact-specs div {
  padding: 10px 12px;
  background: #fff;
}

.compact-specs strong {
  font-size: 15px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-grid div {
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.spec-grid span,
.spec-grid strong {
  display: block;
}

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

.spec-grid strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
}

.rich-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
}

.rich-list li + li {
  margin-top: 8px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 15px;
}

th,
td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--blue-deep);
  color: #fff;
}

td {
  color: var(--muted);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.service-steps div {
  text-align: left;
}

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

.service-steps span {
  color: var(--green-deep);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 44px;
}

.gallery-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-deep);
  font-weight: 800;
}

.gallery-tabs a.is-active {
  border-color: var(--blue);
  background: var(--blue-deep);
  color: #fff;
}

.gallery-tabs span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green-deep);
  font-size: 12px;
}

.gallery-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 96px;
}

.gallery-group + .gallery-group {
  margin-top: 14px;
}

.gallery-group-heading {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  text-align: left;
}

.gallery-group-heading h2 {
  margin: 0;
  font-size: 24px;
}

.gallery-group-heading span {
  font-size: 0;
  color: var(--muted);
  font-weight: 800;
}

.gallery-group-heading span::before {
  content: "展开";
  font-size: 14px;
}

.gallery-group.is-expanded .gallery-group-heading span::before {
  content: "收起";
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px;
}

.gallery-group:not(.is-expanded) .gallery-card:nth-child(n + 5) {
  display: none;
}

.legacy-index-section,
.home-knowledge-section {
  background: #f4f8f9;
}

.legacy-toolbar {
  position: sticky;
  top: 78px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.8fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(12, 54, 70, 0.08);
}

.legacy-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.legacy-search input:focus {
  outline: 2px solid rgba(13, 119, 150, 0.24);
  border-color: var(--blue);
}

.legacy-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.legacy-filters button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.legacy-filters button:hover,
.legacy-filters button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

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

.legacy-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 54, 70, 0.05);
}

.legacy-card[hidden] {
  display: none;
}

.legacy-card-image {
  display: block;
  overflow: hidden;
  background: var(--soft);
}

.legacy-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.legacy-card:hover .legacy-card-image img {
  transform: scale(1.025);
}

.legacy-card-content {
  padding: 18px;
}

.legacy-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.legacy-card-meta span {
  color: var(--blue);
  font-weight: 900;
}

.legacy-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.legacy-card h3 a {
  color: var(--ink);
}

.legacy-card h3 a:hover {
  color: var(--blue);
}

.legacy-card p {
  display: -webkit-box;
  min-height: 66px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

.compact-legacy-grid .legacy-card-content {
  padding: 16px;
}

.compact-legacy-grid .legacy-card h3 {
  font-size: 18px;
}

.legacy-empty {
  padding: 44px 20px;
  color: var(--muted);
  text-align: center;
}

.legacy-case-section {
  background: #fff;
}

.legacy-category-current {
  padding-bottom: 32px;
}

.category-selection-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.category-selection-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--soft);
}

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

.category-faq-grid .content-block h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
}

.category-faq-grid .content-block p {
  margin-bottom: 0;
  font-size: 15px;
}

.article-heading {
  padding: 148px 0 58px;
  border-bottom: 1px solid var(--line);
  background: #eaf4f6;
}

.article-heading-inner {
  max-width: 1060px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--blue-deep);
  font-weight: 800;
}

.article-heading h1 {
  max-width: 980px;
  margin: 10px 0 18px;
  font-size: 48px;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

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

.article-body {
  min-width: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(12, 54, 70, 0.05);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body > :last-child {
  margin-bottom: 0;
}

.article-lead {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  background: var(--soft);
}

.article-lead strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-deep);
  font-size: 16px;
}

.article-lead p {
  margin: 0;
}

.article-note {
  margin-top: 30px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 30px 0 12px;
  color: var(--ink);
  line-height: 1.35;
}

.article-body h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 28px;
}

.article-body h3 {
  font-size: 22px;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body table {
  margin: 0 0 18px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body li + li {
  margin-top: 7px;
}

.article-body img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: 6px;
}

.article-body a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: var(--soft);
}

.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.article-body th,
.article-body td {
  min-width: 120px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.article-side-block {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 54, 70, 0.05);
}

.article-side-block h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.article-side-block > a:not(.button) {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
}

.article-side-block > a:not(.button):hover {
  background: var(--soft);
  color: var(--blue-deep);
}

.related-product-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.related-product-block p,
.article-side-block.side-contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.article-side-block.side-contact-card {
  position: static;
}

.article-side-block.side-contact-card dl {
  margin: 2px 0 8px;
}

.related-legacy-section {
  background: #f4f8f9;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px 16px;
  margin: 0;
}

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

.contact-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(4, 20, 28, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  max-width: min(960px, 100%);
  max-height: 92vh;
  margin: 0;
}

.lightbox img {
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.lightbox figcaption {
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 30px;
  line-height: 1;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1120px) {
  .product-grid,
  .product-index-grid,
  .case-grid,
  .related-grid,
  .legacy-grid,
  .compact-legacy-grid,
  .category-faq-grid,
  .certificate-grid-large,
  .gallery-page-grid,
  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-catalog,
  .catalog-links {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-group:not(.is-expanded) .gallery-card:nth-child(n + 3) {
    display: none;
  }

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

  .footer-grid,
  .industry-grid,
  .service-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-bullets {
    grid-template-columns: 1fr;
  }

  .detail-lead,
  .quick-panels {
    grid-template-columns: 1fr;
  }

  .detail-media {
    position: static;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 20px;
    right: auto;
    width: 100dvw;
  }

  .brand {
    width: 200px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 20px;
    right: auto;
    width: calc(100dvw - 40px);
    max-height: calc(100dvh - 88px);
    overflow: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .nav-dropdown-trigger {
    padding: 12px;
  }

  .nav-dropdown-menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
    margin: 0 0 8px;
    padding: 6px 0 6px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown-menu a {
    padding: 8px 12px;
  }

  .nav-product-group {
    gap: 0;
  }

  .nav-dropdown-menu .nav-product-group-title {
    margin: 8px 0 2px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-bottom: 24px;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 34px;
  }

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

  .hero-lede {
    font-size: 18px;
  }

  .hero-stats {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: repeat(2, 1fr);
    transform: none;
  }

  .two-column,
  .split-panel,
  .detail-layout,
  .article-layout,
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-aside {
    position: static;
    order: 2;
  }

  .detail-content {
    order: 1;
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-toolbar {
    grid-template-columns: 1fr;
  }

  .article-heading h1 {
    font-size: 38px;
  }

  .section {
    padding: 72px 0;
  }

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

  .page-hero {
    min-height: 430px;
  }

  .page-hero-content {
    padding: 126px 0 54px;
  }

  .spec-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    width: 172px;
  }

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

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

  .button {
    width: 100%;
  }

  .product-grid,
  .product-index-grid,
  .case-grid,
  .capability-grid,
  .certificate-grid,
  .certificate-grid-large,
  .related-grid,
  .legacy-grid,
  .compact-legacy-grid,
  .category-faq-grid,
  .gallery-page-grid,
  .gallery-preview,
  .industry-grid,
  .mini-grid,
  .service-steps {
    grid-template-columns: 1fr;
  }

  .product-catalog,
  .catalog-links,
  .category-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gallery-group:not(.is-expanded) .gallery-card:nth-child(n + 2) {
    display: none;
  }

  .image-rail {
    grid-auto-columns: minmax(78%, 1fr);
  }

  .media-carousel-track {
    grid-auto-columns: minmax(78%, 1fr);
    padding: 4px 42px 12px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .content-block,
  .contact-card {
    padding: 22px;
  }

  .content-block h2,
  .contact-card h2 {
    font-size: 25px;
  }

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

  .detail-media {
    grid-template-columns: 1fr;
  }

  .detail-image-button.small img {
    aspect-ratio: 16 / 10;
  }

  .side-contact-card dl {
    grid-template-columns: 1fr;
  }

  .legacy-toolbar {
    position: static;
  }

  .article-heading {
    padding: 118px 0 42px;
  }

  .article-heading h1 {
    font-size: 32px;
  }

  .article-body {
    padding: 22px;
    font-size: 16px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }
}
