:root {
  --zsg-home-red: #e30014;
  --zsg-home-red-dark: #b90010;
  --zsg-home-ink: #121417;
  --zsg-home-ink-2: #24282d;
  --zsg-home-muted: #68707a;
  --zsg-home-line: #dfe3e7;
  --zsg-home-soft: #f3f5f7;
  --zsg-home-soft-2: #e9edf1;
  --zsg-home-white: #ffffff;
  --zsg-home-radius-lg: 26px;
  --zsg-home-radius-md: 18px;
  --zsg-home-radius-sm: 12px;
  --zsg-home-shadow: 0 18px 48px rgba(17, 20, 23, .08);
}

.zsg-home,
.zsg-home * {
  box-sizing: border-box;
}

.zsg-home {
  width: 100%;
  overflow: clip;
  background: var(--zsg-home-soft);
  color: var(--zsg-home-ink);
}

.zsg-home a {
  color: inherit;
}

.zsg-home img {
  max-width: 100%;
  height: auto;
}

.zsg-home-container {
  width: min(calc(100% - 40px), 1320px);
  margin-inline: auto;
}

.zsg-home-section {
  padding: 44px 0;
}

.zsg-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.zsg-section-heading h2,
.zsg-home-support h2 {
  margin: 0;
  color: var(--zsg-home-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.035em;
}

.zsg-section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  color: var(--zsg-home-red);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.zsg-section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  flex: 0 0 24px;
  background: currentColor;
}

/* Hero */
.zsg-home-hero {
  padding: 28px 0 38px;
  background:
    radial-gradient(circle at 76% 14%, rgba(227, 0, 20, .08), transparent 30%),
    linear-gradient(180deg, #f8f9fa 0%, var(--zsg-home-soft) 100%);
}

.zsg-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(300px, .82fr);
  gap: 18px;
}

.zsg-home-hero__official {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(32px, 4vw, 58px);
  border-radius: var(--zsg-home-radius-lg);
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 85% 30%, rgba(227, 0, 20, .26), transparent 32%),
    linear-gradient(135deg, #090b0d 0%, #171a1e 62%, #0c0e10 100%);
  box-shadow: 0 24px 64px rgba(10, 12, 14, .18);
  isolation: isolate;
}

.zsg-home-hero__official::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.15) 78%, transparent);
}

.zsg-home-hero__official::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 138px;
  height: 5px;
  background: var(--zsg-home-red);
}

.zsg-home-hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 650px;
}

.zsg-home-hero__eyebrow {
  margin: 0 0 18px;
  color: #ff5866;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.zsg-home-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5vw, 72px);
  line-height: .98;
  font-weight: 850;
  letter-spacing: -.055em;
}

.zsg-home-hero__text {
  max-width: 600px;
  margin: 22px 0 0;
  color: #d6dade;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.6;
}

.zsg-home-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--zsg-home-red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.zsg-home-hero__link svg,
.zsg-text-link svg,
.zsg-category-card__content span svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.zsg-home-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  padding-top: 30px;
}

.zsg-home-hero__visual::before {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 10%;
  width: min(34vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 0, 20, .34) 0%, rgba(227, 0, 20, .08) 48%, transparent 72%);
  filter: blur(8px);
}

.zsg-home-hero__visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 350px);
  max-height: 420px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 26px rgba(0,0,0,.36));
}

.zsg-home-hero__actions {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.zsg-home-action-card {
  position: relative;
  min-height: 251px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 42%);
  align-items: center;
  overflow: hidden;
  padding: 28px 24px 24px 28px;
  border: 1px solid rgba(20, 24, 28, .08);
  border-radius: var(--zsg-home-radius-lg);
  text-decoration: none;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 20, 23, .055);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.zsg-home-action-card:hover,
.zsg-home-action-card:focus-visible {
  border-color: rgba(227, 0, 20, .28);
  box-shadow: var(--zsg-home-shadow);
}

.zsg-home-action-card:focus-visible,
.zsg-home-hero__official:focus-visible,
.zsg-category-card:focus-visible,
.zsg-text-link:focus-visible,
.zsg-slider-nav__button:focus-visible,
.zsg-product-card a:focus-visible,
.zsg-product-card button:focus-visible,
.zsg-button:focus-visible {
  outline: 3px solid rgba(227, 0, 20, .28);
  outline-offset: 3px;
}

.zsg-home-action-card__copy {
  position: relative;
  z-index: 2;
}

