/* =========================================================
   SCAS SERVICES PAGE — PREMIUM CORPORATE VERSION
   Clean + Smooth Before & After Slideshow
   Smaller Premium Wear Parts Section Included
========================================================= */

.services-hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #070A10;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services-hero-bg img,
.services-hero-bg video {
  width: 100%;
  height: 100%;
  min-height: 92vh;
  object-fit: cover;
  display: block;
  filter: grayscale(.18) saturate(.78) contrast(1.1) brightness(.64);
  transform: scale(1.03);
}

.services-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,14,.97), rgba(5,8,14,.84), rgba(5,8,14,.58)),
    linear-gradient(180deg, rgba(5,8,14,.18), rgba(5,8,14,.95));
}

.services-line-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 78%);
  opacity: .26;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 90px;
}

.corporate-label {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(255,255,255,.065);
  border-left: 3px solid var(--accent);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 900;
  backdrop-filter: blur(14px);
  margin-bottom: 26px;
}

.services-hero h1 {
  margin: 0;
  max-width: 1080px;
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: .98;
  letter-spacing: -2.9px;
  font-weight: 900;
  text-shadow: 0 18px 44px rgba(0,0,0,.4);
  text-wrap: balance;
}

.services-hero p {
  max-width: 840px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.82;
  color: rgba(255,255,255,.76);
}

.services-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.services-hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin-top: 42px;
}

.services-hero-strip article {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}

.services-hero-strip strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.services-hero-strip span {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================
   INTRO
========================= */

.service-intro {
  padding: 105px 0 80px;
  background:
    linear-gradient(180deg, #0E131B, #0A0E16);
  position: relative;
  overflow: hidden;
}

.service-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: .24;
  pointer-events: none;
}

.service-intro-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.service-intro h2,
.premium-heading h2,
.workshop-copy h2,
.process-intro h2,
.before-after-header h2,
.insight-card h2,
.sectors-panel h2,
.services-cta-card h2,
.wear-parts-copy h2 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.07;
  letter-spacing: -1.4px;
  font-weight: 900;
  text-wrap: balance;
}

.service-intro p,
.workshop-copy p,
.process-intro p,
.before-after-header p,
.insight-card p,
.sectors-panel p,
.services-cta-card p,
.wear-parts-copy p {
  color: rgba(255,255,255,.68);
  font-size: 16px;
  line-height: 1.84;
  max-width: 860px;
}

/* =========================
   ENGINEERING SERVICE PORTFOLIO
========================= */

.premium-services {
  padding: 95px 0 115px;
  background: #0A0E16;
  position: relative;
}

.premium-heading {
  margin-bottom: 42px;
}

.premium-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.premium-service-card {
  position: relative;
  min-height: 520px;
  padding: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.068), rgba(255,255,255,.026));
  border: 1px solid rgba(255,255,255,.095);
  box-shadow: 0 22px 58px rgba(0,0,0,.26);
  overflow: hidden;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease,
    background 300ms ease;
}

.premium-service-card::before,
.premium-service-card::after {
  display: none;
}

.premium-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(42,107,255,.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.082), rgba(255,255,255,.03));
  box-shadow:
    0 28px 62px rgba(0,0,0,.31),
    0 0 16px rgba(42,107,255,.08);
}

.premium-service-card:nth-child(1),
.premium-service-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.072), rgba(255,255,255,.027));
}

.premium-service-card:nth-child(2),
.premium-service-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(42,107,255,.075), rgba(255,255,255,.025));
}

.service-card-image {
  position: relative;
  z-index: 1;
  height: 250px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.1) contrast(1.04) brightness(.9);
  transition: transform 360ms ease, filter 360ms ease;
}

.service-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,14,.05), rgba(5,8,14,.74));
}

.premium-service-card:hover .service-card-image img {
  transform: scale(1.035);
  filter: grayscale(.05) contrast(1.06) brightness(.95);
}

