/* Homepage hero slider  -  background + text fade */
.hero-slider {
  background-image: none !important;
  min-height: clamp(540px, 72vh, 760px);
  position: relative;
  isolation: isolate;
  align-items: flex-start;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hero-slider.is-swiping {
  cursor: grabbing;
}

.hero-slider a,
.hero-slider button,
.hero-slider input,
.hero-slider textarea,
.hero-slider select,
.hero-slider label {
  cursor: pointer;
  user-select: auto;
  -webkit-user-select: auto;
}

/* Soft scrim — keep text readable without crushing slide photography */
.hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(3, 5, 8, 0.58) 0%, rgba(3, 5, 8, 0.32) 48%, rgba(3, 5, 8, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 18%, rgba(3, 5, 8, 0.12) 48%, rgba(3, 5, 8, 0.48) 78%, rgba(3, 5, 8, 0.82) 94%, var(--dark-bg, #030508) 100%);
}

/* Suppress f1-theme cyan accent bar on homepage slider hero */
.hero.hero-slider::after {
  content: none;
  display: none;
}

.hero-slider .hero-main,
.hero-slider .hero-quote-panel,
.hero-slider .hero-stats,
.hero-slider .hero-slider-controls,
.hero-slider .hero-slides-copy,
.hero-slider .hero-slide-text {
  position: relative;
  z-index: 2;
}

.hero-slider .hero-stats {
  display: grid !important;
}

.hero-slider-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-color: #030508;
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  z-index: 0;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: both;
  animation-play-state: paused;
}

.hero-slide-bg--bike-atv {
  background-position: center 42%;
  animation-name: hero-slide-3;
  animation-duration: 18s;
  transform-origin: center 42%;
}

.hero-slide-bg.is-active {
  opacity: 1;
  z-index: 1;
  animation-play-state: running;
}

.hero-slide-bg--ferrari {
  background-position: center 68%;
  animation-name: hero-slide-1;
  animation-duration: 20s;
  transform-origin: center 68%;
}

.hero-slide-bg:nth-child(2) {
  animation-name: hero-slide-2;
  animation-duration: 22s;
  transform-origin: center 65%;
}

.hero-slide-bg:nth-child(4) {
  animation-name: hero-slide-4;
  animation-duration: 23s;
  transform-origin: center 60%;
}

.hero-slide-bg:nth-child(5) {
  animation-name: hero-slide-5;
  animation-duration: 20s;
  transform-origin: center 64%;
}

.hero-slide-bg--installer {
  animation-name: hero-slide-6;
  animation-duration: 19s;
  transform-origin: center 58%;
}

@keyframes hero-slide-1 {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.1) translate3d(-1%, 0.6%, 0); }
}

@keyframes hero-slide-2 {
  0% { transform: scale(1.1) translate3d(0.5%, 0, 0); }
  100% { transform: scale(1.04) translate3d(-0.8%, 0.4%, 0); }
}

@keyframes hero-slide-3 {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.07) translate3d(0.5%, 0, 0); }
}

@keyframes hero-slide-4 {
  0% { transform: scale(1.05) translate3d(0, 0.3%, 0); }
  100% { transform: scale(1.11) translate3d(-1.2%, -0.4%, 0); }
}

@keyframes hero-slide-5 {
  0% { transform: scale(1.08) translate3d(-0.4%, 0, 0); }
  100% { transform: scale(1.04) translate3d(0.6%, 0.5%, 0); }
}

@keyframes hero-slide-6 {
  0% { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.1) translate3d(-0.6%, 0.3%, 0); }
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 16%,
      rgba(3, 5, 8, 0.14) 42%,
      rgba(3, 5, 8, 0.58) 72%,
      rgba(3, 5, 8, 0.94) 90%,
      var(--dark-bg, #030508) 100%
    ),
    rgba(3, 5, 8, 0.2);
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero-slide-bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(3, 5, 8, 0.12) 0%,
        transparent 28%,
        rgba(3, 5, 8, 0.08) 55%,
        rgba(3, 5, 8, 0.42) 78%,
        rgba(3, 5, 8, 0.88) 94%,
        var(--dark-bg, #030508) 100%
      ),
      rgba(3, 5, 8, 0.06);
  }
}