.zsg-home-action-card__kicker {
  margin: 0 0 8px;
  color: var(--zsg-home-red);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.zsg-home-action-card h2 {
  max-width: 260px;
  margin: 0;
  color: var(--zsg-home-ink);
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.035em;
}

.zsg-home-action-card__copy > span {
  display: inline-block;
  margin-top: 20px;
  color: var(--zsg-home-muted);
  font-size: 13px;
  font-weight: 750;
}

.zsg-home-action-card img {
  align-self: end;
  justify-self: end;
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  object-position: right bottom;
}

.zsg-home-action-card--parts {
  /* parts.png/webp has an #efefef edge/background; matching the card removes the visible image rectangle. */
  background: #efefef;
}

.zsg-home-action-card--service {
  background: linear-gradient(145deg, #f1f3f5, #fff 70%);
}

/* Categories */
.zsg-category-section {
  padding-top: 56px;
}

.zsg-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.zsg-category-card {
  position: relative;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid #25292e;
  border-radius: var(--zsg-home-radius-md);
  text-decoration: none;
  background:
    radial-gradient(circle at 90% 8%, rgba(227,0,20,.24), transparent 33%),
    linear-gradient(145deg, #111417, #22262b);
  color: #fff;
  transition: border-color .22s ease, background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.zsg-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(255,255,255,.035) 72% 72.5%, transparent 72.5%),
    linear-gradient(0deg, transparent 0 68%, rgba(255,255,255,.03) 68% 68.5%, transparent 68.5%);
}

.zsg-category-card::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -46px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(227,0,20,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(227,0,20,.035);
  pointer-events: none;
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.zsg-category-card:hover,
.zsg-category-card:focus-visible {
  border-color: rgba(227, 0, 20, .72);
  box-shadow: 0 14px 34px rgba(10, 12, 14, .16);
  transform: scale(1.012);
}

.zsg-category-card:hover::after,
.zsg-category-card:focus-visible::after {
  transform: scale(1.08) rotate(5deg);
  border-color: rgba(227,0,20,.38);
  box-shadow: 0 0 0 22px rgba(227,0,20,.055);
}



.zsg-category-card__content {
  position: relative;
  z-index: 2;
}

.zsg-category-card__content h3 {
  max-width: 82%;
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
}

.zsg-category-card__content > span {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  color: #c8cdd2;
  font-size: 12px;
  font-weight: 750;
}

.zsg-category-card__content > span svg {
  transition: transform .22s ease;
}

.zsg-category-card:hover .zsg-category-card__content > span svg,
.zsg-category-card:focus-visible .zsg-category-card__content > span svg {
  transform: translateX(4px);
}

/* Progressive reveal motion. No vertical movement: opacity + scale only. */
.zsg-motion-ready {
  opacity: 0;
  transform: scale(.985);
  transition:
    opacity .46s ease var(--zsg-reveal-delay, 0ms),
    transform .46s cubic-bezier(.2,.7,.2,1) var(--zsg-reveal-delay, 0ms);
}

.zsg-motion-ready.zsg-motion-visible {
  opacity: 1;
  transform: scale(1);
}

.zsg-category-card.zsg-motion-ready.zsg-motion-visible:hover,
.zsg-category-card.zsg-motion-ready.zsg-motion-visible:focus-visible {
  transform: scale(1.012);
}

/* Product sections */
.zsg-category-products .zsg-product-section:nth-child(odd),
.zsg-home > .zsg-product-section:nth-of-type(even) {
  background: #eef1f4;
}

.zsg-product-section {
  overflow: hidden;
}

.zsg-section-heading--products {
  align-items: center;
  margin-bottom: 18px;
}

.zsg-product-section__tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.zsg-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--zsg-home-ink-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.zsg-text-link:hover {
  color: var(--zsg-home-red);
}

.zsg-slider-nav {
  display: flex;
  gap: 8px;
}

.zsg-slider-nav__button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d5d9dd;
  border-radius: 12px;
  background: #fff;
  color: #23272c;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.zsg-slider-nav__button svg {
  width: 19px;
  height: 19px;
}

.zsg-slider-nav__button:hover {
  border-color: var(--zsg-home-red);
  color: var(--zsg-home-red);
}

.zsg-slider-nav__button.swiper-button-disabled,
.zsg-slider-nav__button.swiper-button-lock {
  opacity: .34;
  cursor: default;
}

/* Essential Swiper structure + no-JS fallback. */
.zsg-product-slider {
  width: 100%;
  overflow: hidden;
}

.zsg-product-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.zsg-product-slider .swiper-slide {
  height: auto;
  flex: 0 0 67%;
  min-width: 0;
  scroll-snap-align: start;
}

.zsg-product-slider:not(.swiper-initialized) {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

.zsg-product-slider:not(.swiper-initialized)::-webkit-scrollbar {
  display: none;
}

.zsg-product-slider:not(.swiper-initialized) .swiper-wrapper {
  gap: 12px;
}

.zsg-product-slider.swiper-initialized .swiper-slide {
  flex: 0 0 auto;
}

/* Bottom support CTA */
.zsg-home-support {
  padding: 48px 0 66px;
}

.zsg-home-support__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--zsg-home-radius-lg);
  background: linear-gradient(135deg, #fff 0%, #f6f7f8 100%);
  border: 1px solid #dfe3e6;
  box-shadow: 0 16px 44px rgba(17,20,23,.055);
}

.zsg-home-support__inner p:not(.zsg-section-kicker) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--zsg-home-muted);
  font-size: 15px;
  line-height: 1.65;
}

