/* 首页 Banner 轮播（整图铺满） */

.hero-banner {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-banner);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide__inner {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.hero-slide__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container-width, 1400px);
  margin: 0 auto;
  padding: 48px 24px 72px;
  pointer-events: none;
}

.hero-slide__company {
  margin-bottom: 20px;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  color: var(--color-nav);
  line-height: 1.4;
}

.hero-slide__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--color-heading);
  text-transform: uppercase;
}

.hero-slide__title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-slide__line {
  display: block;
  width: 48px;
  height: 3px;
  margin: 24px 0;
  background: var(--color-primary);
}

.hero-slide__desc {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--color-text-secondary);
}

.hero-slide__picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-slide__picture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* 电脑端固定 Banner 高度，整图 cover */
@media (min-width: 993px) {
  .hero-banner,
  .hero-banner__track {
    height: var(--banner-height);
  }

  .hero-slide.is-active,
  .hero-slide__inner,
  .hero-slide__picture,
  .hero-slide__picture img {
    height: var(--banner-height);
  }

  .hero-slide__picture img {
    min-height: var(--banner-height);
  }

  .hero-slide__content {
    height: var(--banner-height);
    padding: 40px 24px 56px;
  }
}

/* 移动端按图比例展示 */
@media (max-width: 992px) {
  .hero-slide__picture img {
    min-height: 220px;
    max-height: 72vh;
  }

  .hero-slide__content {
    position: absolute;
    inset: 0 0 auto;
    justify-content: flex-start;
    height: auto;
    padding: 50px 24px 24px;
    text-align: center;
  }

  .hero-slide__line {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .hero-slide__content {
    padding: 50px 16px 20px;
  }

  .hero-slide__company {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .hero-slide__line {
    margin: 16px auto;
  }
}

/* ---------- 轮播翻页箭头（Banner / 产品分类共用） ---------- */

.hero-banner__arrow,
.home-categories__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  color: rgba(30, 42, 56, 0.35);
  transform: translateY(-50%);
  transition: color 0.2s ease;
}

.hero-banner__arrow:hover,
.home-categories__arrow:hover {
  color: var(--color-primary);
}

.hero-banner__arrow svg,
.home-categories__arrow svg {
  display: block;
  width: 28px;
  height: 28px;
}

.hero-banner__arrow--prev {
  left: 100px;
}

.hero-banner__arrow--next {
  right: 100px;
}

/* ---------- Dots ---------- */

.hero-banner__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c5cad1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.1);
}

.hero-dot:hover {
  background: var(--color-primary-hover);
}

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
  .hero-banner__arrow,
  .home-categories__arrow {
    width: 40px;
    height: 40px;
  }

  .hero-banner__arrow svg,
  .home-categories__arrow svg {
    width: 28px;
    height: 28px;
  }

  .hero-banner__arrow--prev {
    left: 4px;
  }

  .hero-banner__arrow--next {
    right: 4px;
  }
}

@media (max-width: 576px) {
  .hero-banner__dots {
    bottom: 20px;
  }
}

/* ---------- 首页公共容器 ---------- */

.home-wrap {
  max-width: var(--container-width, 1400px);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 576px) {
  .home-wrap {
    padding: 0 16px;
  }
}

/* ---------- OEM/ODM 服务流程 ---------- */

.home-services {
  padding: 72px 0 80px;
  background: var(--color-bg, #fff);
}

.home-services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  margin-bottom: 40px;
}

.home-services__intro {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 720px;
}

.home-services__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-heading, #1e2a38);
}

.home-services__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary, #5a6a7a);
}

.home-services__contact {
  flex-shrink: 0;
  text-align: right;
}

.home-services__contact-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--color-text-secondary, #5a6a7a);
}

.home-services__contact-icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.home-services__phone {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition, 0.25s ease);
}

.home-services__phone:hover {
  color: var(--color-primary-hover);
}

