:root {
  --ink: #111827;
  --muted: #5e6878;
  --line: #d9dee7;
  --paper: #f6f7f9;
  --white: #ffffff;
  --steel: #243449;
  --accent: #b0182c;
  --accent-dark: #7f1221;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 222, 231, 0.8);
  backdrop-filter: blur(16px);
}

.brand img {
  width: min(128px, 38vw);
  max-height: 54px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  color: #263244;
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transition: width 0.2s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 19;
  display: none;
  padding: 12px 24px 22px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  color: var(--steel);
  border-bottom: 1px solid #edf0f4;
}

.hero {
  position: relative;
  min-height: 760px;
  padding-top: 72px;
  overflow: hidden;
  background: #eef2f6;
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 20, 32, 0.78) 0%, rgba(11, 20, 32, 0.44) 42%, rgba(11, 20, 32, 0.08) 80%),
    linear-gradient(180deg, rgba(11, 20, 32, 0.2), rgba(11, 20, 32, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(120px, 17vh, 190px) min(490px, 42vw) 0 0;
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f2c3ca;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.1;
  font-weight: 700;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 700;
}

.primary-link {
  color: var(--white);
  background: var(--accent);
}

.primary-link:hover {
  background: var(--accent-dark);
}

.secondary-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-metrics {
  position: absolute;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 38px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(560px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero-metrics div {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--accent);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.hero-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) 0;
}

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.factory-content h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.intro p,
.section-heading p,
.factory-content p,
.contact p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.products {
  padding-top: 20px;
}

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

.product-card {
  position: relative;
  display: block;
  height: 560px;
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
}

.product-card.large {
  height: 560px;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card img.outdoor-cover {
  object-position: center top;
}

.product-card img.kids-cover {
  object-position: center center;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 18, 30, 0) 42%, rgba(8, 18, 30, 0.78) 100%);
}

.product-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px;
  color: var(--white);
}

.product-info span {
  color: #f2c3ca;
  font-size: 12px;
  font-weight: 700;
}

.product-info h3 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.2;
}

.product-info p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.product-info::after {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  content: "查看产品图集";
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.capability {
  width: 100%;
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
  background: var(--paper);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.capability-grid article {
  background: var(--white);
  border: 1px solid #edf0f4;
}

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

.capability-grid h3 {
  margin: 24px 24px 10px;
  font-size: 22px;
}

.capability-grid p {
  margin: 0 24px 28px;
  color: var(--muted);
}

.factory-band {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.factory-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 84%;
}

.factory-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9, 16, 27, 0.78), rgba(9, 16, 27, 0.32));
}

.factory-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 40px));
  margin-left: max(20px, calc((100% - 1180px) / 2));
}

.factory-content .section-label {
  color: #f2c3ca;
}

.factory-content p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
}

.company-video {
  padding-bottom: clamp(54px, 7vw, 88px);
}

.video-heading {
  align-items: start;
}

.video-panel {
  margin-top: 34px;
  padding: clamp(10px, 1.4vw, 16px);
  background: #101824;
  box-shadow: 0 24px 70px rgba(16, 24, 36, 0.14);
}

.video-panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1220;
  object-fit: contain;
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
  grid-auto-rows: 230px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.gallery-item.wide {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.72);
  border-radius: 4px;
  font-size: 14px;
}

.contact {
  position: relative;
  justify-content: space-between;
  padding: clamp(54px, 7vw, 84px) max(20px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--steel);
}

.contact > div {
  width: min(690px, 100%);
}

.contact .section-label {
  color: #f2c3ca;
}

.contact p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.contact-list p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.contact-list strong {
  color: rgba(255, 255, 255, 0.62);
}

.contact-list a,
.contact-list span {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.contact-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-direction: column;
  gap: 16px;
  width: 240px;
}

.contact > .contact-actions {
  width: 240px;
}

.wechat-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.wechat-qr img {
  width: 148px;
  height: 148px;
  display: block;
  background: var(--white);
}

.wechat-qr p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
}

.primary-link.dark {
  background: var(--white);
  color: var(--steel);
  justify-content: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px max(20px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.7);
  background: #101824;
  font-size: 13px;
}

.site-footer img {
  width: min(280px, 70vw);
}

.site-footer p {
  margin: 0;
}

.icp-link {
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.icp-link:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  body.nav-open .mobile-nav {
    display: block;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 118px;
    padding-right: 0;
  }

  .hero-metrics {
    left: 20px;
    right: 20px;
  }

  .intro-grid,
  .section-heading,
  .product-grid,
  .capability-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-auto-rows: auto;
  }

  .product-card,
  .product-card.large {
    height: 430px;
  }

  .gallery-item,
  .gallery-item.wide {
    grid-row: auto;
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-item.wide {
    aspect-ratio: 16 / 10;
  }

  .contact,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact > .contact-actions {
    align-items: flex-start;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
    padding: 0 16px;
  }

  .brand img {
    width: min(108px, 36vw);
    max-height: 46px;
  }

  .mobile-nav {
    top: 64px;
  }

  .hero {
    min-height: 850px;
    padding-top: 64px;
  }

  .hero picture img {
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(11, 20, 32, 0.72) 0%, rgba(11, 20, 32, 0.5) 42%, rgba(11, 20, 32, 0.84) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    margin-right: 16px;
    padding: 84px 0 0;
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(280px, 100%);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    bottom: 18px;
  }

  .hero-metrics div {
    padding: 10px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .capability {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-info {
    padding: 22px;
  }

  .wechat-qr {
    position: static;
    width: auto;
    padding: 8px;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
  }

  .wechat-qr img {
    width: 96px;
    height: 96px;
  }

  .wechat-qr p {
    display: block;
    max-width: 96px;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }

  .contact-list {
    width: 100%;
    padding-right: 0;
  }

  .contact-list p {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
  }

  .contact > .contact-actions {
    display: grid;
    grid-template-columns: 114px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
  }

  .contact-actions .primary-link {
    justify-self: start;
  }
}
