@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap");
:root {
  --navy: #071c34;
  --blue: #1765b3;
  --electric: #4aaaff;
  --ink: #172a40;
  --muted: #64768a;
  --light: #f3f7fa;
  --line: #dce5ec;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}
body {
  margin: 0;
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
.container {
  width: min(1200px, calc(100% - 72px));
  margin: auto;
}
.header {
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #edf1f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(36px, calc((100vw - 1320px) / 2));
  gap: 30px;
  backdrop-filter: blur(15px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 280px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 45px;
  height: 45px;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -5px;
  padding-right: 5px;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}
.brand-mark span {
  color: #57b5ff;
  font-size: 14px;
  margin-left: 1px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-text b {
  font-size: 18px;
  letter-spacing: 2px;
}
.brand-text small {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #66788b;
}
.header nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.header nav a {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}
.header nav a:hover {
  color: var(--blue);
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.actions button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 3px;
  padding: 9px 11px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}
#menu {
  display: none;
}
.hero {
  height: min(760px, calc(100svh - 80px));
  min-height: 600px;
  position: relative;
  background: var(--navy);
  color: white;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: url("assets/assembly-line.webp") center 45% / cover;
  filter: saturate(0.7);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 21, 43, 0.96) 0%,
      rgba(5, 27, 51, 0.9) 38%,
      rgba(5, 30, 55, 0.4) 100%
    ),
    linear-gradient(0deg, rgba(4, 20, 39, 0.7), transparent 50%);
}
.hero:after {
  content: "";
  position: absolute;
  top: 0;
  right: 15%;
  height: 100%;
  width: 1px;
  background: #ffffff1c;
  transform: skew(-22deg);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.eyebrow,
.kicker {
  font-size: 11px;
  letter-spacing: 2.4px;
  font-weight: 700;
}
.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #a5cce9;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ab6ff;
  box-shadow: 0 0 20px #5ab6ff;
}
.hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -2px;
  line-height: 1.23;
  margin: 25px 0 23px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: #77c3ff;
}
.hero p {
  max-width: 625px;
  line-height: 2;
  color: #d2dce8;
  font-size: 16px;
}
.hero-buttons {
  display: flex;
  gap: 13px;
  margin-top: 27px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 17px 25px;
  font-weight: 700;
  font-size: 13px;
  transition:
    transform 0.2s,
    background 0.2s;
  border-radius: 2px;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn.primary {
  background: #2387d8;
  color: white;
}
.btn.primary:hover {
  background: #0e72c4;
}
.btn.ghost {
  border: 1px solid #9caec2;
  color: white;
}
.hero-bottom {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #a7bacb;
  letter-spacing: 1.3px;
}
.metrics {
  background: #0b2948;
  color: white;
}
.metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metrics-inner > div {
  padding: 33px 25px;
  border-right: 1px solid #ffffff1a;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.metrics-inner > div:first-child {
  padding-left: 0;
}
.metrics-inner > div:last-child {
  border: 0;
}
.metrics strong {
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -1px;
}
.metrics strong span {
  font-size: 18px;
}
.metrics span {
  color: #a8c4da;
  font-size: 12px;
}
.section {
  padding: 110px 0;
}
.kicker {
  color: #2387d8;
  margin-bottom: 22px;
}
.section h2,
.contact h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.35;
  letter-spacing: -1px;
  margin: 0 0 24px;
}
.section h2 span {
  color: #2c87c7;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 90px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 510px;
}
.about-visual img {
  object-fit: cover;
  position: absolute;
  box-shadow: 0 20px 45px #132c4920;
}
.about-visual img:first-child {
  width: 77%;
  height: 78%;
  top: 0;
  left: 0;
}
.about-visual img:nth-child(2) {
  width: 60%;
  height: 52%;
  bottom: 0;
  right: 0;
  border: 8px solid white;
}
.image-note {
  position: absolute;
  bottom: 15px;
  left: 12px;
  color: #fff;
  background: var(--navy);
  padding: 13px 20px;
  font-size: 11px;
  letter-spacing: 1px;
}
.about-copy p,
.tech-intro,
.quality p {
  color: var(--muted);
  line-height: 2.1;
  font-size: 15px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0;
}
.pill-row span {
  padding: 9px 13px;
  background: #eaf3fb;
  color: #236ca6;
  font-size: 12px;
}
.text-link {
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 7px;
}
.products {
  background: var(--light);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 35px;
}
.section-head h2 {
  margin: 0;
}
.section-head h2 span {
  font-size: 18px;
  color: #7e96a9;
  font-weight: 400;
}
.section-head > p {
  max-width: 340px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filters button {
  border: 1px solid #d7e2eb;
  background: white;
  color: #52677d;
  padding: 11px 18px;
  font-size: 13px;
}
.filters button.active,
.filters button:hover {
  background: #0c355c;
  border-color: #0c355c;
  color: white;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: white;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  cursor: pointer;
  border: 1px solid #e4ebf1;
  text-align: left;
  padding: 0;
}
.product-card:hover {
  box-shadow: 0 20px 38px #0a34531c;
  transform: translateY(-5px);
}
.product-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  background: #dce6ed;
}
.product-info {
  padding: 22px;
}
.product-info small {
  font-size: 10px;
  color: #3d8bc5;
  letter-spacing: 1.4px;
}
.product-info h3 {
  font-size: 19px;
  margin: 10px 0;
}
.product-info p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 43px;
}
.product-info .more {
  font-size: 12px;
  color: #1765b3;
  font-weight: 700;
  margin-top: 15px;
  display: inline-block;
}
.tech {
  background: #071f38;
  color: white;
  position: relative;
  overflow: hidden;
}
.tech:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  right: -250px;
  top: -230px;
  box-shadow:
    0 0 0 90px #ffffff05,
    0 0 0 180px #ffffff05;
}
.tech h2 span {
  color: #70c0fa;
}
.tech-intro {
  color: #a4bacd;
  max-width: 650px;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 55px;
}
.tech-grid article {
  background: #ffffff0b;
  border: 1px solid #ffffff20;
  padding: 29px 23px;
  min-height: 275px;
}
.tech-grid article > span {
  color: #6eb8f4;
  font-size: 11px;
}
.tech-icon {
  font-size: 36px;
  color: #83c8fb;
  margin: 28px 0;
}
.tech-grid h3 {
  font-size: 17px;
}
.tech-grid p {
  font-size: 13px;
  line-height: 1.9;
  color: #a5b8ca;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #f5f8fa;
}
.case-card img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}
.case-card > div {
  padding: 23px;
}
.case-card span {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #398ac5;
}
.case-card h3 {
  font-size: 19px;
}
.case-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.quality {
  background: #f0f5f9;
}
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.quality .cert {
  font-size: 12px;
  color: #51728d;
  border-left: 3px solid #2387d8;
  padding: 12px 18px;
  background: white;
  margin-top: 30px;
  line-height: 1.8;
}
.steps > div {
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #cbd9e4;
  padding: 25px 0;
  font-size: 17px;
  font-weight: 600;
}
.steps b {
  font-size: 28px;
  color: #2986c8;
  font-weight: 500;
}
.facility-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 13px;
}
.facility-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.facility-grid img:first-child {
  grid-row: span 2;
}
.facility-grid img:last-child {
  grid-column: span 2;
}
.contact {
  background: #09233e;
  color: white;
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
}
.contact h2 {
  font-size: clamp(35px, 4vw, 58px);
}
.contact h2 span {
  color: #7cc5f8;
}
.contact p {
  color: #b2c6d7;
  line-height: 2;
}
.contact .btn {
  margin-top: 22px;
}
.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 22px;
  align-content: center;
}
.contact-details > div {
  border-top: 1px solid #ffffff35;
  padding-top: 16px;
}
.contact-details small {
  font-size: 11px;
  color: #7eb7e0;
}
.contact-details p {
  font-size: 14px;
  color: #f4f9ff;
  overflow-wrap: anywhere;
}
footer {
  background: #06192c;
  color: white;
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-inner > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-inner b {
  letter-spacing: 2px;
}
.footer-inner small {
  font-size: 9px;
  color: #8199ad;
}
.footer-inner p {
  font-size: 11px;
  color: #8199ad;
}
.footer-inner > a {
  font-size: 11px;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.modal.open {
  display: block;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #041323c9;
}
.modal-panel {
  position: relative;
  background: white;
  width: min(900px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
  margin: 5vh auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 25px 100px #0006;
}
.modal-panel > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: #e5ebef;
}
.modal-content {
  padding: 52px 38px;
}
.modal-content h2 {
  font-size: 28px;
  line-height: 1.4;
}
.modal-content p {
  line-height: 2;
  color: var(--muted);
}
#modalSpecs {
  margin: 24px 0;
}
#modalSpecs > div {
  border-top: 1px solid #e4ebf0;
  padding: 12px 0;
  display: flex;
  gap: 12px;
  font-size: 13px;
}
#modalSpecs b {
  min-width: 90px;
  color: #3b769f;
}
#modalClose {
  position: absolute;
  right: 12px;
  top: 10px;
  background: white;
  border: 0;
  font-size: 30px;
  z-index: 1;
  width: 38px;
  height: 38px;
}
@media (max-width: 1100px) {
  .header nav {
    gap: 13px;
  }
  .header nav a {
    font-size: 11px;
  }
  .about-grid {
    gap: 45px;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .container {
    width: min(100% - 38px, 1200px);
  }
  .header {
    height: 68px;
    padding: 0 19px;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    padding: 22px;
    box-shadow: 0 20px 30px #0002;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .header nav.open {
    display: flex;
  }
  .header nav a {
    font-size: 14px;
  }
  #menu {
    display: block;
  }
  .brand-text b {
    font-size: 16px;
  }
  .hero {
    height: 670px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(44px, 9vw, 68px);
  }
  .hero p {
    font-size: 14px;
  }
  .hero-bottom {
    font-size: 9px;
  }
  .metrics-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-inner > div {
    padding: 23px !important;
  }
  .metrics strong {
    font-size: 29px;
  }
  .section {
    padding: 70px 0;
  }
  .about-grid,
  .quality-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .about-visual {
    height: 400px;
  }
  .product-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .section-head > p {
    max-width: 100%;
  }
  .facility-grid {
    grid-template-rows: 170px 170px;
  }
  .contact {
    padding: 70px 0;
  }
}
@media (max-width: 520px) {
  .hero {
    height: 640px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero p {
    line-height: 1.85;
  }
  .hero-bottom span:last-child {
    display: none;
  }
  .metrics strong {
    font-size: 26px;
  }
  .metrics span {
    font-size: 10px;
  }
  .about-visual {
    height: 290px;
  }
  .product-grid,
  .case-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .product-card img {
    height: 240px;
  }
  .tech-grid article {
    min-height: 210px;
  }
  .facility-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
  .facility-grid img:first-child {
    grid-row: span 2;
  }
  .facility-grid img:last-child {
    grid-column: span 2;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .modal-panel {
    display: block;
  }
  .modal-panel > img {
    height: 260px;
    min-height: 0;
  }
  .modal-content {
    padding: 30px 22px;
  }
}

/* ===== 精选设备 ===== */

.featured {
  background: #fff;
}

.featured-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.featured-heading h2 {
  max-width: 620px;
  margin: 0;
}

.featured-heading p {
  max-width: 390px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 310px 310px;
  gap: 16px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  background: #09233e;
  color: #fff;
}

.featured-main {
  grid-row: span 2;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.featured-card:hover img {
  transform: scale(1.045);
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(3, 16, 31, 0.94),
    rgba(3, 16, 31, 0.15) 70%
  );
  pointer-events: none;
}

.featured-caption {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 34px;
}

.featured-caption small {
  color: #8ccfff;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.featured-caption h3 {
  font-size: clamp(19px, 2vw, 29px);
  margin: 12px 0;
}

.featured-caption p {
  font-size: 13px;
  line-height: 1.85;
  color: #dce8f1;
  max-width: 440px;
}

.featured-caption a {
  display: inline-block;
  margin-top: 10px;
  border-bottom: 1px solid #8ccfff;
  padding-bottom: 5px;
  color: #c5e9ff;
  font-size: 13px;
}

/* ===== 厂区规划 ===== */

.vision-factory {
  background: #f4f7fa;
}

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

.vision-grid figure {
  margin: 0;
  background: #fff;
  overflow: hidden;
}

.vision-grid img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  display: block;
}

.vision-grid figcaption {
  padding: 15px 20px;
  color: #61758a;
  font-size: 12px;
}

/* ===== 平板适配 ===== */

@media (max-width: 900px) {
  .featured-heading {
    display: block;
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 300px;
  }

  .featured-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .vision-grid img {
    height: 240px;
  }
}

/* ===== 手机适配 ===== */

@media (max-width: 600px) {
  .featured-grid {
    display: block;
  }

  .featured-card {
    height: 310px;
    margin-bottom: 14px;
  }

  .featured-main {
    height: 450px;
  }

  .featured-caption {
    padding: 24px;
  }

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

  .vision-grid img {
    height: 230px;
  }
}