.home-services__flow-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c5ced8 transparent;
  padding-bottom: 10px;
}

.home-services__flow-scroll::-webkit-scrollbar {
  height: 6px;
}

.home-services__flow-scroll::-webkit-scrollbar-thumb {
  background: #c5ced8;
  border-radius: 3px;
}

.home-services__flow {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  min-width: 100%;
}

.home-services__step {
  display: flex;
  flex: 1 0 180px;
  flex-shrink: 0;
  align-items: center;
  min-width: 180px;
}

.home-services__step:not(:last-child)::after {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0 6px;
  background: center / 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6a7a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

.home-services__step-card {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 20px 14px 18px;
  text-align: center;
  background: var(--color-bg, #fff);
  border: 1px solid var(--color-border, #e8ecf0);
  border-radius: 4px;
  overflow: hidden;
}

.home-services__step-title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: break-word;
  color: var(--color-heading, #1e2a38);
}

.home-services__step-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(20, 20, 20, 0.12);
  margin-bottom: var(--space-2);
  user-select: none;
  margin-top: 15px;
}

@media (min-width: 1400px) {
  .home-services__flow-scroll {
    overflow-x: hidden;
    padding-bottom: 0;
  }

  .home-services__flow-scroll::-webkit-scrollbar {
    display: none;
  }

  .home-services__flow {
    width: 100%;
    min-width: 0;
  }

  .home-services__step {
    flex: 1 1 0;
    min-width: 0;
  }

  .home-services__step:not(:last-child)::after {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin: 0 4px;
    background-size: 20px;
  }
}

@media (max-width: 992px) {
  .home-services {
    padding: 40px 0 48px;
  }

  .home-services__header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .home-services__contact {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .home-services {
    padding: 32px 0 40px;
  }

  .home-services__step {
    flex: 0 0 180px;
    min-width: 180px;
  }

  .home-services__step-card {
    min-height: 104px;
    padding: 16px 12px 14px;
  }

  .home-services__step-num {
    margin-top: 10px;
    font-size: 17px;
  }

  .home-services__step:not(:last-child)::after {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    background-size: 22px;
  }
}

/* ---------- About Us ---------- */

.home-about {
  padding: 0 0 96px;
  background: var(--color-bg, #fff);
}

.home-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  align-items: center;
}

.home-about__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-bg-muted, #f5f6f8);
}

.home-about__video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: var(--color-bg-muted, #f5f6f8);
  object-fit: cover;
}

.home-about__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.home-about__media.is-playing .home-about__play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-about__play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.home-about__play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--color-heading, #1e2a38);
}

.home-about__heading {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading, #1e2a38);
}

.home-about__text {
  margin: 0 0 28px;
  font-size: var(--font-size-base, 16px);
  line-height: 1.65;
  color: var(--color-text, #2d3a4a);
}

.home-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--radius-button, 4px);
  transition: background 0.2s ease, color 0.2s ease;
}

.home-about__btn:hover {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 992px) {
  .home-about {
    padding: 0 0 48px;
  }

  .home-about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-about__media {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .home-about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-about__text {
    max-width: 640px;
  }
}

/* ---------- Meet Grasse Aroma Globally / Events ---------- */

.home-events {
  background: var(--color-bg, #fff);
}

.home-events__header {
  margin-bottom: 48px;
  text-align: center;
}

.home-events__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-heading, #1e2a38);
}

.home-events__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-secondary, #5a6a7a);
}

.home-events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  align-items: start;
}

.home-events__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.home-events__thumb {
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--color-bg-muted, #f5f6f8);
}

.home-events__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-events__meta {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-events__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-events__row + .home-events__row {
  margin-top: 10px;
}

.home-events__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--color-heading, #1e2a38);
}

.home-events__text {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text, #2d3a4a);
}

