/* ===== Bright Alibaba-style company home ===== */
.page-home {
  --home-ink: #1a1a1a;
  --home-muted: #667085;
  --home-deep: var(--bg);
  --home-panel: #ffffff;
  --home-line: #e6ebf2;
  --home-accent: var(--brand);
  --home-steel: var(--shop-blue);
  --shop-chrome-h: 210px;
  background: var(--bg);
  color: var(--home-ink);
  overflow-x: hidden;
}

.page-home .site-footer {
  margin-top: 0;
}

.page-home .float-rail a {
  background: #fff;
  border-color: var(--line);
  color: #333;
}

/* Compact Alibaba-style chrome so the carousel can dominate the first screen */
.page-home .shop-header .inner {
  padding: 8px 0;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
}

.page-home .shop-logo {
  width: 48px;
  height: 48px;
}

.page-home .shop-name {
  margin: 0 0 2px;
  font-size: 16px;
}

.page-home .shop-scope,
.page-home .shop-tags,
.page-home .sgs-chip {
  display: none !important;
}

.page-home .shop-meta {
  margin-bottom: 0;
  gap: 8px 10px;
}

.page-home .shop-meta span {
  font-size: 12px;
}

.page-home .shop-actions {
  gap: 6px;
  min-width: 140px;
}

.page-home .shop-actions .btn {
  padding: 7px 12px;
  font-size: 12px;
}

.page-home .market-header .market-inner {
  min-height: 52px;
  padding: 6px 0;
}

.page-home .store-nav .inner {
  min-height: 46px;
}

.page-home .store-nav .nav-link {
  height: 46px;
}

.page-home .store-search,
.page-home .store-search input,
.page-home .store-search button {
  height: 34px;
  min-height: 34px;
  line-height: 34px;
}

.home-snap {
  scroll-snap-type: y proximity;
  background: var(--home-deep);
}

.home-panel {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.home-closing {
  min-height: auto;
  justify-content: center;
}

/* Carousel fills ALL remaining first-screen space under the shop chrome */
.home-hero {
  padding: 0;
  overflow: hidden;
  background: #F1F3F6;
  min-height: 0;
  position: relative;
  height: calc(100vh - var(--shop-chrome-h, 160px));
  height: calc(100dvh - var(--shop-chrome-h, 160px));
}

.home-hero-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: #ECEFF4;
}

.home-hero .carousel-viewport,
.home-hero .carousel-track,
.home-hero .carousel-slide {
  height: 100%;
  min-height: 100%;
}

.home-hero .carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  filter: none;
  transition: none;
}

.home-hero .carousel-slide.is-active img {
  transform: none;
  animation: none;
}

.home-hero-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 20% 30%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, var(--shop-blue) 0%, #13315C 48%, #0f172a 100%);
  color: #fff;
}
.home-hero-fallback-inner {
  display: grid;
  gap: 10px;
  text-align: center;
  padding: 24px;
  max-width: 720px;
}
.home-hero-fallback-inner strong {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.home-hero-fallback-inner span {
  font-size: clamp(14px, 2.2vw, 18px);
  opacity: 0.9;
  line-height: 1.5;
}

.home-hero .carousel-btn {
  z-index: 3;
  opacity: 0.92;
  width: 44px;
  height: 44px;
  background: rgba(11, 37, 69, 0.88);
  color: #fff;
}

.home-hero-media:hover .carousel-btn {
  opacity: 1;
}

.home-hero .carousel-dots {
  z-index: 3;
  bottom: 18px;
}

.page-home .btn-ghost {
  background: #fff;
  color: var(--shop-blue);
  border: 1px solid #D3DCE9;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
}

.page-home .btn-ghost:hover {
  background: #EEF1F6;
  border-color: var(--shop-blue);
}

/* About — larger company intro */
.home-about {
  min-height: 0;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 88% 12%, rgba(11, 37, 69, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #F7F8FA 100%);
  padding: 72px 0 64px;
}

.home-about-bg {
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(11, 37, 69, 0.08), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
  animation: homePulse 6s ease-in-out infinite;
}

@keyframes homePulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

.home-about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.page-home .section-label {
  display: inline-block;
  background: #EEF1F6;
  color: var(--brand-dark);
  border: 1px solid #DEE4ED;
  padding: 6px 12px;
  font-size: 14px;
  margin-bottom: 14px;
  border-radius: 6px;
}

.home-about-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  color: #111827;
}

.home-about-lead {
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 620px;
}

.page-home .about-html {
  display: block;
  color: #475467;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 18px;
  max-width: 640px;
}
.page-home .about-html p { margin: 0 0 10px; }
.page-home .about-html ul {
  margin: 0 0 10px;
  padding-left: 18px;
}
.page-home .about-html li { margin-bottom: 4px; }

.home-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.home-meta-row span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--home-line);
  background: #fff;
  font-size: 12px;
  color: var(--home-muted);
}