.hero-slider .container.hero-grid {
  position: relative;
  z-index: 2;
}

@media (min-width: 1025px) {
  .hero.hero-slider .container.hero-grid {
    padding-top: calc(var(--header-height, 72px) + 18px) !important;
    padding-bottom: 28px !important;
    align-items: start;
    /* Quote sits beside copy only  -  not stretched down into the stats row */
    grid-template-areas:
      "hero-content hero-quote"
      "hero-stats ." !important;
  }

  .hero.hero-slider .hero-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .hero.hero-slider .hero-quote-panel {
    grid-row: 1;
    align-self: end;
    /* Lift form so its bottom lines up with the 3 hero buttons (not the dots below) */
    margin-bottom: calc(14px + 6px);
  }

  .hero.hero-slider .hero-main .hero-slider-controls {
    margin-top: 14px;
  }
}

.hero-slider .page-pulse {
  z-index: 3;
}

.hero-slides-copy {
  display: grid;
  align-items: stretch;
  min-height: 360px;
}

.hero-slide-text {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s ease, visibility 0.85s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
  min-height: 360px;
  --hero-gap-xs: 6px;
  --hero-gap-sm: 10px;
  --hero-gap-md: 14px;
  --hero-gap-lg: 18px;
}

.hero-slide-text .hero-subtitle {
  min-height: calc(2 * 1.55em);
  margin: 0 0 var(--hero-gap-md, 14px);
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.75rem, 1.35vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 240, 248, 0.82);
  line-height: 1.55;
  max-width: 36rem;
}

.hero-slide-text .hero-subtitle.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-badge-bridge {
  position: relative;
  height: 32px;
  margin: var(--hero-gap-xs) 0 var(--hero-gap-sm);
  pointer-events: none;
}

.hero-badge-bridge .hero-badge {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translate3d(-12px, 0, 0);
  margin: 0;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid var(--badge-border, rgba(8, 146, 212, 0.45));
  background: var(--badge-bg, rgba(8, 146, 212, 0.12));
  color: var(--badge-color, var(--bright-cyan));
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  box-shadow: 0 0 18px var(--badge-glow, rgba(8, 146, 212, 0.2));
}