.home-events__text strong {
  font-weight: 700;
  color: var(--color-heading, #1e2a38);
}

.home-events__row--desc {
  align-items: flex-start;
}

.home-events__desc-list {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-events__desc-list > li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text, #2d3a4a);
}

.home-events__desc-list > li + li {
  margin-top: 0.35em;
}

@media (max-width: 992px) {
  .home-events {
    padding: 0 0 48px;
  }

  .home-events__header {
    margin-bottom: 36px;
  }

  .home-events__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .home-events__grid {
    gap: 24px 28px;
  }
}

/* ---------- 悬停蒙版卡片（产品分类） ---------- */

.home-hover-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-bg-muted, #f5f6f8);
}

.home-hover-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-hover-card__mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(30, 42, 56, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.home-hover-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

.home-hover-card:hover .home-hover-card__mask,
.home-hover-card:focus-visible .home-hover-card__mask {
  opacity: 1;
}

.home-hover-card:hover img,
.home-hover-card:focus-visible img {
  transform: scale(1.03);
}

/* ---------- ABOUT GRASSE FACTORY ---------- */

.home-factory {
  padding: 80px 0 96px;
  background: var(--color-bg, #fff);
}

.home-factory__header {
  margin-bottom: 40px;
  text-align: center;
}

.home-factory__link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-button, 4px);
  background: var(--color-bg-muted, #f5f6f8);
}

.home-factory__link img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-factory__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-heading, #1e2a38);
}

.home-factory__desc {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary, #5a6a7a);
}

.home-factory__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-factory__grid > li {
  margin: 0;
  padding: 0;
}

@media (max-width: 992px) {
  .home-factory {
    padding: 0 0 48px;
  }
}

