* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #ffffff;
  color: #333333;
}

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

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

button {
  font: inherit;
}

.jh-home {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.jh-container,
.jh-header__inner,
.jh-footer__bottom {
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}

.jh-container--wide {
  width: min(1560px, calc(100vw - 40px));
}

.jh-container--timeline {
  width: min(1180px, calc(100vw - 48px));
}

.jh-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(38, 38, 38, 0.9);
}

.jh-header__inner {
  width: min(1760px, calc(100vw - 64px));
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.jh-logo img {
  width: 184px;
  height: auto;
}

.jh-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
}

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

.jh-lang {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.jh-hero {
  width: 100%;
  background: #000000;
}

.jh-hero__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.jh-section {
  padding: 84px 0;
}

.jh-section--about {
  position: relative;
  overflow: hidden;
  padding-top: 92px;
}

.jh-section--about::after {
  content: "JANHUA";
  position: absolute;
  left: 50%;
  bottom: -44px;
  transform: translateX(-50%);
  font-size: clamp(180px, 22vw, 360px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.82;
  color: rgba(37, 37, 37, 0.035);
  pointer-events: none;
  user-select: none;
}

.jh-about {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(620px, 1.16fr) minmax(400px, 0.96fr);
  gap: 56px;
  align-items: center;
}

.jh-about__copy h2,
.jh-section__title h2,
.jh-honor-stage__copy h2 {
  margin: 0 0 24px;
  color: #252525;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.06;
  font-weight: 700;
}

.jh-about__copy p,
.jh-honor-stage__copy p {
  margin: 0;
  color: #6c6c6c;
  font-size: 18px;
  line-height: 1.88;
}

.jh-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(138px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.jh-stat {
  min-width: 138px;
}

.jh-stat__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #252525;
  font-weight: 700;
  white-space: nowrap;
}

.jh-count {
  flex: 0 0 auto;
  min-width: 2ch;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.jh-stat__suffix {
  flex: 0 0 auto;
  font-size: clamp(18px, 1.5vw, 28px);
  line-height: 1;
}

.jh-stat__label {
  display: block;
  margin-top: 14px;
  color: #666666;
  font-size: 16px;
  line-height: 1.5;
}

.jh-about__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.jh-more {
  display: inline-block;
  margin-top: 36px;
  font-size: 18px;
  color: #2e2e2e;
}

.jh-section--timeline {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background: #ffffff;
}

.jh-section--timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 420px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16)),
    url("replica/history-main.jpg") center center / cover no-repeat;
}

.jh-timeline-banner {
  display: none;
}

.jh-timeline-shell {
  position: relative;
  z-index: 2;
  margin: 118px auto 0;
  padding: 40px 0 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 54px rgba(10, 18, 38, 0.08);
}

.jh-section__title {
  margin-bottom: 44px;
}

.jh-section__title--center {
  text-align: center;
}

.jh-section--timeline .jh-section__title h2 {
  font-size: clamp(34px, 4vw, 60px);
}

.jh-timeline {
  position: relative;
}

.jh-timeline__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #8e8e8e;
  font-size: 44px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.jh-timeline__arrow.is-prev {
  left: 6px;
}

.jh-timeline__arrow.is-next {
  right: 6px;
}

.jh-timeline__arrow:hover:not(:disabled) {
  color: #4c4c4c;
}

.jh-timeline__arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.jh-timeline__viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1 1 auto;
  padding: 0 34px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}

.jh-timeline__viewport::-webkit-scrollbar {
  display: none;
}

.jh-timeline__viewport.is-dragging,
.jh-timeline__viewport.is-dragging * {
  cursor: grabbing;
  user-select: none;
}

.jh-timeline__track {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: max-content;
  min-height: 446px;
  padding: 8px 0 20px;
}

.jh-timeline__track::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 50%;
  height: 1px;
  background: #d7d7d7;
  transform: translateY(-50%);
}

.jh-timeline__item {
  position: relative;
  flex: 0 0 320px;
  min-height: 404px;
}

.jh-timeline__card {
  position: absolute;
  left: 50%;
  width: 232px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: translateX(-50%);
  background: transparent;
}

.jh-timeline__item.is-top .jh-timeline__card {
  top: 0;
}

.jh-timeline__item.is-bottom .jh-timeline__card {
  bottom: 0;
}

.jh-timeline__card img {
  flex: 0 0 94px;
  width: 94px;
  height: 72px;
  object-fit: cover;
}

.jh-timeline__content {
  min-width: 0;
  padding-top: 2px;
}

.jh-timeline__content h3 {
  margin: 0 0 8px;
  color: #303030;
  font-size: 24px;
  line-height: 1.14;
  font-weight: 500;
}

.jh-timeline__content p {
  margin: 0;
  color: #666666;
  font-size: 13px;
  line-height: 1.68;
}

.jh-timeline__connector {
  position: absolute;
  left: 50%;
  width: 1px;
  background: #d8d8d8;
  transform: translateX(-50%);
}

.jh-timeline__item.is-top .jh-timeline__connector {
  top: 102px;
  bottom: calc(50% + 10px);
}

.jh-timeline__item.is-bottom .jh-timeline__connector {
  top: calc(50% + 10px);
  bottom: 102px;
}

.jh-timeline__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f21212;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(242, 18, 18, 0.1);
}

.jh-wide-image img {
  width: 100%;
  height: auto;
}

.jh-section--factory {
  padding-top: 74px;
  padding-bottom: 58px;
}

.jh-factory-stage img {
  width: 100%;
  height: auto;
}

.jh-more-row {
  text-align: center;
}

.jh-more--center {
  margin-top: 18px;
}

