/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-logo {
  height: 28px;
  width: auto;
}

.brand-text {
  color: var(--color-text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  color: var(--color-muted);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-text);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
}

/* Hero — post01 为整幅海报，文案叠在左侧留白区 */
.hero {
  padding: 48px 0 72px;
}

.hero-stage {
  position: relative;
  width: 100%;
}

.hero-stage__poster {
  display: block;
  width: 100%;
  height: auto;
}

.hero-stage__content {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44%;
  max-width: 460px;
  padding-right: 16px;
}

.hero-title {
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.hero-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-muted);
}

/* Section spacing */
.section {
  padding: 80px 0;
}

/* Business cards */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: #fff;
  text-align: center;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(61, 43, 31, 0.06);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card__title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
}

.feature-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-muted);
}

/* R&D direction */
.rd-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #fff;
}

.rd-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.rd-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.rd-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rd-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.rd-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  text-align: center;
  color: var(--color-muted);
}

/* Service process */
.process-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.process-step {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #fff;
}

.process-step + .process-step {
  margin-left: 28px;
}

.process-step + .process-step::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 50%;
  width: 36px;
  height: 12px;
  transform: translateY(-50%);
  background: url("../resource/images/homepage/arrow_icon.png") no-repeat center / contain;
}

.process-step__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.process-step__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.process-step__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-step__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.process-step__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  color: var(--color-muted);
}

/* Values */
.value-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #fff;
}

.value-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

.value-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.value-card__body {
  flex: 1;
  min-width: 0;
}

.value-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.value-card__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-muted);
}

/* Believe — post02 整幅海报，文案叠在左侧留白区 */
.section--believe {
  padding-top: 64px;
}

.believe-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #f5f5f5;
}

.believe-poster__img {
  display: block;
  width: 100%;
  height: auto;
}

.believe-poster__content {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 520px;
  padding: 0 32px 0 48px;
}

.believe-poster__title {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.believe-poster__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--color-accent);
}

.believe-poster__text p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-muted);
}

.believe-poster__text p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .process-step {
    flex: 1 1 calc(50% - 8px);
    margin-left: 0 !important;
  }

  .process-step__head {
    margin-bottom: 10px;
  }

  .process-step__title {
    white-space: normal;
  }

  .process-step::before {
    display: none;
  }

  .believe-poster__content {
    width: 54%;
    padding-left: 36px;
  }
}

@media (max-width: 768px) {
  .hero-stage__content {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 0 0 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .believe-poster__content {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 32px 24px 20px;
  }

  .believe-poster__img {
    border-radius: 0 0 10px 10px;
  }

  .site-nav {
    gap: 20px;
  }

  .brand-text {
    font-size: 13px;
  }

  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex: 1 1 100%;
  }
}