.hero-badge-bridge .hero-badge.is-revealed {
  opacity: 1;
  transform: translateY(-50%) translate3d(0, 0, 0);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-badge--blue {
  --badge-color: var(--bright-cyan, #00d4ff);
  --badge-bg: rgba(8, 146, 212, 0.14);
  --badge-border: rgba(77, 184, 224, 0.45);
  --badge-glow: rgba(77, 184, 224, 0.25);
}

.hero-slide-text .hero-slide-title,
.hero-slide-text h1.hero-slide-title {
  min-height: calc(2 * 1.08em);
  margin: 0 0 var(--hero-gap-md);
  line-height: 1.08;
}

.hero-slide-desc {
  min-height: calc(3 * 1.65em);
  max-width: 38rem;
  margin: 0 0 var(--hero-gap-lg);
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.hero-desc-line {
  display: block;
  line-height: 1.65;
  color: var(--text-muted);
  opacity: 0;
  transform: translate3d(-14px, 0, 0);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}

.hero-desc-line.is-revealed {
  animation: hero-desc-scan 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-desc-scan {
  0% {
    opacity: 0;
    transform: translate3d(-14px, 0, 0);
    filter: blur(4px);
  }
  60% {
    opacity: 0.85;
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.hero-type-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.05em;
  background: var(--bright-cyan);
  opacity: 0;
}

.hero-type-cursor.is-active {
  opacity: 1;
  animation: hero-type-blink 0.9s step-end infinite;
}

@keyframes hero-type-blink {
  50% { opacity: 0; }
}

.hero-slide-text.is-active .pill-row.is-revealed .hero-btn.is-revealed {
  animation: hero-btn-drop 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-slide-text.is-typed .hero-subtitle,
.hero-slide-text.is-typed .hero-desc-line.is-revealed,
.hero-slide-text.is-typed .pill-row.is-revealed .hero-btn.is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

.hero-slider .pill-row .hero-btn {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.98);
  filter: blur(2px);
}

@keyframes hero-btn-drop {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

/* ── Hero-style buttons  -  reusable outside slider ── */
.pill-row .btn.hero-btn {
  min-width: 0;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.15;
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: 0.08em;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  opacity: 1;
  transform: none;
  filter: none;
}

.pill-row .btn.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translate3d(-120%, 0, 0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.pill-row .btn.hero-btn::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.35),
    0 8px 28px rgba(8, 146, 212, 0.35),
    inset 0 0 12px rgba(0, 212, 255, 0.08);
}

.pill-row .btn-primary.hero-btn:hover {
  transform: translate3d(0, -2px, 0);
}

.pill-row .btn-primary.hero-btn:hover::after {
  opacity: 1;
}

.pill-row .btn-outline.hero-btn:hover {
  transform: translate3d(0, -2px, 0);
}

.pill-row .btn-outline.hero-btn:hover::after {
  opacity: 1;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.45),
    0 6px 20px rgba(8, 146, 212, 0.2),
    inset 0 0 10px rgba(0, 212, 255, 0.06);
}

.pill-row .btn-primary.hero-btn:hover::before {
  transform: translate3d(120%, 0, 0);
}

.pill-row .btn-primary.hero-btn:active {
  transform: translate3d(0, 0, 0) scale(0.98);
  transition-duration: 0.08s;
}

.pill-row .btn-outline.hero-btn:hover::before {
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 212, 255, 0.2) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translate3d(120%, 0, 0);
}

.pill-row .btn-outline.hero-btn:active {
  transform: translate3d(0, 0, 0) scale(0.98);
  transition-duration: 0.08s;
}

.hero-slider .pill-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  padding-top: 2px;
}

.hero-slider .pill-row.pill-row--triple .btn.hero-btn {
  min-width: 0;
  padding: 0 10px;
  font-size: clamp(10px, 0.95vw, 12px);
  height: 44px;
  min-height: 44px;
}

.hero-slider .pill-row .btn.hero-btn {
  min-width: 0;
}

.hero-slider .hero-main .hero-slider-controls {
  width: 100%;
  box-sizing: border-box;
}

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

/* Legacy stagger  -  disabled in favour of typewriter sequence */
.hero-slide-text.is-active.is-animating .hero-badge,
.hero-slide-text.is-active.is-animating .hero-subtitle,
.hero-slide-text.is-active.is-animating h1,
.hero-slide-text.is-active.is-animating h2.hero-slide-title,
.hero-slide-text.is-active.is-animating h1.hero-slide-title,
.hero-slide-text.is-active.is-animating > p,
.hero-slide-text.is-active.is-animating .pill-row .btn {
  animation: none !important;
}

@keyframes hero-copy-badge {
  from {
    opacity: 0;
    transform: translate3d(-14px, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-copy-subtitle {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes hero-copy-headline {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-copy-body {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-copy-cta {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-copy-rule {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.hero-slide-text h1,
.hero-slide-text h2.hero-slide-title {
  font-size: clamp(36px, 6.5vw, 64px);
  font-weight: 800;
  margin-bottom: var(--hero-gap-md, 14px);
  background: linear-gradient(180deg, #fff 0%, #c8d4e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-slide-bg--installer {
  background-color: #e8eaee;
  background-position: center 58%;
  background-size: cover;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: var(--hero-gap-lg, 18px);
  flex-wrap: wrap;
  min-height: 44px;
  width: 100%;
}

@media (min-width: 1025px) {
  .hero-slider-controls,
  .hero-slider .hero-main .hero-slider-controls {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}


.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 44px;
}

.hero-slider-dot {
  margin: 0;
  display: flex;
  align-items: center;
}

.hero-slider-dot button {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
  clip-path: none;
  flex-shrink: 0;
  box-sizing: border-box;
}

.hero-slider-dot button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  clip-path: polygon(3px 0, 100% 0, 100% 100%, 0 100%, 0 3px);
  opacity: 1;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition:
    width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    opacity 0.25s ease;
}

.hero-slider-dot button::after {
  content: none;
  display: none;
}

.hero-slider-dot button:hover,
.hero-slider-dot button:focus-visible {
  outline: none;
}

.hero-slider-dot button:hover::before,
.hero-slider-dot button:focus-visible::before {
  background: rgba(0, 212, 255, 0.5);
}

.hero-slider-dot.is-active button {
  background: transparent;
  box-shadow: none;
}

.hero-slider-dot.is-active button::before {
  width: 34px;
  opacity: 1;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, var(--brand-blue), var(--bright-cyan));
}

.hero-slider-progress {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 240, 248, 0.55);
  min-width: 2.5rem;
  font-variant-numeric: tabular-nums;
}

.hero-slider-pause {
  appearance: none;
  background: rgba(3, 5, 8, 0.55);
  border: 1px solid rgba(77, 184, 224, 0.28);
  color: rgba(232, 240, 248, 0.75);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.hero-slider-pause::before {
  content: none;
  display: none;
}

.hero-slider-pause:hover,
.hero-slider-pause:focus-visible {
  border-color: var(--bright-cyan);
  color: #fff;
  background: rgba(8, 146, 212, 0.15);
  outline: none;
}

.hero-slider-pause:active {
  background: rgba(8, 146, 212, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-text .hero-subtitle,
  .hero-slide-text .hero-slide-desc,
  .hero-slide-text .pill-row {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .hero-type-cursor {
    display: none;
  }

  .hero-slide-bg,
  .hero-slide-bg.is-active {
    animation: none !important;
    transform: none !important;
    animation-play-state: paused !important;
  }

  .hero-slide-text.is-active.is-animating .hero-badge,
  .hero-slide-text.is-active.is-animating .hero-subtitle,
  .hero-slide-text.is-active.is-animating h1,
  .hero-slide-text.is-active.is-animating h2.hero-slide-title,
.hero-slide-text.is-active.is-animating h1.hero-slide-title,
  .hero-slide-text.is-active.is-animating > p,
  .hero-slide-text.is-active.is-animating .pill-row .btn {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-slide-text.is-active h1::after,
  .hero-slide-text.is-active h2.hero-slide-title::after {
    display: none;
  }

  .hero-slider-dot button::after {
    animation: none !important;
    opacity: 0;
  }

  .hero-slider .pill-row .hero-btn::before {
    display: none;
  }

  .hero-slider-pause::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero.hero-slider {
    --hero-form-gap: 28px;
    --hero-photo-gap: 16px;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    display: flex;
    align-items: stretch;
  }

  .hero-slider-media,
  .hero-slider::before {
    top: 0;
    bottom: auto;
    height: var(--hero-photo-end, clamp(380px, 62vh, 560px));
  }

  .hero-slider::before {
    display: block;
    z-index: 1;
    /* Mobile: even lighter so heroes read clearly */
    background:
      linear-gradient(105deg, rgba(3, 5, 8, 0.42) 0%, rgba(3, 5, 8, 0.2) 50%, rgba(3, 5, 8, 0.08) 100%),
      linear-gradient(180deg, rgba(3, 5, 8, 0.12) 0%, transparent 28%, rgba(3, 5, 8, 0.08) 55%, rgba(3, 5, 8, 0.4) 82%, var(--dark-bg) 100%);
  }

  .hero-slider::after {
    content: '';
    display: block;
    position: absolute;
    top: var(--hero-photo-end, clamp(380px, 62vh, 560px));
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 0;
    background: var(--dark-bg) !important;
    pointer-events: none;
  }

  .hero-slider-media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.65) 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 48%, rgba(0, 0, 0, 0.65) 72%, transparent 100%);
  }

  .hero.hero-slider .container.hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    padding-top: calc(var(--header-height, 72px) + 14px) !important;
    padding-bottom: 0 !important;
    grid-template-areas: none !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    position: relative;
    z-index: 2;
  }

  .hero.hero-slider .hero-main {
    margin-top: 0 !important;
    padding: 0;
    background: transparent;
  }

  .hero.hero-slider .hero-quote-panel {
    position: relative;
    z-index: 2;
    margin-top: var(--hero-form-gap, 28px);
  }

  .hero.hero-slider .hero-stats {
    position: relative;
    z-index: 2;
  }

  .hero-slide-bg {
    background-size: cover;
    background-position: center 58%;
    transform: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-slide-bg:nth-child(1),
  .hero-slide-bg--ferrari { background-position: center 62%; }
  .hero-slide-bg:nth-child(2) { background-position: center 56%; }
  .hero-slide-bg:nth-child(3),
  .hero-slide-bg--bike-atv { background-position: center 42%; }
  .hero-slide-bg:nth-child(4) { background-position: center 54%; }
  .hero-slide-bg:nth-child(5) { background-position: center 58%; }
  .hero-slide-bg:nth-child(6),
  .hero-slide-bg--installer { background-position: center 55%; }

  .hero-slide-bg.is-active {
    transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-slides-copy {
    min-height: 460px;
    align-items: stretch;
  }

  .hero.hero-slider .hero-slide-text {
    min-height: 460px;
    height: 100%;
    align-self: stretch;
  }

  .hero.hero-slider .hero-slide-text h1,
  .hero.hero-slider .hero-slide-text h2.hero-slide-title {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.08;
    min-height: calc(2 * 1.08em);
    margin-bottom: 16px;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.72));
  }

  .hero.hero-slider .hero-slide-text > p,
  .hero.hero-slider .hero-subtitle {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
  }

  .hero.hero-slider .hero-subtitle,
  .hero.hero-slider .hero-desc-line,
  .hero.hero-slider .pill-row .hero-btn,
  .hero.hero-slider .hero-badge {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  .hero.hero-slider .pill-row .hero-btn {
    will-change: auto;
  }

  /* Body copy: one justified paragraph on mobile (not stacked lines) */
  .hero-slide-desc {
    display: block;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    min-height: calc(4.5 * 1.65em);
  }

  .hero-desc-line {
    display: inline;
    transform: none !important;
    filter: none !important;
  }

  .hero-desc-line + .hero-desc-line::before {
    content: ' ';
  }

  .hero-desc-line.is-revealed {
    animation: none;
  }

  @keyframes hero-desc-fade-mobile {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .hero.hero-slider .hero-badge {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  }

  .hero.hero-slider .pill-row,
  .hero.hero-slider .hero-slider-controls {
    position: relative;
    z-index: 2;
  }

  .hero-slider-controls {
    margin-top: 20px;
  }

  .hero-type-cursor {
    display: none;
  }
}

@media (max-width: 749px) {
  .hero-slide-bg:nth-child(1),
  .hero-slide-bg--ferrari { background-position: center 60%; }
  .hero-slide-bg:nth-child(2) { background-position: center 54%; }
  .hero-slide-bg:nth-child(6),
  .hero-slide-bg--installer { background-position: center 52%; }
}

@media (max-width: 1024px) and (orientation: landscape) {
  .hero.hero-slider {
    min-height: clamp(380px, 85vh, 520px) !important;
  }

  .hero-slide-bg {
    background-position: center center;
  }
}

.hero-vehicle-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px;
  vertical-align: middle;
}

.hero-vehicle-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.92;
}

.hero-kess3-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 4px;
  border: none;
  background: transparent;
}