.home-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-stat-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.home-stat {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--sh-1);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.home-stat:hover {
  transform: translateY(-3px);
  border-color: #A8B8CE;
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.1);
}

.home-stat strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  color: #111827;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.home-stat span {
  font-size: 12px;
  color: var(--home-muted);
  letter-spacing: 0.04em;
}

/* Shared block head */
.home-block-head {
  margin-bottom: 36px;
  max-width: 720px;
}
.home-block-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  color: #111827;
  line-height: 1.25;
}
.home-block-head p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}
.home-block-head-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.home-link-more {
  color: var(--home-steel);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.home-link-more:hover { color: var(--home-accent); }

/* Advantages */
.home-advantages {
  background: var(--bg);
  padding: 80px 0 72px;
}
.home-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.home-adv-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 26px 22px;
  min-height: 180px;
  box-shadow: var(--sh-1);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.home-adv-card:hover {
  transform: translateY(-4px);
  border-color: #C6D2E2;
  box-shadow: var(--sh-2);
}
.home-adv-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: #EEF1F6;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 14px;
}
.home-adv-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #111827;
}
.home-adv-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Hot products */
.home-hot {
  background: #fff;
  padding: 80px 0 72px;
}
.home-hot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.home-hot-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-1);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.home-hot-card:hover {
  transform: translateY(-4px);
  border-color: #A8B8CE;
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.1);
}
.home-hot-media {
  aspect-ratio: 1;
  background: #f3f6fb;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--home-muted);
  font-size: 14px;
}
.home-hot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.home-hot-card:hover .home-hot-media img { transform: scale(1.05); }
.home-hot-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.home-hot-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-hot-summary {
  margin: 0;
  font-size: 12px;
  color: var(--home-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-hot-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--home-accent);
}
.home-hot-meta {
  font-size: 12px;
  color: #98a2b3;
}
.home-hot-btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

/* Process */
.home-process {
  background:
    radial-gradient(circle at 8% 18%, rgba(11, 37, 69, 0.06), transparent 40%),
    var(--bg);
  padding: 80px 0 72px;
}
.home-process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.home-process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 24px 18px;
  min-height: 190px;
  box-shadow: var(--sh-1);
}
.home-process-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--home-accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.home-process-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #111827;
}
.home-process-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--home-muted);
}

/* Galleries */
.home-gallery {
  background: #fff;
  min-height: 0;
  justify-content: flex-start;
  padding: 72px 0 56px;
  overflow: hidden;
}

.home-gallery-alt {
  background: linear-gradient(180deg, #F7F8FA 0%, #ffffff 100%);
}

.home-gallery-head {
  margin-bottom: 28px;
}

.page-home .gallery-title-bar {
  background: transparent;
  color: #111827;
  padding: 0;
  font-size: clamp(24px, 3.4vw, 36px);
  margin-bottom: 8px;
}

.page-home .gallery-title-bar.alt {
  background: transparent;
}

.page-home .gallery-desc {
  color: var(--home-muted);
  margin: 0;
  font-size: 14px;
}

.home-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: homeMarquee 42s linear infinite;
  will-change: transform;
}