.service-card-image span {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(42,107,255,.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(0,0,0,.24);
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.service-card-content h3 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -.4px;
}

.service-card-content p {
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.78;
  font-size: 15px;
}

.service-card-content ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.service-card-content li {
  display: flex;
  align-items: flex-start;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

.service-card-content li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin: 8px 10px 0 0;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================
   WEAR PARTS SUPPLY
   Smaller Premium Animated Section
========================= */

.wear-parts-section {
  position: relative;
  padding: 78px 0 88px;
  background:
    radial-gradient(circle at 82% 4%, rgba(42,107,255,.16), transparent 30%),
    radial-gradient(circle at 10% 88%, rgba(255,255,255,.035), transparent 26%),
    linear-gradient(180deg, #0A0E16, #06090F);
  border-top: 1px solid rgba(255,255,255,.055);
  border-bottom: 1px solid rgba(255,255,255,.055);
  overflow: hidden;
}

.wear-parts-section::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 105px 105px;
  opacity: .22;
  pointer-events: none;
  animation: wearGridDrift 18s linear infinite;
}

.wear-parts-section::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -210px;
  width: 620px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(42,107,255,.09), transparent 68%);
  pointer-events: none;
  animation: wearGlowPulse 7s ease-in-out infinite;
}

.wear-parts-animated-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wear-parts-animated-bg span {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,107,255,.12), transparent 68%);
  filter: blur(2px);
  opacity: .55;
  animation: wearFloat 12s ease-in-out infinite;
}

.wear-parts-animated-bg span:nth-child(1) {
  left: 8%;
  top: 18%;
}

.wear-parts-animated-bg span:nth-child(2) {
  right: 10%;
  top: 42%;
  animation-delay: -4s;
}

.wear-parts-animated-bg span:nth-child(3) {
  left: 46%;
  bottom: -60px;
  animation-delay: -8s;
}

.wear-parts-panel {
  position: relative;
  z-index: 2;
  padding: 30px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(42,107,255,.13), rgba(255,255,255,.04) 44%, rgba(255,255,255,.022)),
    linear-gradient(180deg, rgba(255,255,255,.058), rgba(255,255,255,.022));
  border: 1px solid rgba(255,255,255,.105);
  box-shadow:
    0 28px 74px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.07);
  overflow: hidden;
}

.wear-parts-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.035);
}

.wear-parts-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.12),
      transparent 34%,
      transparent 72%,
      rgba(42,107,255,.11)
    );
  opacity: .22;
}

.wear-parts-top,
.wear-parts-copy,
.wear-parts-showcase,
.wear-parts-grid,
.wear-parts-note {
  position: relative;
  z-index: 2;
}

.wear-parts-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.wear-parts-copy {
  max-width: 840px;
}

.wear-parts-copy h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(30px, 3.35vw, 48px);
  line-height: 1.04;
  letter-spacing: -1.35px;
  font-weight: 950;
  text-wrap: balance;
}

.wear-parts-copy p {
  margin: 15px 0 0;
  max-width: 760px;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.78;
}

.wear-parts-premium-badge {
  flex: 0 0 220px;
  padding: 17px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(5,8,14,.72), rgba(5,8,14,.42));
  border: 1px solid rgba(42,107,255,.26);
  box-shadow:
    0 18px 44px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.055);
}

.wear-parts-premium-badge span {
  display: block;
  color: var(--accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-weight: 950;
  margin-bottom: 9px;
}

.wear-parts-premium-badge strong {
  display: block;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.3px;
}

.wear-parts-showcase {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 20px;
  align-items: stretch;
}

.wear-parts-highlight {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 24% 0%, rgba(42,107,255,.24), transparent 48%),
    linear-gradient(180deg, rgba(5,8,14,.72), rgba(5,8,14,.44));
  border: 1px solid rgba(42,107,255,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 20px 48px rgba(0,0,0,.24);
  overflow: hidden;
}

.wear-parts-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.075), transparent 42%),
    radial-gradient(circle at 80% 78%, rgba(42,107,255,.12), transparent 36%);
  pointer-events: none;
}

.highlight-number {
  position: absolute;
  right: -7px;
  bottom: -18px;
  color: rgba(255,255,255,.034);
  font-size: 78px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -5px;
}

.wear-parts-highlight > span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(42,107,255,.16);
  border: 1px solid rgba(42,107,255,.3);
  color: rgba(255,255,255,.88);
  font-size: 9px;
  letter-spacing: 1.55px;
  text-transform: uppercase;
  font-weight: 950;
  margin-bottom: 18px;
}

.wear-parts-highlight h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.8px;
  max-width: 450px;
}

.wear-parts-highlight p {
  position: relative;
  z-index: 2;
  margin: 15px 0 0;
  color: rgba(255,255,255,.66);
  line-height: 1.72;
  font-size: 13.5px;
  max-width: 460px;
}

.highlight-points {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.highlight-points div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 11px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.042);
  border: 1px solid rgba(255,255,255,.07);
}

.highlight-points strong {
  width: 40px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(42,107,255,.17);
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
}

