:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --panel: #ffffff;
  --panel-alt: #eef4fb;
  --line: #d9e3ef;
  --text: #152135;
  --muted: #5c6b80;
  --brand: #164c7d;
  --brand-strong: #10385d;
  --accent: #0d8bd6;
  --shadow: 0 8px 24px rgba(15, 35, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 246, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(15, 35, 58, 0.08);
  border-color: var(--line);
  background: rgba(247, 249, 252, 0.98);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lang-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.is-active {
  color: #fff;
  background: var(--brand);
}

.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: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #b8c7d8;
  background: #f9fbfe;
}

.hero {
  padding: 36px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  padding: 22px 0;
}

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

.hero h1,
.section-head h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 15ch;
  font-size: 58px;
}

.lede {
  max-width: 60ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
}

.hero-stats div {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hero-stats dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.hero-figure {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 1072 / 728;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.hero-figure figcaption {
  padding: 14px 4px 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 64px 0;
}

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

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head h2,
.contact-copy h2 {
  font-size: 34px;
  max-width: 20ch;
}

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

.scope-item,
.product-card,
.capability-item,
.scene-list article,
.contact-copy,
.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.scope-item {
  padding: 22px;
}

.scope-item h3,
.product-body h3,
.capability-item h3,
.scene-list h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.scope-item p,
.product-body p,
.capability-item p,
.scene-list p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
}

.product-media {
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1072 / 728;
  object-fit: contain;
  background: #fff;
}

.product-body {
  padding: 20px 20px 22px;
}

.product-category {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li,
.scene-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f3f7fb;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.scene-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
}

.scene-copy {
  padding-right: 10px;
}

.scene-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.scene-list {
  display: grid;
  gap: 14px;
}

.scene-list article {
  padding: 18px 20px;
}

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

.capability-item {
  padding: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.contact-copy {
  padding: 28px;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-points div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-points span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.contact-points strong {
  font-size: 17px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

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

.quote-form textarea {
  resize: vertical;
  min-height: 120px;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.is-success {
  color: #1f7a4d;
}

.form-status.is-error {
  color: #b42318;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(22, 76, 125, 0.18);
  border-color: var(--brand);
}

.site-footer {
  background: var(--brand-strong);
  color: rgba(255, 255, 255, 0.92);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
  font-size: 18px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .scene-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .lang-switch {
    width: fit-content;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 38px;
    max-width: none;
  }

  .lede {
    font-size: 16px;
  }

  .hero-stats,
  .scope-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-head h2,
  .contact-copy h2 {
    font-size: 28px;
    max-width: none;
  }

  .scope-item,
  .capability-item,
  .contact-copy,
  .quote-form {
    padding: 20px;
  }
}
