:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-soft: #eef6f4;
  --ink: #172022;
  --muted: #647174;
  --line: #dce8e5;
  --teal: #0d9488;
  --cyan: #0891b2;
  --green: #16a34a;
  --dark: #101819;
  --dark-2: #152526;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(14, 38, 39, .12);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--teal); color: white; padding: 8px 12px; z-index: 50; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 250, 249, .92);
  border-bottom: 1px solid rgba(220, 232, 229, .85);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.custom-logo { max-height: 48px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; color: white; background: var(--teal); border-radius: 8px; }
.brand-text { white-space: nowrap; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #405052;
  font-size: 14px;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a.is-active { color: var(--teal); background: rgba(13, 148, 136, .08); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switcher { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.lang-switcher a { min-width: 30px; padding: 4px 8px; border-radius: 999px; text-align: center; font-size: 12px; color: var(--muted); }
.lang-switcher a.is-active { background: var(--dark); color: white; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: white; border-radius: 8px; }
.nav-toggle span { display: block; height: 2px; width: 18px; margin: 4px auto; background: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { color: white; background: var(--teal); box-shadow: 0 10px 24px rgba(13, 148, 136, .22); }
.btn-secondary { color: var(--teal); background: white; border-color: rgba(13, 148, 136, .22); }
.btn-inverted { color: var(--dark); background: white; }
.btn-small { min-height: 36px; padding: 8px 13px; font-size: 13px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero { padding: 86px 0 0; }
.hero-dark {
  color: white;
  background:
    radial-gradient(circle at 78% 16%, rgba(13, 148, 136, .34), transparent 32%),
    linear-gradient(135deg, #101819 0%, #142626 54%, #0c1213 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; }
.hero h1, .page-hero h1 { margin: 12px 0 18px; font-size: clamp(36px, 5vw, 64px); line-height: 1.08; letter-spacing: 0; }
.hero p, .page-hero p { max-width: 720px; color: rgba(255, 255, 255, .78); font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.industrial-visual,
.media-panel,
.mini-media {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13, 148, 136, .18);
  background:
    linear-gradient(135deg, rgba(13, 148, 136, .2), rgba(8, 145, 178, .08)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 18px),
    var(--dark-2);
  background-size: cover;
  background-position: center;
  color: rgba(255,255,255,.72);
  text-align: center;
}
.industrial-visual { min-height: 420px; border-radius: 8px 8px 0 0; box-shadow: var(--shadow); }
.industrial-visual::after,
.media-panel::after,
.mini-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 24, 25, .08), rgba(13, 148, 136, .16));
  pointer-events: none;
}
.industrial-visual span,
.media-panel span { position: relative; z-index: 1; padding: 20px; }

.section { padding: 84px 0; }
.muted { background: var(--surface-soft); }
.stats-band { padding: 0 0 52px; background: linear-gradient(180deg, var(--dark) 0 48px, var(--bg) 48px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; box-shadow: var(--shadow); }
.stat-card strong { display: block; font-size: 26px; line-height: 1.1; color: var(--teal); }
.stat-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.narrow { max-width: 820px; }
h1, h2, h3 { line-height: 1.2; margin-top: 0; letter-spacing: 0; }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 20px; }
p { color: var(--muted); }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.feature-list { display: grid; gap: 16px; margin-top: 28px; }
.feature-list article,
.info-card,
.product-card,
.featured-article,
.article-card,
.process-grid article,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(21, 37, 38, .06);
}
.feature-list article { padding: 22px; border-left: 3px solid var(--teal); }
.media-panel { min-height: 360px; border-radius: 8px; }
.media-panel.compact { min-height: 260px; }

.card-grid { display: grid; gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card { padding: 22px; }
.info-card.emphasis { border-top: 4px solid var(--teal); }
.technical ul,
.application-card ul,
.param-list { padding-left: 20px; color: var(--muted); }
.mini-media { height: 150px; margin: -2px -2px 18px; border-radius: 8px; }

.cta-band { color: white; background: linear-gradient(135deg, #102222, #0f3434); }
.cta-band p { color: rgba(255,255,255,.78); }
.cta-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 42px; align-items: center; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.center-cta { text-align: center; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.capability-grid div { padding: 18px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.capability-grid strong, .capability-grid span { display: block; }
.capability-grid span { margin-top: 8px; color: var(--muted); }

.page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(16, 24, 25, .86), rgba(16, 24, 25, .42)),
    radial-gradient(circle at 80% 20%, rgba(13, 148, 136, .35), transparent 34%),
    var(--dark-2);
  background-size: cover;
  background-position: center;
}

.compare-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.compare-table div { display: grid; grid-template-columns: .35fr .65fr; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.compare-table div:last-child { border-bottom: 0; }
.compare-table strong { color: var(--teal); }

.product-stack { display: grid; gap: 22px; }
.product-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; padding: 22px; align-items: center; }
.param-list { display: grid; gap: 8px; margin: 20px 0; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-pills span,
.tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(13, 148, 136, .09); color: var(--teal); font-size: 13px; font-weight: 700; }
.application-card h2 { font-size: 21px; }

.featured-article { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; padding: 22px; margin-bottom: 28px; }
.content-with-sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 28px; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card { padding: 20px; }
.article-card .mini-media { height: 130px; background-color: var(--dark-2); }
.article-card time,
.featured-article time,
.article-body time { display: block; margin: 14px 0; color: var(--muted); font-size: 14px; }
.text-link { color: var(--teal); font-weight: 800; }
.sidebar { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; align-self: start; }
.sidebar .tag { margin: 4px; }
.article-layout { max-width: 860px; }
.article-cover { margin-bottom: 24px; border-radius: 8px; overflow: hidden; }
.rich-text { font-size: 18px; }
.rich-text p { color: #334044; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-grid article { padding: 22px; }
.process-grid span { display: inline-flex; color: var(--teal); font-weight: 900; margin-bottom: 18px; }
.contact-section { background: var(--surface-soft); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; }
.contact-list { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; color: var(--muted); }
.contact-list dt { color: var(--ink); font-weight: 700; }
.contact-list dd { margin: 0; }
.contact-form { padding: 24px; display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: white;
}
.notice { margin: 0; padding: 10px 12px; border-radius: 8px; font-weight: 700; }
.notice.success { color: #116b4f; background: #e8f7f1; }
.notice.error { color: #9b1c1c; background: #fdecec; }

.site-footer { padding: 54px 0 24px; color: rgba(255,255,255,.74); background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer-brand { color: white; font-weight: 900; font-size: 22px; }
.site-footer h2 { color: white; font-size: 16px; }
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,.76); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .primary-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
  }
  .primary-nav.is-open { display: flex; }
  .header-actions { margin-left: auto; }
  .hero-grid,
  .split,
  .cta-grid,
  .product-card,
  .featured-article,
  .content-with-sidebar,
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid,
  .card-grid.four,
  .capability-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-actions .btn { display: none; }
  .hero { padding-top: 56px; }
  .industrial-visual { min-height: 280px; }
  .section { padding: 58px 0; }
  .stats-grid,
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .capability-grid,
  .process-grid,
  .article-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .compare-table div { grid-template-columns: 1fr; }
  .cta-row { display: block; }
  .contact-list { grid-template-columns: 1fr; }
  .page-hero { min-height: 300px; }
}