.highlight-points small {
  color: rgba(255,255,255,.76);
  font-size: 12.5px;
  font-weight: 800;
}

.wear-parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.wear-part-card {
  position: relative;
  min-height: 355px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.078), rgba(255,255,255,.027));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow:
    0 18px 46px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.052);
  overflow: hidden;
  transition:
    transform 340ms cubic-bezier(.22, 1, .36, 1),
    border-color 340ms ease,
    box-shadow 340ms cubic-bezier(.22, 1, .36, 1),
    background 340ms ease;
}

.wear-part-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--accent);
  opacity: .95;
  z-index: 4;
}

.wear-part-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(42,107,255,.10);
  pointer-events: none;
}

.wear-part-card:hover {
  transform: translateY(-7px);
  border-color: rgba(42,107,255,.42);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.032));
  box-shadow:
    0 28px 64px rgba(0,0,0,.34),
    0 0 24px rgba(42,107,255,.12);
}

.wear-part-image {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #05070B;
}

.wear-part-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.06) brightness(.88) saturate(.9);
  transition:
    transform 520ms cubic-bezier(.22, 1, .36, 1),
    filter 420ms ease;
}

.wear-part-card:hover .wear-part-image img {
  transform: scale(1.065);
  filter: contrast(1.1) brightness(.96) saturate(1.02);
}

.wear-part-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,14,.02), rgba(5,8,14,.72)),
    linear-gradient(90deg, rgba(5,8,14,.34), transparent 58%);
}

.wear-part-image span {
  position: absolute;
  left: 15px;
  top: 15px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(42,107,255,.94);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 13px;
  box-shadow:
    0 12px 26px rgba(0,0,0,.27),
    0 0 18px rgba(42,107,255,.2);
}

.wear-part-content {
  position: relative;
  z-index: 2;
  padding: 19px;
}

.wear-part-content small {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.45px;
  font-size: 9px;
  font-weight: 950;
  margin-bottom: 10px;
}

.wear-part-content h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.13;
  letter-spacing: -.4px;
}

.wear-part-content p {
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.66;
}

.wear-parts-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(5,8,14,.66), rgba(5,8,14,.36));
  border: 1px solid rgba(255,255,255,.085);
  display: grid;
  gap: 7px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.wear-parts-note strong {
  color: var(--accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.75px;
  font-weight: 950;
}

.wear-parts-note span {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

/* =========================
   WORKSHOP
========================= */

.workshop-services {
  padding: 105px 0;
  background:
    linear-gradient(180deg, #080C13, #05070B);
  border-top: 1px solid rgba(255,255,255,.055);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
}

.workshop-panel {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 38px;
  align-items: stretch;
  padding: 38px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
  overflow: hidden;
}

.workshop-panel::after,
.insight-card::after,
.sectors-panel::after,
.services-cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.12),
      transparent 32%,
      transparent 70%,
      rgba(42,107,255,.1)
    );
  opacity: .2;
}

.workshop-copy,
.workshop-grid {
  position: relative;
  z-index: 2;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.workshop-grid article {
  min-height: 230px;
  padding: 26px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease,
    background 300ms ease;
}

.workshop-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(42,107,255,.34);
  box-shadow:
    0 22px 48px rgba(0,0,0,.25),
    0 0 16px rgba(42,107,255,.08);
}

.workshop-grid span {
  color: var(--accent);
  font-weight: 950;
}

.workshop-grid h3 {
  margin: 18px 0 12px;
  font-size: 23px;
}

.workshop-grid p {
  margin: 0;
  color: rgba(255,255,255,.66);
  line-height: 1.72;
}

/* =========================
   PROCESS
========================= */

.service-process {
  padding: 110px 0;
  background: #0E131B;
  position: relative;
}

.process-intro {
  max-width: 940px;
  margin-bottom: 42px;
}

.process-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.process-chain article {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.024));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease,
    background 300ms ease;
}

.process-chain article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  background: var(--accent);
}

.process-chain article:hover {
  transform: translateY(-6px);
  border-color: rgba(42,107,255,.34);
  box-shadow:
    0 26px 58px rgba(0,0,0,.28),
    0 0 18px rgba(42,107,255,.09);
}

.process-chain span {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent);
  font-weight: 950;
}

.process-chain h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.process-chain p {
  margin: 0;
  color: rgba(255,255,255,.66);
  line-height: 1.72;
}

