/* exhaust-system-dpf-service.html — glass morphism layer for EXISTING body markup.
   Rule: HTML structure stays intact; glass is applied via CSS to existing classes.
   Scope: html[data-exhaust-system-dpf-service-page] body sections below banner.
   Source: light-duty-towing-page-body-glass.css (affidavit audit §8–§9) adapted
   to truck-repair legacy class names: .service__items, .service__thumb,
   .service__content, .service__helping, .details__thumb, .benefit__thumb, .points li.
   Version bump: v=2 (new file)
*/

/* ── Section spacing ── */
html[data-exhaust-system-dpf-service-page] .details__section,
html[data-exhaust-system-dpf-service-page] .service__section {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(56px, 7vw, 90px);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE GRID CARDS (.service__items) — glass tray + pills
   ═══════════════════════════════════════════════════════════════ */

/* Tray: outer glass shell on existing card */
html[data-exhaust-system-dpf-service-page] .service__items {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.14), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 255, 0.72) 52%, rgba(245, 240, 252, 0.62)),
    rgba(255, 255, 255, 0.44);
  box-shadow:
    0 34px 70px rgba(72, 27, 130, 0.2),
    0 14px 30px rgba(72, 27, 130, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(72, 27, 130, 0.1);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

html[data-exhaust-system-dpf-service-page] .service__items::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.16));
  pointer-events: none;
}

html[data-exhaust-system-dpf-service-page] .service__items > * {
  position: relative;
  z-index: 2;
}

html[data-exhaust-system-dpf-service-page] .service__items:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 44px 86px rgba(72, 27, 130, 0.24),
    0 18px 34px rgba(72, 27, 130, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(72, 27, 130, 0.12);
}

/* Media slab: floating image well */
html[data-exhaust-system-dpf-service-page] .service__thumb {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: 20px;
  margin: 10px;
  padding: 10px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  background:
    radial-gradient(circle at top right, rgba(250, 248, 255, 0.9), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8f6fc 100%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -2px 0 rgba(46, 12, 94, 0.07) inset,
    0 28px 52px rgba(46, 12, 94, 0.26),
    0 12px 24px rgba(46, 12, 94, 0.16),
    0 4px 8px rgba(46, 12, 94, 0.1) !important;
  transform: translateY(-3px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

html[data-exhaust-system-dpf-service-page] .service__items:hover .service__thumb {
  transform: translateY(-8px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 38px 66px rgba(46, 12, 94, 0.32),
    0 16px 32px rgba(46, 12, 94, 0.2),
    0 6px 12px rgba(46, 12, 94, 0.12) !important;
}

html[data-exhaust-system-dpf-service-page] .service__thumb img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px !important;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
}

html[data-exhaust-system-dpf-service-page] .service__items:hover .service__thumb img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.03);
}

/* Caption slab: inner raised pill */
html[data-exhaust-system-dpf-service-page] .service__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.88) 0%, rgba(250, 248, 255, 0.8) 52%, rgba(245, 240, 252, 0.74) 100%),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 24px 48px rgba(72, 27, 130, 0.16),
    0 12px 24px rgba(72, 27, 130, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(72, 27, 130, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
}

html[data-exhaust-system-dpf-service-page] .service__content::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 54%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
  pointer-events: none;
}

html[data-exhaust-system-dpf-service-page] .service__items:hover .service__content {
  transform: translateY(-5px);
  filter: brightness(1.02);
}

/* Typography inside service cards */
html[data-exhaust-system-dpf-service-page] .service__content h4 {
  margin: 0 !important;
  padding: 12px 16px !important;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(72, 27, 130, 0.08);
  backdrop-filter: blur(18px) saturate(142%);
  -webkit-backdrop-filter: blur(18px) saturate(142%);
  font-family: "DM Sans", sans-serif !important;
  font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #2e0c5e !important;
}

html[data-exhaust-system-dpf-service-page] .service__content h4 a {
  color: #2e0c5e !important;
  text-decoration: none;
}

html[data-exhaust-system-dpf-service-page] .service__content p {
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(72, 27, 130, 0.08);
  font-family: "DM Sans", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #444444 !important;
  line-height: 1.55 !important;
}

/* ═══════════════════════════════════════════════════════════════
   DETAILS / CENTER COLUMN IMAGES — glass frame
   ═══════════════════════════════════════════════════════════════ */

html[data-exhaust-system-dpf-service-page] .details__thumb,
html[data-exhaust-system-dpf-service-page] .benefit__thumb {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 20px;
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 255, 0.86)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 34px 64px rgba(72, 27, 130, 0.18),
    0 0 0 1px rgba(245, 240, 252, 0.86);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

html[data-exhaust-system-dpf-service-page] .details__thumb:hover,
html[data-exhaust-system-dpf-service-page] .benefit__thumb:hover {
  transform: translateY(-6px);
}