.zsg-home-support__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zsg-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.zsg-button--primary {
  background: var(--zsg-home-red);
  color: #fff !important;
}

.zsg-button--primary:hover {
  background: var(--zsg-home-red-dark);
}

.zsg-button--ghost {
  border-color: #cfd4d9;
  background: #fff;
  color: #252a2f !important;
}

.zsg-button--ghost:hover {
  border-color: var(--zsg-home-red);
  color: var(--zsg-home-red) !important;
}

@media (min-width: 360px) {
  .zsg-product-slider:not(.swiper-initialized) .swiper-slide { flex-basis: 62%; }
}

@media (min-width: 430px) {
  .zsg-product-slider:not(.swiper-initialized) .swiper-slide { flex-basis: 46%; }
}

@media (min-width: 520px) {
  .zsg-product-slider:not(.swiper-initialized) .swiper-slide { flex-basis: 38%; }
}

@media (min-width: 768px) {
  .zsg-product-slider:not(.swiper-initialized) .swiper-slide { flex-basis: 30%; }
}

@media (min-width: 1024px) {
  .zsg-product-slider:not(.swiper-initialized) .swiper-slide { flex-basis: 23.5%; }
}

@media (min-width: 1280px) {
  .zsg-product-slider:not(.swiper-initialized) .swiper-slide { flex-basis: 20.2%; }
}

@media (max-width: 1100px) {
  .zsg-home-container {
    width: min(calc(100% - 32px), 1320px);
  }

  .zsg-home-hero__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, .8fr);
  }

  .zsg-home-hero__official {
    min-height: 470px;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 36%);
  }

  .zsg-home-hero h1 {
    font-size: clamp(38px, 5vw, 58px);
  }

  .zsg-home-action-card {
    min-height: 226px;
    padding: 24px 20px;
  }

  .zsg-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zsg-category-card {
    min-height: 154px;
  }

  .zsg-home-support__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .zsg-home-hero {
    padding-top: 18px;
  }

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

  .zsg-home-hero__official {
    min-height: 430px;
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .zsg-home-hero__actions {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .zsg-home-action-card {
    min-height: 210px;
  }

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

  .zsg-category-card {
    min-height: 164px;
  }
}

@media (max-width: 767px) {
  .zsg-home-container {
    width: min(calc(100% - 28px), 1320px);
  }

  .zsg-home-section {
    padding: 34px 0;
  }

  .zsg-section-heading {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .zsg-section-heading--products {
    gap: 14px;
  }

  .zsg-product-section__tools {
    gap: 8px;
  }

  .zsg-slider-nav {
    display: none;
  }

  .zsg-text-link {
    min-height: 40px;
    white-space: nowrap;
  }

  .zsg-text-link svg {
    display: none;
  }

  .zsg-product-slider {
    overflow: hidden;
  }

  .zsg-product-slider:not(.swiper-initialized) {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .zsg-home-support {
    padding: 34px 0 50px;
  }
}

@media (max-width: 620px) {
  .zsg-home-hero__official {
    min-height: 500px;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 30px 26px 0;
  }

  .zsg-home-hero__content {
    padding-bottom: 8px;
  }

  .zsg-home-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .zsg-home-hero__text {
    margin-top: 16px;
    font-size: 15px;
  }

  .zsg-home-hero__link {
    margin-top: 22px;
  }

  .zsg-home-hero__visual {
    position: absolute;
    right: -18px;
    bottom: 0;
    width: 230px;
    height: 265px;
    opacity: .86;
  }

  .zsg-home-hero__visual img {
    width: 220px;
    max-height: 260px;
  }

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

  .zsg-home-action-card {
    min-height: 190px;
    grid-template-columns: minmax(0, 1fr) 130px;
  }

  .zsg-home-action-card img {
    max-height: 155px;
  }

  .zsg-category-grid {
    gap: 10px;
  }

  .zsg-category-card {
    min-height: 174px;
    padding: 17px;
  }

  .zsg-category-card__content h3 {
    max-width: 100%;
    font-size: 20px;
  }

  .zsg-category-card__content > span {
    margin-top: 12px;
    font-size: 11px;
  }


  .zsg-home-support__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .zsg-button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .zsg-home-container {
    width: calc(100% - 20px);
  }

  .zsg-home-hero__official {
    min-height: 480px;
    padding-inline: 22px;
  }

  .zsg-home-action-card {
    padding: 20px;
  }

  .zsg-category-card {
    min-height: 158px;
  }

  .zsg-category-card__content h3 {
    font-size: 18px;
  }

  .zsg-category-card__content > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zsg-motion-ready,
  .zsg-motion-ready.zsg-motion-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .zsg-home *,
  .zsg-home *::before,
  .zsg-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Production polish */
.zsg-home-hero__visual picture {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

.zsg-home-action-card picture {
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  max-width: 100%;
}

.zsg-slider-nav__button:disabled,
.zsg-slider-nav__button[aria-disabled="true"] {
  opacity: .34;
  cursor: default;
}