/* =========================
   BEFORE & AFTER SLIDESHOW
========================= */

.before-after-section {
  position: relative;
  padding: 105px 0 115px;
  background:
    radial-gradient(circle at 20% 0%, rgba(42,107,255,.10), transparent 28%),
    linear-gradient(180deg, #0A0E16, #070A10);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.055);
}

.before-after-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: .18;
  pointer-events: none;
}

.before-after-header {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin-bottom: 42px;
}

.before-after-header h2 {
  max-width: 920px;
}

.before-after-header p {
  max-width: 780px;
  margin: 16px 0 0;
}

.before-after-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.ba-slideshow-card {
  position: relative;
  min-height: 600px;
  padding: 18px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 55px rgba(0,0,0,.28);
  transition:
    transform 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    background 280ms ease;
}

.ba-slideshow-card::before {
  display: none;
}

.ba-slideshow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(42,107,255,.32);
  background:
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.032));
  box-shadow:
    0 28px 65px rgba(0,0,0,.34),
    0 0 18px rgba(42,107,255,.08);
}

.ba-card-top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.ba-card-top h3 {
  margin: 12px 0 0;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.4px;
}

.ba-label {
  position: static;
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.84);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 900;
}

.after-card-label {
  background: rgba(42,107,255,.85);
  border-color: rgba(42,107,255,.85);
  color: #fff;
}

.ba-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.ba-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background: rgba(255,255,255,.065);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.ba-controls button:hover {
  transform: translateY(-2px);
  background: rgba(42,107,255,.82);
  border-color: rgba(42,107,255,.9);
}

.ba-slider {
  position: relative;
  z-index: 4;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: #05070B;
  box-shadow: 0 16px 36px rgba(0,0,0,.26);
}

.ba-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
}

.ba-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ba-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) brightness(.86) saturate(.9);
}

.ba-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,14,.04), rgba(5,8,14,.82)),
    linear-gradient(90deg, rgba(5,8,14,.58), transparent 68%);
}

.ba-status {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 900;
  color: #fff;
}

.before-status {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
}

.after-status {
  background: rgba(42,107,255,.9);
  border: 1px solid rgba(42,107,255,.9);
}

.ba-slide-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  max-width: 520px;
}

.ba-slide-content h4 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.ba-slide-content p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.65;
}

.ba-card-footer {
  position: relative;
  z-index: 5;
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.048);
  border: 1px solid rgba(255,255,255,.075);
}

.ba-card-footer span {
  display: block;
  color: var(--accent);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-weight: 900;
  margin-bottom: 8px;
}

.ba-card-footer strong {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.55;
}

.transformation-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.transformation-strip article {
  position: relative;
  min-height: 155px;
  padding: 24px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.022));
  border: 1px solid rgba(255,255,255,.075);
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
  overflow: hidden;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.transformation-strip article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  background: var(--accent);
  opacity: .85;
}

.transformation-strip article:hover {
  transform: translateY(-5px);
  border-color: rgba(42,107,255,.28);
  box-shadow:
    0 20px 44px rgba(0,0,0,.24),
    0 0 14px rgba(42,107,255,.08);
}

.transformation-strip span {
  display: inline-flex;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  margin: 10px 0 12px;
}

.transformation-strip strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.transformation-strip p {
  margin: 0;
  color: rgba(255,255,255,.62);
  line-height: 1.65;
  font-size: 13px;
}

/* =========================
   INSIGHT
========================= */

.insight-section {
  padding: 115px 0 95px;
  background: #0A0E16;
  border-top: 1px solid rgba(255,255,255,.055);
  position: relative;
}

.insight-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 38px;
  align-items: center;
  padding: 38px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(42,107,255,.16), rgba(255,255,255,.04)),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  overflow: hidden;
}

.insight-card > div {
  position: relative;
  z-index: 2;
}

.insight-metrics {
  display: grid;
  gap: 18px;
}

.insight-metrics article {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.052);
  border: 1px solid rgba(255,255,255,.09);
}

.insight-metrics strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.insight-metrics span {
  color: rgba(255,255,255,.62);
  line-height: 1.62;
}

/* =========================
   SECTORS
========================= */

.service-sectors {
  padding: 105px 0;
  background: #0E131B;
  border-top: 1px solid rgba(255,255,255,.055);
  position: relative;
}

.sectors-panel {
  position: relative;
  padding: 38px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 26px 64px rgba(0,0,0,.26);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 38px;
  align-items: center;
  overflow: hidden;
}

