:root {
  --ink: #102033;
  --muted: #5d6b7d;
  --soft: #f3f6fa;
  --line: #d9e3ef;
  --blue: #0a3a78;
  --blue-2: #0e65c2;
  --cyan: #1aa0d8;
  --accent: #cf4218;
  --green: #1b7a5c;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(14, 47, 90, 0.13);
  color-scheme: light;
  font-family:
    Inter, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(6, 31, 66, 0.08);
}

.nav {
  width: min(1260px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue);
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(170px, 16vw, 220px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

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

.nav-item {
  position: relative;
}

.nav-links a,
.nav-item > a {
  padding: 11px 8px;
  color: #263b55;
  font-size: 13.5px;
  font-weight: 650;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-2);
  background: #eef5fc;
}

.has-menu > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.product-menu {
  position: fixed;
  top: 70px;
  left: 50vw;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 6px;
  width: min(720px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.has-menu:hover .product-menu,
.has-menu:focus-within .product-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.product-menu::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.product-menu a {
  display: grid;
  gap: 3px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #12365f;
  background: #f8fbfe;
  font-size: 14px;
  font-weight: 850;
}

.product-menu a:hover,
.product-menu a:focus {
  color: var(--blue-2);
  background: #edf5fc;
}

.product-menu a span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.product-menu .menu-all {
  background: var(--blue);
  color: white;
}

.product-menu .menu-all span {
  color: rgba(255, 255, 255, 0.72);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  min-width: 46px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  background: white;
  font-weight: 800;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--blue);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.btn:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 28px rgba(241, 91, 42, 0.28);
}

.btn-secondary {
  background: white;
  color: var(--blue);
  border-color: var(--line);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-brand {
  background: var(--blue-2);
  color: white;
  border-color: var(--blue-2);
  box-shadow: 0 14px 30px rgba(14, 101, 194, 0.28);
}

.btn-brand-outline {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  border-color: #7fb0e6;
}

.hero {
  position: relative;
  min-height: min(760px, 78svh);
  color: white;
  background:
    linear-gradient(90deg, rgba(3, 24, 54, 0.88), rgba(8, 52, 103, 0.68) 45%, rgba(8, 52, 103, 0.18)),
    url("/assets/images/factory.webp") center / cover no-repeat;
  display: grid;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent);
  pointer-events: none;
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #c9e5ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

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

.hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  color: #e4f0fb;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  margin-top: 38px;
}

.proof-item {
  border-left: 3px solid var(--accent);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.proof-item strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.proof-item span {
  display: block;
  color: #c8dbed;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
}

.hero-precision {
  min-height: min(820px, 82svh);
  background:
    linear-gradient(90deg, rgba(3, 24, 54, 0.92), rgba(8, 52, 103, 0.74) 48%, rgba(10, 58, 120, 0.2)),
    url("/assets/images/factory.webp") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.64fr);
  gap: 32px;
  align-items: center;
}

.hero-precision h1 {
  max-width: 860px;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.04;
}

.hero-precision p {
  max-width: 820px;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.hero-scene-card,
.hero-products-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 50px rgba(4, 22, 48, 0.25);
}

.hero-scene-card {
  position: relative;
  min-height: 240px;
}

.hero-scene-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.hero-scene-card div {
  position: absolute;
  inset: auto 18px 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(4, 20, 39, 0.78);
  color: white;
}

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

.hero-scene-card span {
  margin-top: 4px;
  color: #d8e8f5;
  font-size: 13px;
}

.hero-products-card {
  padding: 18px;
}

.hero-products-card img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: 6px;
}

.hero-products-card img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: contain;
  background: #f5f8fb;
  border-radius: 6px;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--soft);
}

.section.dark {
  background: #071b34;
  color: white;
}

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

.section-title {
  max-width: 720px;
}

.section-title .kicker,
.kicker {
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.dark .kicker {
  color: #7dc8ff;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.section-title p,
.lead {
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
}

.dark .section-title p,
.dark .lead {
  color: #bfd2e6;
}

.product-strip {
  margin-top: -54px;
  position: relative;
  z-index: 3;
}

.strip-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.strip-copy {
  padding: 18px;
}

.strip-copy h2 {
  font-size: clamp(26px, 3.5vw, 40px);
}

.strip-image {
  border: 1px solid #e6edf5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

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

.industry-card {
  display: grid;
  grid-template-columns: 122px 1fr;
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #b9d4ed;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  background: #f7fafc;
  border-right: 1px solid var(--line);
}

.industry-card div {
  padding: 18px;
}

.industry-card strong {
  display: block;
  margin-bottom: 8px;
  color: #12365f;
  font-size: 18px;
}

.industry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 14px;
}

.motion-split {
  align-items: stretch;
}

.pneumatic-motion {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f1f6fb),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(10, 58, 120, 0.06) 54px 55px);
}

