/* =====================================================================
   3M Car Care Studio Dadar — services.css
   Styles specific to individual service detail pages: hero badge,
   benefit cards, related-services carousel.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. SERVICE HERO
   --------------------------------------------------------------------- */
.service-hero {
  position: relative;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  padding-block: var(--space-2xl);
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 10, 12, 0.92) 0%, rgba(20, 20, 22, 0.65) 65%, rgba(20, 20, 22, 0.35) 100%);
}

.service-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.service-hero__badge {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2xs);
  background: var(--color-white);
  color: var(--color-charcoal);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.service-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.service-hero__subhead {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

/* ---------------------------------------------------------------------
   2. WHAT-IS-IT / EXPLAINER
   --------------------------------------------------------------------- */
.explainer__eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: var(--space-2xs);
  display: inline-block;
}

/* ---------------------------------------------------------------------
   3. RELATED SERVICES CAROUSEL
   --------------------------------------------------------------------- */
.related-carousel .swiper-slide {
  height: auto;
}

/* Linear easing so back-to-back autoplay transitions read as one continuous
   motion (no ease-in/out stutter at each slide boundary), matching the
   homepage reviews marquee's constant-speed scroll. */
.related-carousel .swiper-wrapper {
  transition-timing-function: linear !important;
}

.related-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-grey-100);
}

.related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  flex: 1;
}

.related-card__body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex: 1;
}

.related-card__link {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.88rem;
}

/* ---------------------------------------------------------------------
   5. WHAT'S INCLUDED
   --------------------------------------------------------------------- */
.included-panel {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
