:root {
  --ink: #0c1520;
  --muted: #647282;
  --line: rgba(12, 21, 32, 0.12);
  --bg: #f3f6f8;
  --panel: #ffffff;
  --blue: #005da8;
  --blue-dark: #061928;
  --steel: #dce4ea;
  --gold: #d18a22;
  --green: #2f6b5b;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 64px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-elevated,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(12, 21, 32, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-logo-frame {
  display: grid;
  width: 64px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 6px;
  background: #fff;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.25;
}

.brand small {
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-elevated .language-switcher,
.site-header.is-open .language-switcher {
  border-color: var(--line);
  background: #f8fafc;
}

.language-switcher button {
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  color: currentColor;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.site-header.is-elevated .language-switcher button,
.site-header.is-open .language-switcher button {
  border-right-color: var(--line);
}

.language-switcher button:last-child {
  border-right: 0;
}

.language-switcher button.is-active {
  color: #fff;
  background: var(--gold);
}

.header-action,
.primary-button,
.ghost-button,
.quote-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action,
.primary-button,
.quote-form button {
  color: #fff;
  background: var(--gold);
}

.ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.56);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(38px, 6vw, 88px);
  align-items: center;
  min-height: 100vh;
  padding: 130px clamp(20px, 5vw, 78px) 40px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 25, 40, 0.98), rgba(8, 42, 66, 0.96)),
    radial-gradient(circle at 82% 18%, rgba(0, 93, 168, 0.32), transparent 34%);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-copy-block,
.hero-visual,
.hero-proof {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(44px, 4.75vw, 72px);
  line-height: 1.02;
}

.hero-copy-block p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 21px);
}

.hero-copy-block .hero-translation {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 800;
}

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

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.hero-photo-frame {
  padding: 10px;
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1106 / 611;
  border-radius: 6px;
  object-fit: contain;
  background: #061521;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: hidden;
  margin-top: 28px;
}

.hero-proof article {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.hero-proof p {
  max-width: none;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: clamp(68px, 8vw, 112px) clamp(20px, 5vw, 78px);
}

.intro-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}

.intro-layout h2,
.section-heading h2,
.equipment-copy h2,
.showcase-head h2,
.quality-layout h2,
.cta h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.1;
}

.intro-layout p,
.section-heading p,
.equipment-copy p,
.showcase-head > p,
.quality-layout p,
.cta p {
  color: var(--muted);
  font-size: 17px;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.capability-tags span {
  white-space: nowrap;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f8fafc;
  font-weight: 800;
}

.products-section {
  background: var(--bg);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 44px rgba(12, 21, 32, 0.07);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f4f7f9;
}

.product-card div {
  padding: 24px;
}

.product-card span {
  color: var(--gold);
  font-weight: 900;
}

.product-card h3 {
  margin: 10px 0;
  font-size: 24px;
}

.product-card p {
  color: var(--muted);
}

.equipment-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(68px, 8vw, 112px) clamp(20px, 5vw, 78px);
  color: #fff;
  background: linear-gradient(135deg, #071522, #102f46);
}

.equipment-copy p {
  color: rgba(255, 255, 255, 0.68);
}

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

.equipment-grid article {
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.equipment-grid span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.equipment-grid strong {
  display: block;
  margin: 10px 0 8px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.equipment-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.process-section {
  color: #fff;
  background:
    linear-gradient(rgba(5, 18, 29, 0.92), rgba(5, 18, 29, 0.94)),
    url("./assets/images/factory-floor.jpg") center/cover;
}

.process-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.14);
}

.process-grid article {
  min-height: 230px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-grid span {
  color: var(--gold);
  font-weight: 900;
}

.process-grid h3 {
  margin: 24px 0 12px;
  font-size: 25px;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.workshop-section {
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc, #eef3f6);
}

.showcase-head {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(360px, 0.6fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: 34px;
}

.showcase-carousel {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 52px;
}

.carousel-track {
  display: grid;
  grid-auto-columns: calc((100% - 44px) / 3);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  padding: 6px 0 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 36px rgba(12, 21, 32, 0.1);
  scroll-snap-align: center;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  background: #fff;
}

.carousel-slide figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}

.carousel-slide figcaption strong {
  font-size: 18px;
}

.carousel-slide figcaption span {
  color: var(--muted);
  font-size: 14px;
}

.shipping-slide {
  border-top: 4px solid var(--green);
}

.carousel-button {
  position: absolute;
  z-index: 3;
  top: 48%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(12, 21, 32, 0.16);
  cursor: pointer;
  font-size: 28px;
  transform: translateY(-50%);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.quality-section {
  background: #fff;
}

.quality-layout {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.quality-layout img {
  width: 100%;
  height: clamp(420px, 38vw, 620px);
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.quality-process-image {
  max-height: 640px;
  object-position: center;
}

.quality-layout ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.quality-layout li {
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: #f7fafc;
  font-weight: 700;
}

.cta {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
  padding: clamp(68px, 8vw, 112px) clamp(20px, 5vw, 78px);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), #102f46);
}

.cta p {
  color: rgba(255, 255, 255, 0.74);
}

.company-address {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.company-address a,
.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.quote-form label {
  display: grid;
  gap: 8px;
}

.quote-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  outline: none;
}

.quote-form input[type="file"] {
  padding: 12px;
  cursor: pointer;
}

.quote-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 12px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--gold);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.quote-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

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

.form-note {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.form-note.is-error {
  color: #ffd2d2;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 30px clamp(20px, 5vw, 78px);
  color: rgba(255, 255, 255, 0.76);
  background: #071522;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #fff;
}

.footer-contact {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.legal-page {
  background: #f3f6f8;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 5vw, 78px);
  color: #fff;
  background: #071522;
}

.legal-header a {
  color: inherit;
  text-decoration: none;
}

.legal-main {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) 0;
}

.legal-main h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 54px);
}

.legal-main h2 {
  margin: 34px 0 10px;
  font-size: 22px;
}

.legal-main p,
.legal-main li {
  color: #324252;
}

.legal-main section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.legal-main section + section {
  margin-top: 18px;
}

.legal-main ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }

  .nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.is-open .nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 20px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 40px rgba(12, 21, 32, 0.12);
  }

  .site-header.is-open .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .intro-layout,
  .equipment-section,
  .showcase-head,
  .quality-layout,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-proof,
  .product-showcase,
  .equipment-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-track {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-logo-frame {
    width: 52px;
    height: 48px;
  }

  .language-switcher button {
    min-width: 34px;
    padding: 0 7px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 112px 18px 38px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-proof,
  .product-showcase,
  .equipment-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .showcase-carousel {
    padding: 0;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .carousel-button {
    display: none;
  }

  .section,
  .equipment-section,
  .cta {
    padding-right: 18px;
    padding-left: 18px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