.motion-rail {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 4px;
  border-radius: 4px;
  background: #0a3a78;
}

.rail-top {
  top: 28%;
}

.rail-mid {
  top: 50%;
  right: 28%;
}

.rail-bottom {
  top: 72%;
  left: 28%;
}

.motion-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 86px;
  height: 54px;
  border: 1px solid #b9cfe5;
  border-radius: 8px;
  background: white;
  color: var(--blue);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(9, 38, 77, 0.12);
}

.node-air {
  left: 8%;
  top: 18%;
}

.node-valve {
  left: 43%;
  top: 40%;
}

.node-flow {
  right: 8%;
  top: 62%;
}

.motion-pulse {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(241, 91, 42, 0.16);
  animation: pulse-slide 3.2s ease-in-out infinite;
}

.pulse-one {
  top: calc(28% - 6px);
  left: 12%;
}

.pulse-two {
  top: calc(72% - 6px);
  left: 28%;
  animation-delay: 1.4s;
}

@keyframes pulse-slide {
  0% {
    transform: translateX(0);
    opacity: 0.15;
  }

  18% {
    opacity: 1;
  }

  82% {
    opacity: 1;
  }

  100% {
    transform: translateX(260px);
    opacity: 0.12;
  }
}

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

.category-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #b9d4ed;
}

.category-card.custom {
  border-color: #71a7dc;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.category-body {
  padding: 18px;
}

.category-body h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.category-body small {
  display: block;
  color: var(--blue-2);
  font-weight: 850;
  margin-bottom: 10px;
}

.category-body p {
  min-height: 66px;
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.category-body a {
  color: var(--blue);
  font-weight: 850;
}

.product-series-section {
  padding-top: 0;
}

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

.series-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
}

.series-card h3 {
  margin-bottom: 8px;
  color: #12365f;
  font-size: 18px;
}

.series-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.visual-library-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 28px rgba(14, 47, 90, 0.08);
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 170px;
  border-right: 1px solid var(--line);
  background: #f8fbfe;
}

.visual-strip img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: contain;
  padding: 12px;
  border-right: 1px solid rgba(217, 227, 239, 0.72);
}

.visual-strip img:last-child {
  border-right: 0;
}

.visual-library-card > div:last-child {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
}

.visual-library-card h3 {
  font-size: 18px;
}

.visual-library-card p {
  color: var(--muted);
  line-height: 1.5;
}

.visual-library-card a {
  color: var(--blue);
  font-weight: 850;
}

.quote-grid,
.contact-home-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 34px;
  align-items: center;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.contact-home {
  background: #f8fafc;
}

.contact-stack {
  display: grid;
  gap: 24px;
}

.contact-stack .form-panel {
  width: min(100%, 980px);
  margin: 0 auto;
}

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

.contact-page-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 980px);
  margin: 0 auto;
}

.contact-cell {
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.contact-cell span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-cell strong {
  color: #173657;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.compact-form {
  align-self: stretch;
}

.compact-form .btn {
  width: 100%;
  margin-top: 18px;
}

.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  gap: 8px;
  width: 118px;
}

.quick-contact a {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #c9d9e8;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(9, 38, 77, 0.12);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.product-card,
.info-card,
.article-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    border-color 170ms ease;
}

.product-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #bed2e7;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.product-card-body,
.info-card,
.article-card {
  padding: 20px;
}

.product-card h3,
.info-card h3,
.article-card h3 {
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.product-card p,
.info-card p,
.article-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.tag-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 6px;
  background: #edf5fc;
  color: #164c8a;
  font-size: 12px;
  font-weight: 800;
}

.pill {
  background: white;
  border: 1px solid var(--line);
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.media-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

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

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: #2d4158;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 5px;
  background: var(--green);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.32);
}

.dark .check-list li {
  color: #d9e8f7;
}

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