html[data-exhaust-system-dpf-service-page] .details__thumb img,
html[data-exhaust-system-dpf-service-page] .benefit__thumb img {
  border-radius: 12px !important;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════
   SUPPORT WIDGET (.service__helping) — glass card
   ═══════════════════════════════════════════════════════════════ */

html[data-exhaust-system-dpf-service-page] .service__helping {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at top right, rgba(72, 27, 130, 0.14), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 255, 0.72) 52%, rgba(245, 240, 252, 0.62)),
    rgba(255, 255, 255, 0.44);
  box-shadow:
    0 34px 70px rgba(72, 27, 130, 0.2),
    0 14px 30px rgba(72, 27, 130, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(72, 27, 130, 0.1);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

html[data-exhaust-system-dpf-service-page] .service__helping:hover {
  transform: translateY(-6px);
}

html[data-exhaust-system-dpf-service-page] .service__helping::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.16));
  pointer-events: none;
}

html[data-exhaust-system-dpf-service-page] .service__helping .thumb {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 18px;
  margin: 10px;
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, #ffffff 0%, #f8f6fc 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 -2px 0 rgba(46, 12, 94, 0.07) inset,
    0 28px 52px rgba(46, 12, 94, 0.26),
    0 12px 24px rgba(46, 12, 94, 0.16);
}

html[data-exhaust-system-dpf-service-page] .service__helping .thumb img {
  border-radius: 10px !important;
}

html[data-exhaust-system-dpf-service-page] .service__helping .helping__content {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
}

html[data-exhaust-system-dpf-service-page] .service__helping .helping__content h4 {
  margin: 0 0 10px !important;
  padding: 12px 16px !important;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  font-weight: 700 !important;
  color: #2e0c5e !important;
}

html[data-exhaust-system-dpf-service-page] .service__helping .helping__content p,
html[data-exhaust-system-dpf-service-page] .service__helping .helping__content li {
  margin: 0 0 8px !important;
  padding: 10px 14px !important;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  font-size: 0.88rem !important;
  color: #444444 !important;
}


/* ═══════════════════════════════════════════════════════════════
   CHECKLIST / POINTS (.points li) — per-li glass pills
   ═══════════════════════════════════════════════════════════════ */

html[data-exhaust-system-dpf-service-page] .points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  padding: 12px 16px !important;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  font-size: 0.88rem !important;
  color: #444444 !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

html[data-exhaust-system-dpf-service-page] .points li:hover {
  transform: translateY(-3px);
}

html[data-exhaust-system-dpf-service-page] .points li .fa-check {
  color: #2e0c5e;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   DETAILS CONTENT HEADINGS — pill style
   ═══════════════════════════════════════════════════════════════ */

html[data-exhaust-system-dpf-service-page] .details__content h3,
html[data-exhaust-system-dpf-service-page] .benefit h3.title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px !important;
  padding: 12px 16px !important;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  font-weight: 700 !important;
  color: #2e0c5e !important;
  text-align: center !important;
}

html[data-exhaust-system-dpf-service-page] .details__content p,
html[data-exhaust-system-dpf-service-page] .pra__text {
  margin: 0 0 14px !important;
  padding: 14px 16px !important;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 240, 252, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 36px rgba(72, 27, 130, 0.12),
    0 8px 18px rgba(72, 27, 130, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  font-size: 0.95rem !important;
  color: #444444 !important;
  line-height: 1.6 !important;
}

/* ═══════════════════════════════════════════════════════════════
   3D TRIPLE-STACK DEPTH — rear backplate on service__items
   ═══════════════════════════════════════════════════════════════ */

html[data-exhaust-system-dpf-service-page] .service__items,
html[data-exhaust-system-dpf-service-page] .service__helping {
  overflow: visible;
}

html[data-exhaust-system-dpf-service-page] .service__items::after,
html[data-exhaust-system-dpf-service-page] .service__helping::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: calc(100% - 12px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(46, 12, 94, 0.06), rgba(46, 12, 94, 0.14));
  box-shadow: 0 30px 60px rgba(46, 12, 94, 0.22);
  transform: translateY(12px) scale(0.985);
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  html[data-exhaust-system-dpf-service-page] .service__items {
    margin-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-exhaust-system-dpf-service-page] .service__items,
  html[data-exhaust-system-dpf-service-page] .service__helping,
  html[data-exhaust-system-dpf-service-page] .details__thumb,
  html[data-exhaust-system-dpf-service-page] .benefit__thumb {
    transition: none !important;
  }

  html[data-exhaust-system-dpf-service-page] .service__items:hover,
  html[data-exhaust-system-dpf-service-page] .service__helping:hover {
    transform: none !important;
  }
}


