:root {
  --ink: #000000;
  --ink-deep: #14191b;
  --paper: #eceef0;
  --white: #ffffff;
  --line: #d8dcdf;
  --muted: #41474a;
  --steel: #51636b;
  --steel-deep: #2e3e45;
  --yellow: #efa426;
  --yellow-deep: #d78d14;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1rem;
}

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

.is-hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 25, 27, 0.97);
  color: #f4f5f5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--yellow);
  color: #14191b;
  font-size: 20px;
  font-weight: 800;
  border-radius: 4px;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 18px;
  white-space: nowrap;
}

.brand-text small {
  display: block;
  font-size: 10px;
  color: #b9c1c4;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 26px;
}

.nav-link {
  position: relative;
  padding: 26px 0;
  font-size: 15px;
  color: #d9dee0;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  background: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: #f4c56b;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.hero-mini {
  min-height: 46vh;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 21, 23, 0.66);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding-block: 72px;
}

.hero h1 {
  font-size: 52px;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-mini h1 {
  font-size: 40px;
}

.hero-lead {
  max-width: 580px;
  font-size: 18px;
  color: #e2e6e8;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
}

.btn-yellow {
  background: var(--yellow);
  color: #14191b;
}

.btn-yellow:hover {
  background: var(--yellow-deep);
  color: #ffffff;
}

.btn-dark {
  background: var(--ink-deep);
  color: #ffffff;
}

.btn-dark:hover {
  background: #2a3336;
  color: #ffffff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
  color: #ffffff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.btn-outline-dark {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-outline-dark:hover {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: #ffffff;
}

.section {
  padding-block: 80px;
}

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

.section.white {
  background: #f1f2f4;
}

.section.dark {
  background: var(--ink-deep);
  color: #eef1f2;
}

.section.steel {
  background: var(--steel-deep);
  color: #eef1f2;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--yellow);
}

.section-head h2 {
  font-size: 32px;
  margin: 12px 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section.dark .section-head p,
.section.steel .section-head p {
  color: #c3cccf;
}

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

.stat {
  border-left: 3px solid var(--yellow);
  padding-left: 18px;
}

.stat strong {
  display: block;
  font-size: 36px;
  color: #ffffff;
}

.stat span {
  color: #c3cccf;
  font-size: 14px;
}

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

.feature-item {
  border-top: 3px solid var(--line);
  padding-top: 18px;
}

.feature-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.category-card,
.equipment-card,
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.category-card img,
.equipment-card > img,
.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-card-body,
.equipment-card-body,
.case-card-body {
  padding: 18px 20px 20px;
}

.category-card h3,
.equipment-card h3,
.case-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.category-card p,
.equipment-card p,
.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.equipment-card .equipment-card-body > p,
.case-card .case-card-body > p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.text-link {
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--yellow-deep);
}

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

.split-media {
  border-radius: 8px;
  overflow: hidden;
}

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

.split-copy h2 {
  font-size: 30px;
}

.split-copy p {
  color: var(--muted);
}

.section.dark .split-copy p,
.section.steel .split-copy p {
  color: #c3cccf;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 10px;
  height: 3px;
  background: var(--yellow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 46px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--yellow-deep);
  font-size: 26px;
  font-weight: 800;
}

.step strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

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

.steps.dark .step {
  border-color: rgba(255, 255, 255, 0.2);
}

.steps.dark .step p {
  color: #c3cccf;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--ink-deep);
}

.filter-btn.is-active {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: #ffffff;
}

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

.equipment-card .specs {
  margin: 12px 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.equipment-card .specs li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

.equipment-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.equipment-card .meta .card-links {
  display: inline-flex;
  gap: 12px;
}

.equipment-card .meta span {
  color: var(--muted);
  font-size: 13px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.spec-table th {
  background: var(--ink-deep);
  color: #ffffff;
  font-weight: 700;
}

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

.case-card .case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.case-card .case-meta span {
  padding: 3px 8px;
  background: #eef1f2;
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
}

.case-gallery {
  position: relative;
}

.case-gallery-main {
  position: relative;
  overflow: hidden;
}

.case-gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
}

.gallery-arrow.prev {
  left: 10px;
}

.gallery-arrow.next {
  right: 10px;
}

.gallery-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 9px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.58);
  color: #ffffff;
  font-size: 12px;
}

