/* Phase 4: premium hero slider, real brand assets, and card polish. */
.mtb-hero-slider {
  position: relative;
  min-height: clamp(620px, 54vw, 800px);
  overflow: hidden;
  background: var(--mtb-navy-950);
}

.mtb-hero-slider__track {
  position: absolute;
  inset: 0;
}

.mtb-hero--slide {
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 700ms ease, transform 850ms ease;
}

.mtb-hero--slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.mtb-hero--slide .mtb-hero__inner {
  min-height: clamp(620px, 54vw, 800px);
}

.mtb-hero--slide .mtb-hero__content {
  width: min(690px, 54%);
}

.mtb-hero--slide .mtb-display {
  max-width: 780px;
  text-wrap: balance;
}

.mtb-hero--factory {
  background-position: center 48%;
}

.mtb-hero--manufacturing {
  background-position: center 52%;
}

.mtb-hero--products {
  background-position: center 50%;
}

.mtb-hero--products .mtb-hero__veil {
  background: linear-gradient(90deg, rgba(5,22,35,.94) 0%, rgba(5,22,35,.78) 34%, rgba(5,22,35,.28) 62%, rgba(5,22,35,.16) 100%);
}

.mtb-facade-sign {
  position: absolute;
  z-index: 3;
  top: 23%;
  left: 61%;
  width: clamp(205px, 18vw, 315px);
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 3px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 34px rgba(4,18,29,.18);
  opacity: .96;
  transform: perspective(650px) rotateY(-5deg) rotateZ(-.8deg);
  transform-origin: center;
}

.mtb-facade-sign img {
  display: block;
  width: 100%;
  height: auto;
}

.mtb-hero-controls {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mtb-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mtb-hero-dot,
.mtb-hero-arrow {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.75);
  cursor: pointer;
}

.mtb-hero-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  font-size: 16px;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.mtb-hero-arrow:hover {
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.mtb-hero-dot {
  position: relative;
  min-width: 38px;
  padding: 7px 5px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.mtb-hero-dot::after {
  position: absolute;
  right: 5px;
  bottom: 0;
  left: 5px;
  height: 2px;
  content: "";
  background: rgba(255,255,255,.3);
  transform: scaleX(.45);
  transform-origin: left;
  transition: background-color 180ms ease, transform 180ms ease;
}

.mtb-hero-dot.is-active {
  color: #fff;
}

.mtb-hero-dot.is-active::after {
  background: var(--mtb-red);
  transform: scaleX(1);
}

.mtb-hero__meta {
  display: none;
}

.mtb-brand-row {
  gap: 0;
}

.mtb-brand-mark {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
}

.mtb-brand-mark img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.mtb-brand-mark--burn img,
.mtb-brand-mark--teem img,
.mtb-brand-mark--marvel img {
  max-height: 48px;
}

.mtb-product-card {
  min-height: 460px;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(7,27,42,.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mtb-product-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4,18,30,.02) 44%, rgba(4,18,30,.78) 100%);
}

.mtb-product-card:hover {
  box-shadow: 0 18px 36px rgba(7,27,42,.13);
  transform: translateY(-4px);
}

.mtb-product-card span,
.mtb-product-card b {
  position: relative;
  z-index: 2;
}

.mtb-product-card b {
  font-size: 28px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.mtb-product-card:hover b {
  transform: translateX(5px);
}

.mtb-manufacturing__visual,
.mtb-sustainability__visual {
  background-position: center;
}

@media (max-width: 1180px) {
  .mtb-facade-sign {
    left: auto;
    right: 7%;
    width: 220px;
  }

  .mtb-brand-mark {
    min-height: 62px;
    padding-inline: 14px;
  }

  .mtb-brand-mark img {
    max-height: 46px;
  }
}

@media (max-width: 900px) {
  .mtb-hero-slider,
  .mtb-hero--slide .mtb-hero__inner {
    min-height: 700px;
  }

  .mtb-hero--slide .mtb-hero__content {
    width: min(700px, 86%);
  }

  .mtb-facade-sign {
    display: none;
  }

  .mtb-brand-mark {
    min-height: 60px;
  }

  .mtb-brand-mark img {
    max-height: 42px;
  }
}

@media (max-width: 767px) {
  .mtb-hero-slider,
  .mtb-hero--slide .mtb-hero__inner {
    min-height: 720px;
  }

  .mtb-hero-controls {
    bottom: 18px;
  }

  .mtb-hero-arrow {
    width: 34px;
    height: 34px;
  }

  .mtb-hero-dot {
    min-width: 30px;
    padding-inline: 2px;
  }

  .mtb-brand-mark {
    min-height: 56px;
    padding: 6px 12px;
  }

  .mtb-brand-mark img {
    max-height: 38px;
  }

  .mtb-product-card {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mtb-hero--slide,
  .mtb-product-card,
  .mtb-product-card b {
    transition: none;
  }
}