@media (max-width: 576px) {
  .home-factory {
    padding-top: 0;
  }

  .home-factory__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Product Categories Swiper（全屏宽） ---------- */

.home-categories {
  padding: 0 0 96px;
  background: var(--color-bg, #fff);
}

.home-categories .home-wrap {
  margin-bottom: 36px;
}

.home-categories__title {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  text-align: center;
  color: var(--color-heading, #1e2a38);
}

.home-categories__slider-outer {
  position: relative;
  width: 100%;
  padding: 0 clamp(48px, 6vw, 96px);
  overflow: visible;
}

.home-categories__swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-categories__swiper .swiper-slide {
  height: auto;
}

/* 翻页箭头：与 Banner 一致（覆盖 Swiper 默认样式） */
.home-categories__slider-outer .swiper-button-prev,
.home-categories__slider-outer .swiper-button-next,
.home-categories__nav {
  position: absolute;
  top: 50%;
  z-index: 1001;
  display: flex;
  pointer-events: auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  color: rgba(30, 42, 56, 0.6);
  background: none;
  border: none;
  transform: translateY(-50%);
  transition: color 0.2s ease;
  cursor: pointer;
  background: rgba(245, 246, 247, 0.6);
  border-radius: 50%;
}

.home-categories__slider-outer .swiper-button-prev::after,
.home-categories__slider-outer .swiper-button-next::after,
.home-categories__nav::after {
  display: none !important;
  content: none !important;
}

.home-categories__slider-outer .swiper-button-prev svg,
.home-categories__slider-outer .swiper-button-next svg,
.home-categories__nav svg {
  display: block;
  width: 28px;
  height: 28px;
}

.home-categories__slider-outer .swiper-button-prev:hover,
.home-categories__slider-outer .swiper-button-next:hover,
.home-categories__nav:hover {
  color: var(--color-primary);
}

.home-categories__slider-outer .swiper-button-prev,
.home-categories__nav--prev {
  left: 150px;
}

.home-categories__slider-outer .swiper-button-next,
.home-categories__nav--next {
  right: 150px;
}

/* 幻灯片不足一页时 Swiper 会禁用按钮，直接隐藏避免“看不见”的误解 */
.home-categories__slider-outer .swiper-button-disabled,
.home-categories__nav.swiper-button-disabled {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 992px) {
  .home-categories__slider-outer .swiper-button-prev,
  .home-categories__slider-outer .swiper-button-next,
  .home-categories__nav {
    width: 40px;
    height: 40px;
  }

  .home-categories__slider-outer {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .home-categories {
    padding-bottom: 48px;
  }
}

@media (max-width: 576px) {
  .home-categories {
    padding-bottom: 40px;
  }

  .home-categories__slider-outer {
    padding: 0 32px;
  }
}

/* ---------- Why Choose us ---------- */

.home-why {
  padding-bottom: 96px;
  background: var(--color-bg, #fff);
}

.home-why__desc {
  max-width: 900px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-secondary, #5a6a7a);
  text-align: center;
}

.home-why__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  text-align: center;
  color: var(--color-heading, #1e2a38);
}

.home-why__title:last-child,
.home-why__desc:last-child {
  margin-bottom: 48px;
}

.home-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-why__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-why__media {
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-button, 4px);
  background: var(--color-bg-muted, #f5f6f8);
}

.home-why__media img {
  display: block;
  width: 100%;
  aspect-ratio: 600 / 427;
  object-fit: cover;
}

.home-why__heading {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-heading, #1e2a38);
}

.home-why__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-secondary, #5a6a7a);
}

@media (max-width: 992px) {
  .home-why {
    padding-bottom: 48px;
  }

  .home-exhibitions {
    padding-top: 0;
  }

  .home-why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

@media (max-width: 576px) {
  .home-why__title {
    margin-bottom: 32px;
  }

  .home-why__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-why__media {
    margin-bottom: 16px;
  }
}

/* ---------- Our Exhibitions 轮播 ---------- */

.home-exhibitions {
  /* padding: 64px 0 96px; */
  background: var(--color-bg, #fff);
}

.home-exhibitions__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  text-align: center;
  color: var(--color-heading, #1e2a38);
}

.home-exhibitions__title:last-child,
.home-exhibitions__desc:last-child {
  margin-bottom: 40px;
}

.home-exhibitions__desc {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-secondary, #5a6a7a);
  text-align: center;
}

.home-exhibitions__outer {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-exhibitions__swiper {
  width: 100%;
  overflow: hidden;
}

.home-exhibitions__swiper .swiper-slide {
  height: auto;
}

.home-exhibitions__card {
  overflow: hidden;
  border-radius: var(--radius-button, 4px);
  background: var(--color-bg-muted, #f5f6f8);
}

.home-exhibitions__card img {
  display: block;
  width: 100%;
  aspect-ratio: 600 / 427;
  object-fit: cover;
}

/* 圆形半透明箭头（设计稿样式，覆盖 Swiper 默认） */
.home-exhibitions__outer .swiper-button-prev,
.home-exhibitions__outer .swiper-button-next,
.home-exhibitions__nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.2s ease;
  cursor: pointer;
}

.home-exhibitions__outer .swiper-button-prev::after,
.home-exhibitions__outer .swiper-button-next::after,
.home-exhibitions__nav::after {
  display: none !important;
  content: none !important;
}

.home-exhibitions__outer .swiper-button-prev:hover,
.home-exhibitions__outer .swiper-button-next:hover,
.home-exhibitions__nav:hover {
  background: rgba(0, 0, 0, 0.6);
}

.home-exhibitions__outer .swiper-button-prev,
.home-exhibitions__nav--prev {
  left: 8px;
}

.home-exhibitions__outer .swiper-button-next,
.home-exhibitions__nav--next {
  right: 8px;
}

.home-exhibitions__outer .swiper-button-disabled,
.home-exhibitions__nav.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* 底部分页圆点 */
.home-exhibitions__pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.home-exhibitions__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  pointer-events: auto;
  transition: background 0.25s ease, transform 0.25s ease;
}

.home-exhibitions__pagination .swiper-pagination-bullet-active {
  background: rgba(30, 42, 56, 0.85);
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .home-exhibitions__outer .swiper-button-prev,
  .home-exhibitions__outer .swiper-button-next,
  .home-exhibitions__nav {
    width: 40px;
    height: 40px;
  }

  .home-exhibitions__outer .swiper-button-prev,
  .home-exhibitions__nav--prev {
    left: 8px;
  }

  .home-exhibitions__outer .swiper-button-next,
  .home-exhibitions__nav--next {
    right: 8px;
  }
}

@media (max-width: 576px) {
  .home-exhibitions {
    padding-bottom: 40px;
  }

  .home-exhibitions__pagination {
    bottom: 12px;
  }

  .home-exhibitions__nav--prev {
    left: 4px;
  }

  .home-exhibitions__nav--next {
    right: 4px;
  }
}

/* ---------- Partners 合作伙伴无缝滚动 ---------- */

.home-partners {
  padding: 64px 0 96px;
  background: var(--color-bg, #fff);
  overflow: hidden;
}

.home-partners__title {
  margin: 0 0 40px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  text-align: center;
  color: var(--color-heading, #1e2a38);
}

.home-partners__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-partners__marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.home-partners__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.home-partners__track--left {
  animation: home-partners-scroll 40s linear infinite;
}

.home-partners__track--right {
  animation: home-partners-scroll 40s linear infinite reverse;
}

.home-partners__segment {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 40px;
  margin-right: 40px;
}

.home-partners__item {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 88px;
  padding: 14px 28px;
  background: #fff;
  border: 1px solid rgba(30, 42, 56, 0.08);
  border-radius: var(--radius-button, 4px);
  box-shadow: 0 2px 12px rgba(30, 42, 56, 0.06);
}

.home-partners__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@keyframes home-partners-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--marquee-shift, -50%), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-partners__track--left,
  .home-partners__track--right {
    animation: none;
    transform: translateX(0);
  }

  .home-partners__marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media (max-width: 768px) {
  .home-partners {
    padding: 0 0 48px;
  }

  .home-partners__rows {
    gap: 16px;
  }

  .home-partners__segment {
    gap: 24px;
    margin-right: 24px;
  }

  .home-partners__item {
    width: 160px;
    height: 72px;
    padding: 10px 16px;
  }

  .home-partners__track--left,
  .home-partners__track--right {
    animation-duration: 28s;
  }
}

/* ---------- Send Inquiry 联系表单 ---------- */

.home-inquiry {
  padding: 0 0 96px;
  background: var(--color-bg, #fff);
}

.home-inquiry__inner {
  max-width: 840px;
  margin: 0 auto;
}

.home-inquiry__title {
  margin: 0 0 40px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--color-heading, #1e2a38);
}

.home-inquiry__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-inquiry__field {
  display: block;
  margin: 0;
}

.home-inquiry__field input,
.home-inquiry__field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: var(--font-size-base, 16px);
  line-height: 1.5;
  color: var(--color-text, #2d3a4a);
  background: var(--color-bg, #fff);
  border: 1px solid var(--color-border, #e8ecf0);
  border-radius: var(--radius-button, 4px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-inquiry__field input::placeholder,
.home-inquiry__field textarea::placeholder {
  color: #a8b4c0;
}

.home-inquiry__field input:hover,
.home-inquiry__field textarea:hover {
  border-color: #d0d8e0;
}

.home-inquiry__field input:focus,
.home-inquiry__field textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.home-inquiry__field textarea {
  min-height: 140px;
  resize: vertical;
}

.home-inquiry__submit {
  align-self: center;
  min-width: 160px;
  margin-top: 8px;
  padding: 12px 48px;
  font-family: inherit;
  font-size: var(--font-size-base, 16px);
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-button, 4px);
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.35);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-inquiry__submit:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.45);
}

.home-inquiry__submit:active {
  transform: translateY(1px);
}

@media (max-width: 576px) {
  .home-inquiry {
    padding: 0 0 48px;
  }

  .home-inquiry__title {
    margin-bottom: 28px;
  }
}
