:root {
  color-scheme: light;
  --ink: #111827;
  --ink-2: #22303c;
  --muted: #667085;
  --soft: #f4f6f4;
  --paper: #fbfbf7;
  --white: #ffffff;
  --line: #dfe5e7;
  --blue: #1f5eff;
  --teal: #008d8a;
  --green: #3e7b4f;
  --amber: #c7791f;
  --steel: #2e3c47;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 16px auto 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(223, 229, 231, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand__mark,
.brand__logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.brand__mark {
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 800;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}

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

.site-nav a {
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  background: rgba(31, 94, 255, 0.08);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.16);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--steel);
}

.hero--compact {
  min-height: 440px;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 18, 28, 0.86), rgba(9, 18, 28, 0.48) 46%, rgba(9, 18, 28, 0.2)),
    linear-gradient(0deg, rgba(9, 18, 28, 0.76), rgba(9, 18, 28, 0.08) 45%);
}

.hero__content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #bfd0ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--teal);
}

.hero h1,
.page-title {
  max-width: 850px;
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.metric-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto -42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(15px);
}

.metric {
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
}

.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.section {
  padding: 108px 0;
}

.section--tight {
  padding: 76px 0;
}

.section--white {
  background: var(--white);
}

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

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.5fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.section-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--muted);
}

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

.category-tile {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  isolation: isolate;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.78));
}

.category-tile span,
.category-tile strong {
  position: absolute;
  z-index: 1;
  left: 18px;
}

.category-tile span {
  right: 18px;
  bottom: 48px;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.category-tile strong {
  bottom: 17px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.category-tile:hover img {
  transform: scale(1.06);
}

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

.product-card {
  min-width: 0;
}

.product-card__button {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card__button:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 94, 255, 0.35);
  box-shadow: var(--shadow);
}

.product-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  background: #edf1f2;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  display: grid;
  align-content: start;
  min-height: 154px;
  padding: 18px;
}

.product-card__family {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 8px 0 10px;
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

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

.capability-band {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: center;
}

.capability-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.capability-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

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

.capability-item {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-item b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 17px;
}

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

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 46px;
  align-items: center;
}

.text-panel {
  max-width: 720px;
}

.text-panel p {
  color: var(--muted);
}

.quote-panel {
  padding: 28px;
  border-left: 5px solid var(--green);
  background: var(--white);
  border-radius: 0 8px 8px 0;
}

.quote-panel p {
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
}

.page-lead {
  margin: 18px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

.category-panel {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.category-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 7px 10px 7px calc(10px + var(--level) * 16px);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
}

.category-button:hover,
.category-button.is-active {
  background: rgba(31, 94, 255, 0.08);
  color: var(--blue);
}

.product-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.product-toolbar h2 {
  margin: 0;
  font-size: 26px;
}

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

.search-box {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.search-box:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.1);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

.modal {
  position: relative;
  width: min(940px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(17, 24, 39, 0.58);
}

.contact-dialog {
  position: relative;
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-dialog::backdrop {
  background: rgba(17, 24, 39, 0.58);
}

.contact-dialog__content {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.contact-dialog__content h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}

.contact-dialog__content p {
  margin: 0;
  color: var(--muted);
}

.contact-dialog__list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.contact-dialog__row {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--white);
}

.contact-dialog__row > span {
  color: var(--muted);
  font-size: 13px;
}

.contact-dialog__phones {
  display: grid;
  gap: 8px;
}

.contact-dialog__phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.copy-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.copy-feedback {
  min-height: 24px;
  color: var(--green) !important;
  font-weight: 800;
}

.modal__body {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 0;
}

.modal__media {
  min-height: 430px;
  background: #edf1f2;
}

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

.modal__content {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 30px;
}

.modal__content h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}

.icon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.icon-close::before,
.icon-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline__item {
  min-height: 160px;
  padding: 24px;
  background: var(--white);
}

.timeline__item strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
}

.timeline__item span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.timeline .metric {
  background: var(--white);
}

.timeline .metric strong {
  color: var(--blue);
}

.timeline .metric span {
  color: var(--muted);
}

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

.process-step {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-step em {
  display: block;
  margin-bottom: 28px;
  color: var(--amber);
  font-style: normal;
  font-weight: 800;
}

.process-step b {
  display: block;
  margin-bottom: 10px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.contact-row {
  padding: 24px;
  background: var(--white);
}

.contact-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-row strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  word-break: break-word;
}

.form-panel {
  padding: 26px;
}

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

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

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.form-field input {
  min-height: 44px;
  padding: 0 12px;
}

.form-field textarea {
  min-height: 128px;
  padding: 12px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.1);
}

.form-message {
  min-height: 24px;
  margin-top: 14px;
  color: var(--green);
}

.site-footer {
  background: #101820;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 38px;
}

.footer-brand {
  max-width: 500px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.68);
}

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

.footer-links b {
  display: block;
  margin-bottom: 10px;
}

.footer-links a,
.footer-links span {
  display: block;
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

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

  .nav-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    place-items: center;
    justify-self: end;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .header-cta {
    display: none;
  }

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

  .section-head,
  .capability-band,
  .split-band,
  .product-layout,
  .contact-grid,
  .modal__body {
    grid-template-columns: 1fr;
  }

  .category-panel {
    position: static;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 10px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .hero--compact {
    min-height: 380px;
  }

  .hero__content {
    width: min(var(--max), calc(100% - 28px));
    padding: 120px 0 34px;
  }

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

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

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 28px);
    margin-bottom: -32px;
  }

  .metric {
    padding: 17px;
  }

  .section {
    padding: 78px 0;
  }

  .section--tight {
    padding: 58px 0;
  }

  .container {
    width: calc(100% - 28px);
  }

  .section-title {
    font-size: 28px;
  }

  .category-grid,
  .product-grid,
  .capability-list,
  .process-grid,
  .timeline,
  .footer-inner,
  .footer-links,
  .form-grid,
  .product-toolbar {
    grid-template-columns: 1fr;
  }

  .capability-media img {
    height: 300px;
  }

  .modal__media {
    min-height: 280px;
  }

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