.home-marquee.reverse .home-marquee-track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.home-marquee:hover .home-marquee-track {
  animation-play-state: paused;
}

@keyframes homeMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-shot {
  margin: 0;
  flex: 0 0 min(560px, 82vw);
  height: min(400px, 52vh);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: #f3f6fb;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

/* OEM */
.home-oem {
  background:
    radial-gradient(circle at 85% 20%, rgba(11, 37, 69, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #F7F8FA 100%);
  padding: 88px 0 80px;
}
.home-oem-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.home-oem-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 40px);
  color: #111827;
}
.home-oem-copy > p {
  margin: 0 0 18px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 540px;
}
.home-oem-list {
  margin: 0 0 24px;
  padding-left: 18px;
  color: #344054;
  font-size: 14px;
  line-height: 1.9;
}
.home-oem-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.home-oem-panel {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 22px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--sh-1);
}
.home-oem-panel strong {
  color: #111827;
  font-size: 16px;
}
.home-oem-panel span {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Markets */
.home-markets {
  background: var(--bg);
  padding: 80px 0 72px;
}
.home-market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.home-market-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 24px 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--sh-1);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.home-market-card:hover {
  transform: translateY(-3px);
  border-color: #C6D2E2;
  box-shadow: var(--sh-2);
}
.home-market-card strong {
  color: #111827;
  font-size: 16px;
}
.home-market-card span {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.home-shot:hover img {
  transform: scale(1.06);
}

/* Closing */
.home-closing {
  background:
    radial-gradient(circle at 18% 20%, rgba(11, 37, 69, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #EEF1F6 100%);
  padding: 100px 0 92px;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-closing-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.home-closing-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  color: #111827;
}

.home-closing-copy p {
  margin: 0 0 24px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
}

.home-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.home-cert {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  min-height: 140px;
  display: grid;
  place-items: center;
  gap: 10px;
  box-shadow: var(--sh-1);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.home-cert:hover {
  transform: translateY(-4px);
  border-color: #C6D2E2;
  box-shadow: var(--sh-2);
}

.home-cert img {
  height: 56px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.home-cert span {
  font-size: 14px;
  font-weight: 700;
  color: #344054;
}

/* Scroll chrome */
.home-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 400;
  background: transparent;
  pointer-events: none;
}
.home-scroll-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--shop-blue));
  transition: width .08s linear;
}
.home-side-dots {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-side-dots a {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #c5cedb;
  background: #fff;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.home-side-dots a.is-on {
  background: var(--home-accent);
  border-color: var(--home-accent);
  transform: scale(1.25);
}
.page-home.is-scrolling-down .home-side-dots a.is-on {
  box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.15);
}

/* Sticky metrics */
.home-metric-strip {
  position: sticky;
  top: 46px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--home-line);
  box-shadow: var(--sh-1);
}
.home-metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px 0;
}
.home-metric-item {
  text-align: center;
  padding: 4px 8px;
}
.home-metric-item strong {
  display: block;
  font-size: 20px;
  color: #111827;
  margin-bottom: 2px;
}
.home-metric-item span {
  font-size: 12px;
  color: var(--home-muted);
}

/* Categories */
.home-cats {
  background: #fff;
  padding: 80px 0 72px;
}
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-cat-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--home-line);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}
.home-cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.home-cat-card:hover img { transform: scale(1.08); }
.home-cat-mask {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.78));
  color: #fff;
  display: grid;
  gap: 4px;
}
.home-cat-mask strong { font-size: 16px; }
.home-cat-mask span { font-size: 12px; opacity: 0.86; }

/* Materials / partners marquee chips */
.home-materials,
.home-partners {
  background: var(--bg);
  padding: 72px 0 56px;
  overflow: hidden;
}
.home-partners { background: #fff; }
.home-chip-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.home-chip-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: homeMarquee 36s linear infinite;
}
.home-chip-marquee.reverse .home-chip-track {
  animation-direction: reverse;
  animation-duration: 42s;
}
.home-chip,
.home-partner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--home-line);
  color: #344054;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
}
.home-partner {
  min-width: 160px;
  border-radius: 12px;
  background: #f8fafc;
}