.case-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  background: #eef1f2;
}

.case-gallery-thumbs img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
}

.case-gallery-thumbs img.is-active {
  border-color: var(--yellow);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 14px;
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-arrow.prev {
  left: 16px;
}

.lightbox-arrow.next {
  right: 16px;
}

.is-paged {
  display: none !important;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.pagination button:hover:not(:disabled),
.pagination button.active {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: #ffffff;
}

.pagination button:disabled {
  opacity: 0.45;
  cursor: default;
}

.pagination .ellipsis {
  display: inline-flex;
  align-items: center;
  min-width: 32px;
  justify-content: center;
  color: var(--muted);
}

.news-list {
  display: grid;
  gap: 0;
}

.news-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.news-row:first-child {
  border-top: 1px solid var(--line);
}

.news-date {
  color: var(--steel);
  font-size: 15px;
  font-weight: 700;
}

.news-row h3 {
  margin: 0 0 6px;
  font-size: 19px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.news-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.news-tag {
  justify-self: end;
  padding: 4px 10px;
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
}

.article-wrap {
  max-width: 860px;
}

.breadcrumb {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--steel);
}

.breadcrumb a:hover {
  color: var(--yellow-deep);
}

.article-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin: 12px 0 12px;
  font-size: 32px;
}

.article-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.news-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
}

.article-meta .news-views {
  margin-left: 12px;
}

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

.article-body h2 {
  margin: 30px 0 12px;
  font-size: 22px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

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

.quality-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quality-item {
  border-top: 3px solid var(--yellow);
  padding-top: 16px;
}

.quality-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.quality-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section.dark .quality-item p,
.section.steel .quality-item p {
  color: #c3cccf;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-field label {
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c6cccf;
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.form-success {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 3px solid var(--yellow);
  background: #f6f1e6;
  color: var(--ink);
  font-size: 14px;
}

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

.contact-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.contact-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-block: 88px;
}

.cta-content h2 {
  font-size: 34px;
  color: #ffffff;
  margin: 14px 0 14px;
}

.cta-content p {
  color: #d6dcde;
}

.site-footer {
  background: var(--ink-deep);
  color: #c3cccf;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .brand {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
  color: #99a3a7;
  font-size: 14px;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 16px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #b3bcbf;
  font-size: 14px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #879195;
  font-size: 13px;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.friend-links-label {
  color: #879195;
  font-size: 13px;
  font-weight: 700;
}

.friend-links a {
  color: #9ba3a6;
  font-size: 13px;
}

.friend-links a:hover {
  color: #ffffff;
}

.friend-links .footer-icp {
  margin-left: auto;
  color: #879195;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 1020px) {
  .feature-grid,
  .category-grid,
  .stats,
  .contact-grid,
  .equipment-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .quality-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 64px;
  }

  .header-phone {
    display: none;
  }

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

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: var(--ink-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--yellow);
  }

  .hero {
    min-height: 62vh;
  }

  .hero-mini {
    min-height: 48vh;
  }

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

  .hero-mini h1 {
    font-size: 30px;
  }

  .hero-content {
    padding-block: 48px;
  }

  .section {
    padding-block: 54px;
  }

  .section-head h2 {
    font-size: 27px;
  }

  .split,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-grid,
  .category-grid,
  .stats,
  .contact-grid,
  .equipment-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .quality-list {
    grid-template-columns: 1fr 1fr;
  }

  .news-row {
    grid-template-columns: 80px 1fr;
  }

  .news-tag {
    justify-self: start;
    grid-column: 1 / -1;
  }

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

  .form-field.full {
    grid-column: auto;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-content {
    padding-block: 60px;
  }
}

@media (max-width: 480px) {
  .steps,
  .quality-list {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .form-panel {
    padding: 22px;
  }
}
