:root {
  --blue: #004fae;
  --blue-hover: #003d8a;
  --blue-dark: #0b1f3a;
  --blue-soft: #eaf2fb;
  --gold: #c9a227;
  --text: #1c2430;
  --muted: #5c6778;
  --line: #e4e9f0;
  --bg: #f6f8fb;
  --white: #fff;
  --shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
  --radius: 12px;
  --max: 1180px;
  --header: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
}

.topbar {
  background: var(--blue-dark);
  color: #d7e2ef;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}

.topbar a:hover {
  color: var(--white);
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: min(220px, 28vw);
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 16px;
  color: var(--blue);
}

.logo-text span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: center;
  min-width: 0;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  font-size: 15px;
  color: var(--text);
  border-radius: 8px;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}

.search input {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  width: 180px;
  outline: none;
}

.search button {
  border: 0;
  background: var(--blue);
  color: var(--white);
  width: 40px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle.is-open span {
  background: transparent;
}

.menu-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.35);
  z-index: 40;
}

.nav-mask.is-open {
  display: block;
}

body.nav-open {
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / 28;
  overflow: hidden;
  background: #d9e2ec;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--white);
}

.trust {
  background: var(--white);
  position: relative;
  z-index: 4;
  padding-top: 28px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-item {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--blue);
  margin-bottom: 4px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: 30px;
  line-height: 1.3;
}

.section-head p {
  color: var(--muted);
  margin-top: 8px;
}

.link-more {
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}

.products {
  background: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-card h3 {
  font-size: 16px;
  padding: 16px 16px 6px;
  background: #f7f7f7;
}

.product-card p {
  color: var(--muted);
  font-size: 13px;
  padding: 0 16px 18px;
  background: #f7f7f7;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-copy h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 8px;
}

.stat {
  background: var(--blue-soft);
  border-radius: 10px;
  padding: 14px;
}

.stat b {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

.about-photos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-card h3:last-child {
  padding-bottom: 16px;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.about-block img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.cat-bar a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 2px;
  font-size: 14px;
  white-space: nowrap;
}

.cat-bar a.is-active,
.cat-bar a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.cat-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.industry-band {
  position: relative;
  min-height: 72vh;
  background: center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.industry-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.28);
}

.industry-band h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 0.08em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.contact-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.map-placeholder {
  min-height: 320px;
  background: #e8eef5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #c5d0de;
  padding: 24px;
}

.industries {
  background: var(--white);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 12px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.industry-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.industry-card:hover {
  border-color: #c5d6ea;
  box-shadow: var(--shadow);
}

.industry-card span {
  font-size: 15px;
  font-weight: 600;
}

.news-section {
  background: var(--bg);
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 100%;
}

.news-list {
  list-style: none;
}

.news-list li + li {
  border-top: 1px solid var(--line);
}

.news-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.news-list a:hover span {
  color: var(--blue);
}

.news-list time {
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--blue);
}

.footer {
  background: #091627;
  color: #c5d0de;
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer h3,
.footer h4 {
  color: var(--white);
  margin-bottom: 14px;
}

.footer a:hover {
  color: var(--white);
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.copyright a {
  color: #9eb0c4;
}

@media (max-width: 1024px) {
  .topbar,
  .search,
  .header-actions .btn,
  .footer-grid > div:nth-child(2),
  .crumb {
    display: none;
  }

  .header {
    height: 56px;
  }

  .logo img {
    height: 40px;
    max-width: 160px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 12px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 60;
    flex: none;
    max-height: calc(100vh - 56px);
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 8px;
  }

  .product-grid,
  .industry-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .logo-text {
    display: none;
  }

  .cat-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .industry-band {
    min-height: 48vh;
  }

  .about-photos img:nth-child(1),
  .about-photos img:nth-child(3) {
    display: none;
  }

  .about-photos img:nth-child(2) {
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 24px 0 20px;
  }

  .page-hero h1 {
    font-size: 22px;
  }

  .page-body {
    padding: 28px 0 48px;
  }

  .trust {
    padding-top: 16px;
  }

  .trust-grid,
  .about-grid,
  .about-block,
  .footer-grid,
  .stats,
  .contact-bottom {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-photos {
    grid-template-columns: 1fr;
  }

  .about-photos img:first-child {
    grid-row: auto;
    min-height: 220px;
  }

  .about-block {
    gap: 20px;
    margin-bottom: 40px;
  }

  .about-block img {
    height: 220px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-card p,
  .contact-hero-img {
    display: none;
  }

  .article {
    padding: 18px;
  }
}

.about-copy .link-more {
  display: inline-flex;
  margin-top: 8px;
}

.page-hero {
  background: var(--blue-dark);
  color: var(--white);
  padding: 40px 0 36px;
}

.page-hero h1 {
  font-size: 30px;
}

.crumb {
  font-size: 13px;
  color: #9eb0c4;
  margin-bottom: 10px;
}

.crumb a {
  color: #c5d0de;
}

.crumb a:hover {
  color: var(--white);
}

.page-body {
  padding: 56px 0 80px;
  background: var(--bg);
}

.page-body.page-white {
  background: var(--white);
}

.prose {
  color: var(--muted);
}

.prose p {
  margin-bottom: 14px;
}

.prose h2 {
  color: var(--text);
  font-size: 22px;
  margin: 8px 0 16px;
}

.article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.article img.cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.article time {
  color: var(--muted);
  font-size: 13px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.news-card h3 {
  font-size: 16px;
  padding: 14px 16px 6px;
}

.news-card p {
  color: var(--muted);
  font-size: 13px;
  padding: 0 16px 16px;
}

.job-list {
  display: grid;
  gap: 16px;
}

.job-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px 4px;
}

.job-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  padding: 18px 0;
  list-style: none;
}

.job-list summary::-webkit-details-marker {
  display: none;
}

.job-list .job-body {
  color: var(--muted);
  padding-bottom: 18px;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
}

.contact-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 280px;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.product-detail .gallery {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.product-detail .gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.industry-page .industry-grid {
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout,
  .product-detail,
  .about-block,
  .contact-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