/* Mid CTA */
.home-cta-band {
  background: linear-gradient(90deg, #EEF1F6, #EEF1F6);
  border-top: 1px solid #DEE4ED;
  border-bottom: 1px solid #d9e6ff;
  padding: 36px 0;
}
.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.home-cta-inner h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #111827;
}
.home-cta-inner p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
}

/* Timeline */
.home-timeline {
  background: #fff;
  padding: 80px 0 72px;
}
.home-timeline-track {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.home-timeline-track::before {
  content: "";
  position: absolute;
  left: 78px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--shop-blue));
  opacity: 0.35;
}
.home-timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: start;
}
.home-timeline-year {
  text-align: right;
  font-size: 20px;
  font-weight: 800;
  color: var(--home-accent);
  padding-top: 14px;
}
.home-timeline-card {
  background: #f8fafc;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--sh-1);
}
.home-timeline-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #111827;
}
.home-timeline-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Stories + FAQ */
.home-stories {
  background: var(--bg);
  padding: 80px 0 72px;
}
.home-stories-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}
.home-story-list {
  display: grid;
  gap: 14px;
}
.home-story-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: var(--sh-1);
}
.home-story-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #111827;
}
.home-story-card p {
  margin: 0 0 10px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.65;
}
.home-story-card span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EEF1F6;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
}
.home-faq-item {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 0 16px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.03);
}
.home-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: #111827;
  font-size: 14px;
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item p {
  margin: 0 0 16px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Reveal variants + scroll motion */
.page-home .reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .7s ease, transform .75s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}
.page-home .reveal.reveal-left { transform: translateX(-48px); }
.page-home .reveal.reveal-right { transform: translateX(48px); }
.page-home .reveal.reveal-up { transform: translateY(48px); }
.page-home .reveal.reveal-scale { transform: translateY(24px) scale(.94); }
.page-home .reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.page-home.is-scrolling-down .reveal:not(.is-visible) {
  transition-duration: .55s;
}
.page-home.is-scrolling-up .reveal:not(.is-visible) {
  transition-duration: .85s;
}
.page-home [data-parallax] {
  will-change: transform;
  transition: transform .08s linear;
}

@media (max-width: 1100px) {
  .home-hot-grid,
  .home-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .home-process-track { grid-template-columns: repeat(3, 1fr); }
  .home-market-grid { grid-template-columns: repeat(2, 1fr); }
  .home-stories-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .home-topbar-nav {
    display: none;
  }

  .home-about-grid,
  .home-closing-inner,
  .home-oem-grid,
  .home-adv-grid,
  .home-cta-inner {
    grid-template-columns: 1fr;
  }

  .home-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-side-dots,
  .home-metric-strip {
    display: none;
  }

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

  .home-timeline-track::before { left: 54px; }
  .home-timeline-item { grid-template-columns: 48px 1fr; gap: 14px; }

  .page-home .shop-header .inner {
    grid-template-columns: 48px 1fr;
  }

  .page-home .shop-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-about,
  .home-advantages,
  .home-hot,
  .home-process,
  .home-oem,
  .home-markets {
    padding: 52px 0 44px;
  }

  .home-closing {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .home-gallery {
    padding-top: 52px;
    padding-bottom: 40px;
  }

  .home-block-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-process-track {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .home-topbar-cta {
    display: none;
  }

  .home-stat-board,
  .home-cert-grid,
  .home-hot-grid,
  .home-oem-panels,
  .home-market-grid,
  .home-process-track {
    grid-template-columns: 1fr 1fr;
  }

  .home-shot {
    flex-basis: 82vw;
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee-track,
  .home-hero .carousel-slide.is-active img,
  .home-scroll-hint span,
  .home-about-bg {
    animation: none !important;
  }
}