.metric {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metric strong {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
}

.metric span {
  color: #bfd2e6;
  line-height: 1.45;
}

.page-hero {
  padding: 72px 0 46px;
  background:
    linear-gradient(90deg, rgba(7, 27, 52, 0.92), rgba(10, 58, 120, 0.82)),
    url("/assets/images/factory.webp") center / cover no-repeat;
  color: white;
}

.breadcrumb {
  color: #c5d8eb;
  font-size: 14px;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: white;
  font-weight: 700;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 780px;
  color: #dceaf7;
  font-size: 18px;
  line-height: 1.7;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.spec-table th {
  width: 30%;
  color: #193c67;
  background: #f3f7fb;
}

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

.form-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}

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

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

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

.field label {
  font-weight: 750;
  color: #24384f;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfdbea;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfdff;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(26, 160, 216, 0.2);
  border-color: var(--cyan);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 14px 0 0;
}

.narrow {
  width: min(860px, calc(100% - 32px));
}

.info-stack {
  display: grid;
  gap: 14px;
}

.thanks-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.static-fallback {
  background: #f7fafc;
  color: var(--ink);
}

.static-fallback .static-hero {
  padding: 64px 0 34px;
  background:
    linear-gradient(90deg, rgba(7, 27, 52, 0.92), rgba(10, 58, 120, 0.84)),
    url("/assets/images/factory.webp") center / cover no-repeat;
  color: white;
}

.static-fallback .static-section {
  padding: 34px 0 52px;
}

.static-fallback .section-inner {
  width: min(980px, calc(100% - 32px));
}

.static-fallback h1 {
  max-width: 820px;
  font-size: 48px;
  line-height: 1.08;
  margin-bottom: 14px;
}

.static-fallback p {
  max-width: 760px;
  color: #dceaf7;
  font-size: 18px;
  line-height: 1.7;
}

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

.fallback-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.fallback-card h2,
.fallback-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.fallback-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.fallback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.faq {
  display: grid;
  gap: 12px;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  color: var(--muted);
  line-height: 1.65;
  margin: 12px 0 0;
}

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

.download {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.download strong {
  display: block;
  margin-bottom: 6px;
}

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

.footer {
  background: #061628;
  color: white;
  padding: 54px 0 28px;
}

.footer .brand {
  margin-bottom: 18px;
}

.footer .brand-logo {
  width: min(230px, 100%);
  padding: 6px 8px;
  border-radius: 6px;
  background: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

.footer p,
.footer a {
  color: #bdd0e2;
  line-height: 1.7;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91a8bd;
  font-size: 13px;
}

.kailing-home-hero {
  background:
    linear-gradient(90deg, rgba(3, 24, 54, 0.94), rgba(8, 52, 103, 0.72) 48%, rgba(10, 58, 120, 0.18)),
    url("/assets/images/kailing/factory-panorama.webp") center / cover no-repeat;
}

.page-hero-v2 {
  background:
    linear-gradient(90deg, rgba(5, 28, 61, 0.9), rgba(7, 56, 111, 0.68)),
    url("/assets/images/kailing/factory-panorama.webp") center / cover no-repeat;
}

.factory-showcase {
  background: #f5f8fb;
}

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

.asset-card,
.certificate-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(14, 47, 90, 0.08);
}

.asset-card img,
.certificate-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: #eef3f8;
}

.certificate-card img {
  aspect-ratio: 1.05;
  object-fit: contain;
  padding: 10px;
}

.asset-card div,
.certificate-card div {
  padding: 16px;
}

.asset-card h3,
.certificate-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.asset-card p,
.certificate-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.about-split {
  align-items: center;
}

.media-stack {
  display: grid;
  gap: 14px;
}

.media-stack img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.media-stack img:first-child {
  aspect-ratio: 1.45;
}

.media-stack img:last-child {
  aspect-ratio: 2.2;
}

.compact-metrics {
  margin-top: 26px;
}

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

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

.compact-section {
  padding-top: 42px;
}

.product-gallery,
.role-grid,
.article-grid,
.factory-gallery {
  display: grid;
  gap: 18px;
}

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

.product-gallery figure,
.factory-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 28px rgba(14, 47, 90, 0.08);
}

.product-gallery img,
.factory-gallery img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: contain;
  padding: 14px;
  background: #f8fbfe;
}

.factory-gallery img {
  aspect-ratio: 1.55;
  object-fit: cover;
  padding: 0;
}

.product-gallery figcaption,
.factory-gallery figcaption {
  padding: 12px 14px;
  color: #234260;
  font-size: 13px;
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.application-detail-hero .section-inner {
  align-items: center;
}

.app-hero-image img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
}

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

.role-card,
.article-card {
  min-height: 186px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 28px rgba(14, 47, 90, 0.08);
}