.jh-section--honor {
  padding-top: 34px;
  padding-bottom: 48px;
}

.jh-honor-stage {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: stretch;
  background: linear-gradient(90deg, #d8e7f2 0%, #bfd4e8 100%);
}

.jh-honor-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(225, 236, 246, 0.2) 0%, rgba(177, 201, 223, 0.5) 58%, rgba(142, 174, 203, 0.86) 100%),
    url("replica/honor.png") center center / cover no-repeat;
  filter: blur(10px);
  transform: scale(1.05);
}

.jh-honor-stage__visual,
.jh-honor-stage__copy {
  position: relative;
  z-index: 1;
}

.jh-honor-stage__visual {
  display: flex;
  align-items: center;
  padding: 42px 0 30px;
}

.jh-honor-stage__visual img {
  width: min(100%, 1120px);
  max-width: none;
  margin-left: -60px;
}

.jh-honor-stage__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 80px 72px 24px;
  color: #ffffff;
}

.jh-honor-stage__copy h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(44px, 4.5vw, 70px);
  line-height: 1.08;
}

.jh-honor-stage__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.9;
}

.jh-honor-stage__copy p + p {
  margin-top: 8px;
}

.jh-honor-stage__copy .jh-more {
  color: #ffffff;
  margin-top: 40px;
}

.jh-footer {
  position: relative;
  margin-top: 22px;
  overflow: hidden;
  background: #151515;
  color: rgba(255, 255, 255, 0.76);
}

.jh-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.84)),
    url("replica/hero-power.jpg") center center / cover no-repeat;
  filter: grayscale(0.5) blur(2px);
  transform: scale(1.03);
  opacity: 0.42;
}

.jh-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #e51616 0%, #8a0783 55%, #2548ff 100%);
  z-index: 1;
}

.jh-footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 46px;
  padding: 88px 0 72px;
}

.jh-footer__col h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 18px;
}

.jh-footer__col a,
.jh-footer__col p {
  display: block;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.jh-footer__contact {
  grid-column: span 2;
}

.jh-footer__contact-box {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.jh-footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

@media (max-width: 1480px) {
  .jh-header__inner {
    width: min(100vw - 56px, 1560px);
  }

  .jh-nav {
    gap: 24px;
    font-size: 15px;
  }

  .jh-lang {
    font-size: 14px;
  }

  .jh-timeline__item {
    flex-basis: 390px;
  }
}

@media (max-width: 1120px) {
  .jh-about,
  .jh-honor-stage {
    grid-template-columns: 1fr;
  }

  .jh-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jh-about__image {
    order: -1;
  }

  .jh-timeline-shell {
    margin-top: 94px;
    padding-top: 34px;
  }

  .jh-timeline__item {
    flex-basis: 286px;
  }

  .jh-timeline__card {
    width: 214px;
  }

  .jh-timeline__content h3 {
    font-size: 22px;
  }

  .jh-honor-stage {
    min-height: auto;
  }

  .jh-honor-stage__visual {
    padding: 34px 0 0;
  }

  .jh-honor-stage__visual img {
    width: 100%;
    margin-left: 0;
  }

  .jh-honor-stage__copy {
    padding: 36px 40px 44px;
  }

  .jh-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .jh-footer__contact {
    grid-column: span 1;
  }
}

@media (max-width: 920px) {
  .jh-header__inner {
    width: min(100vw - 24px, 1200px);
    min-height: auto;
    padding: 18px 0;
    display: grid;
    gap: 14px;
  }

  .jh-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 14px;
  }

  .jh-lang {
    flex-wrap: wrap;
  }

  .jh-hero__media img {
    height: 360px;
  }

  .jh-timeline-shell {
    margin-top: 74px;
    padding-top: 30px;
    box-shadow: none;
  }

  .jh-timeline__arrow {
    display: none;
  }

  .jh-timeline__viewport {
    padding: 0 18px;
  }

  .jh-timeline__track {
    min-height: 408px;
  }

  .jh-timeline__track::before {
    left: 18px;
    right: 18px;
  }

  .jh-section--timeline::before {
    height: 320px;
  }

  .jh-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jh-container,
  .jh-container--wide,
  .jh-container--timeline,
  .jh-footer__bottom {
    width: min(100vw - 24px, 1200px);
  }

  .jh-section {
    padding: 64px 0;
  }

  .jh-about__copy h2,
  .jh-section__title h2,
  .jh-honor-stage__copy h2 {
    font-size: 28px;
  }

  .jh-about__copy p,
  .jh-honor-stage__copy p,
  .jh-timeline__content p {
    font-size: 15px;
  }

  .jh-stats,
  .jh-footer__inner {
    grid-template-columns: 1fr;
  }

  .jh-about__image img {
    height: 360px;
  }

  .jh-timeline__track {
    min-height: 360px;
    padding-bottom: 16px;
  }

  .jh-timeline__item {
    flex-basis: 232px;
    min-height: 332px;
  }

  .jh-timeline__card {
    width: 180px;
    gap: 10px;
  }

  .jh-timeline__card img {
    flex-basis: 76px;
    width: 76px;
    height: 58px;
  }

  .jh-timeline__content h3 {
    font-size: 18px;
  }

  .jh-timeline__item.is-top .jh-timeline__connector {
    top: 82px;
    bottom: calc(50% + 10px);
  }

  .jh-timeline__item.is-bottom .jh-timeline__connector {
    top: calc(50% + 10px);
    bottom: 82px;
  }

  .jh-footer__bottom {
    flex-direction: column;
  }

  .jh-honor-stage__copy {
    padding: 28px 22px 34px;
  }

  .jh-honor-stage__copy h2 {
    font-size: 32px;
  }

  .jh-footer__inner {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }
}
