/* Homepage warranty feature: real workshop image with a focused CTA. */
.services .warranty-promo {
  isolation: isolate;
  min-height: clamp(320px, 34vw, 410px);
  padding: clamp(2.25rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 5rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  background-image:
    radial-gradient(circle at 50% 44%, rgba(23, 19, 15, .32) 0, rgba(23, 19, 15, .72) 58%, rgba(15, 13, 11, .88) 100%),
    linear-gradient(rgba(23, 19, 15, .4), rgba(23, 19, 15, .72)),
    url('/images/warranty/warranty-shop-floor.jpg.webp');
  background-position: center;
  background-size: cover;
  border-color: rgba(255, 165, 0, .38);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(30, 26, 23, .2);
}

.services .warranty-promo::before {
  inset: auto 0 0;
  width: auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary) 25%, var(--color-primary) 75%, transparent);
}

.services .warranty-promo-content {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: .85rem;
  max-width: 760px;
}

.services .warranty-promo-badge {
  margin-inline: auto;
  color: #f5a000;
  background: rgba(24, 20, 17, .7);
  border-color: rgba(245, 160, 0, .55);
  padding: .45rem .9rem .45rem .7rem;
  backdrop-filter: blur(3px);
}

.services .warranty-promo h3 {
  max-width: 680px;
  color: #faf7f2;
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  line-height: 1.08;
  text-wrap: balance;
}

.services .warranty-promo p {
  max-width: 720px;
  color: rgba(250, 247, 242, .86);
  font-size: clamp(.9rem, 1.3vw, 1rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.services .warranty-promo-cta {
  position: relative;
  z-index: 1;
  min-width: 150px;
  margin: .1rem auto 0;
}

@media (max-width: 599px) {
  .services .warranty-promo {
    min-height: 430px;
    background-position: 58% center;
  }

  .services .warranty-promo h3 {
    font-size: clamp(1.65rem, 8vw, 2.05rem);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .services .warranty-promo-badge {
    backdrop-filter: none;
    background: #1e1a17;
  }
}