.role-card h3,
.article-card h3 {
  margin-bottom: 10px;
  color: #12365f;
  font-size: 20px;
}

.role-card p,
.article-card p {
  color: var(--muted);
  line-height: 1.65;
}

.article-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 850;
}

.mini-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 16px;
}

.mini-role-list span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef5fc;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.hotword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}

.hotword-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #c9dced;
  border-radius: 6px;
  color: #12365f;
  background: #f4f8fc;
  font-size: 12px;
  font-weight: 850;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #061628;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.factory-gallery {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.article-body {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.article-body h2 {
  margin: 10px 0 -6px;
  font-size: 28px;
}

.article-body p {
  color: var(--muted);
  line-height: 1.78;
  font-size: 17px;
}

.answer-box,
.aside-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
}

.answer-box p {
  margin: 0;
  color: #173a60;
  font-size: 19px;
  font-weight: 650;
}

.ai-extract-note {
  margin-top: 6px;
}

.ai-extract-note p {
  font-size: 16px;
  font-weight: 600;
}

.source-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfe;
}

.source-list h2 {
  margin: 0 0 4px;
}

.source-list a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.article-table {
  margin-top: 4px;
}

.article-faq {
  margin-top: 2px;
}

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

.aside-panel h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.aside-panel p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.aside-product-list {
  display: grid;
  gap: 10px;
}

.aside-product-list a {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #12365f;
  font-weight: 850;
}

.aside-product-list img {
  width: 62px;
  height: 48px;
  object-fit: contain;
}

.footer-v2 .footer-company {
  color: white;
  font-weight: 850;
}

.footer-links span {
  color: #d3e2f1;
  line-height: 1.55;
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 28px rgba(7, 34, 73, 0.22);
  font-size: 22px;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(420px, calc(100% - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  background: #092443;
  color: white;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  transition: transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
}

.honeypot,
.netlify-form-detect {
  display: none;
}

@media (max-width: 1200px) {
  .nav-actions .btn {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    width: 100%;
    max-height: calc(100svh - 76px);
    overflow: auto;
    padding: 18px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px 16px;
  }

  .nav-item {
    display: grid;
  }

  .product-menu {
    position: static;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 4px 0 12px;
    padding: 8px;
    box-shadow: none;
    border-radius: 8px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .product-menu::before {
    display: none;
  }

  .product-menu a {
    min-height: 48px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid,
  .strip-panel,
  .split,
  .article-layout,
  .quote-grid,
  .contact-home-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .asset-card-grid,
  .certificate-grid,
  .visual-library-grid,
  .product-gallery,
  .role-grid,
  .article-grid,
  .factory-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    max-width: 640px;
  }

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

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

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

  .series-grid {
    grid-template-columns: 1fr;
  }

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

  .quote-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 680px) {
  .nav {
    width: min(100% - 22px, 1180px);
    min-height: 68px;
  }

  .brand-logo {
    width: clamp(142px, 42vw, 190px);
    max-height: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 54px 0 84px;
  }

  .hero h1 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-proof,
  .grid-3,
  .grid-4,
  .industry-grid,
  .category-grid,
  .series-grid,
  .contact-matrix,
  .contact-page-matrix,
  .form-grid,
  .download-row,
  .asset-card-grid,
  .certificate-grid,
  .document-list,
  .support-form-grid,
  .visual-library-grid,
  .product-gallery,
  .role-grid,
  .article-grid,
  .factory-gallery {
    grid-template-columns: 1fr;
  }

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

  .visual-strip {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-scene-card {
    min-height: 210px;
  }

  .hero-scene-card img {
    min-height: 210px;
  }

  .industry-card {
    grid-template-columns: 104px 1fr;
    min-height: 142px;
  }

  .industry-card div {
    padding: 14px;
  }

  .pneumatic-motion {
    min-height: 300px;
  }

  .motion-node {
    width: 74px;
    height: 48px;
    font-size: 13px;
  }

  .category-body p {
    min-height: auto;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: grid;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .download {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .static-fallback h1 {
    font-size: 34px;
  }

  .static-fallback .fallback-grid {
    grid-template-columns: 1fr;
  }

  .thanks-panel {
    padding: 24px;
  }

  .quick-contact {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .quick-contact a {
    min-height: 36px;
    padding: 7px 6px;
    font-size: 11px;
  }

  .back-top {
    right: 12px;
    bottom: 64px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .answer-box,
  .aside-panel {
    padding: 18px;
  }

  .aside-product-list a {
    grid-template-columns: 54px 1fr;
  }
}
