.hero-bg {
  background-image: linear-gradient(90deg, rgba(5, 5, 5, .98) 0%, rgba(5, 5, 5, .92) 31%, rgba(5, 5, 5, .48) 66%, rgba(5, 5, 5, .62) 100%), url('hero-workshop.webp');
}

.kit-comparison {
  margin-top: 70px;
}

/* Предсобранный KIT-корпус в карточке выбранной модели. */
.kit-assembly-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #151515;
}

.kit-number {
  z-index: 2;
}

.comparison-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 40px;
  align-items: end;
  margin-bottom: 26px;
}

.comparison-heading h3 {
  margin: 0;
  max-width: 680px;
  font-family: 'Russo One', Manrope, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.comparison-heading p {
  margin: 0;
  color: #66635e;
  font-size: .85rem;
}

.comparison-scroll {
  overflow-x: auto;
  border-top: 2px solid #171717;
  border-bottom: 1px solid #aaa8a2;
  scrollbar-color: var(--orange) #d7d4ce;
}

.comparison-scroll:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.kit-comparison table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  text-align: left;
}

.kit-comparison th,
.kit-comparison td {
  padding: 18px 16px;
  border-bottom: 1px solid #cbc8c1;
  font-size: .78rem;
  vertical-align: middle;
}

.kit-comparison thead th {
  color: #75726c;
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.kit-comparison tbody th {
  font-family: 'Russo One', Manrope, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

.kit-comparison tbody th span {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 7px;
  background: var(--orange);
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.kit-comparison tbody strong {
  white-space: nowrap;
  font-family: 'Russo One', Manrope, sans-serif;
  font-weight: 400;
}

.kit-comparison .text-link {
  margin-top: 22px;
}

.delivery-cities {
  padding-left: 16px;
  border-left: 2px solid var(--orange);
  font-size: .75rem;
  line-height: 1.65;
}

.delivery-cities strong {
  color: #d3d3d3;
}

/* Интерактивная GLB-модель в первом экране. */
.model-stage {
  touch-action: pan-y;
}

.model-stage model-viewer {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  filter: drop-shadow(0 35px 35px rgba(0, 0, 0, .7));
  touch-action: pan-y;
  --poster-color: transparent;
  --progress-bar-color: var(--orange);
  --progress-bar-height: 3px;
}

.model-badge,
.model-label,
.model-base {
  pointer-events: none;
}

.model-error {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 92px;
  width: min(360px, 86%);
  margin: 0;
  padding: 12px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 90, 0, .45);
  background: rgba(10, 10, 10, .9);
  color: #d3d3d3;
  font-size: .72rem;
  line-height: 1.45;
  text-align: center;
}

.model-error[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .hero-bg {
    background-image: linear-gradient(180deg, rgba(5, 5, 5, .86) 0%, rgba(5, 5, 5, .76) 45%, rgba(5, 5, 5, .95) 100%), url('hero-workshop.webp');
  }

  .kit-comparison {
    margin-top: 52px;
  }

  .kit-assembly-image {
    object-position: center;
  }

  .comparison-heading {
    display: block;
  }

  .comparison-heading p {
    margin-top: 16px;
  }

  .kit-comparison th,
  .kit-comparison td {
    padding: 15px 12px;
  }
}