.sectors-panel > div {
  position: relative;
  z-index: 2;
}

.sector-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.sector-tags span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.052);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: 14px;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 300ms ease;
}

.sector-tags span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(42,107,255,.5);
}

.sector-tags span:hover {
  background: rgba(42,107,255,.16);
  border-color: rgba(42,107,255,.38);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}

/* =========================
   CTA
========================= */

.services-cta {
  padding: 20px 0 120px;
  background: #0E131B;
}

.services-cta-card {
  position: relative;
  padding: 38px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(42,107,255,.24), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 28px 70px rgba(0,0,0,.3),
    inset 0 0 50px rgba(255,255,255,.025);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  overflow: hidden;
}

.services-cta-card > div,
.services-cta-card > a {
  position: relative;
  z-index: 2;
}

.services-cta-card a {
  flex: 0 0 auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 22px;
  border-radius: 4px;
  background: #fff;
  color: #10151F;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease;
}

.services-cta-card a:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(0,0,0,.34);
}

/* =========================
   ANIMATIONS
========================= */

@keyframes wearGridDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(105px, 105px, 0);
  }
}

@keyframes wearGlowPulse {
  0%,
  100% {
    opacity: .65;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: .95;
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes wearFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(26px, -22px, 0) scale(1.08);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .service-intro-grid,
  .workshop-panel,
  .before-after-grid,
  .insight-card,
  .sectors-panel,
  .transformation-strip,
  .wear-parts-showcase {
    grid-template-columns: 1fr;
  }

  .premium-service-grid,
  .workshop-grid,
  .sector-tags {
    grid-template-columns: 1fr 1fr;
  }

  .wear-parts-grid {
    grid-template-columns: 1fr;
  }

  .wear-parts-top {
    flex-direction: column;
  }

  .wear-parts-premium-badge {
    width: 100%;
    flex: initial;
  }

  .process-chain {
    grid-template-columns: 1fr 1fr;
  }

  .services-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-cta-card a {
    width: 100%;
  }

  .before-after-section {
    padding: 90px 0 105px;
  }

  .ba-slideshow-card {
    min-height: auto;
  }

  .ba-slider {
    height: 410px;
  }

  .ba-slideshow-card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 680px) {
  .services-hero {
    min-height: auto;
  }

  .services-hero-content {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .services-hero h1 {
    font-size: 38px;
    line-height: 1.04;
    letter-spacing: -1.2px;
  }

  .services-hero p {
    font-size: 16px;
  }

  .services-hero-actions {
    flex-direction: column;
  }

  .services-hero-strip,
  .premium-service-grid,
  .workshop-grid,
  .process-chain,
  .sector-tags {
    grid-template-columns: 1fr;
  }

  .service-intro,
  .premium-services,
  .workshop-services,
  .service-process,
  .before-after-section,
  .insight-section,
  .service-sectors {
    padding: 75px 0 90px;
  }

  .wear-parts-section {
    padding: 68px 0 78px;
  }

  .premium-service-card {
    min-height: auto;
  }

  .premium-service-card:hover {
    transform: translateY(-5px);
  }

  .service-card-image,
  .premium-service-card:hover .service-card-image {
    height: 250px;
  }

  .workshop-panel,
  .insight-card,
  .sectors-panel,
  .services-cta-card {
    padding: 24px;
    border-radius: 16px;
  }

  .wear-parts-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .wear-parts-copy h2,
  .before-after-header h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .wear-parts-highlight {
    padding: 22px;
  }

  .wear-parts-highlight h3 {
    font-size: 24px;
  }

  .highlight-number {
    font-size: 68px;
  }

  .wear-part-card {
    min-height: auto;
  }

  .wear-part-image {
    height: 190px;
  }

  .wear-part-content {
    padding: 20px;
  }

  .before-after-header {
    margin-bottom: 30px;
  }

  .ba-slideshow-card {
    padding: 14px;
    border-radius: 18px;
  }

  .ba-card-top {
    flex-direction: column;
  }

  .ba-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .ba-slider {
    height: 355px;
    border-radius: 15px;
  }

  .ba-slide-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .ba-slide-content h4 {
    font-size: 22px;
  }

  .ba-slide-content p {
    font-size: 13px;
  }

  .transformation-strip {
    margin-top: 26px;
  }

  .transformation-strip article {
    min-height: auto;
    padding: 22px;
  }

  .insight-section {
    padding-top: 80px;
  }

  .services-cta {
    padding-bottom: 90px;
  }
}