/* =========================================================
   Detailed service pages — shared components.
   Each page sets its own accent via a body class (e.g. .theme-fuel)
   defining --service-accent etc., so pages feel distinct rather
   than one flat repeated color.
   ========================================================= */

/* =================== SERVICE HERO =================== */
.service-hero {
  position: relative;
  height: 62vh;
  min-height: 480px;
  margin: 16px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--service-dark-1);
  display: flex; align-items: flex-end;
  box-shadow: 0 30px 80px -30px rgba(8,26,46,.5);
}
.service-hero__bg { position: absolute; inset: 0; z-index: 0; }
.service-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.service-hero__gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--service-dark-1) 0%, rgba(0,0,0,.55) 32%, rgba(0,0,0,.15) 60%),
    linear-gradient(100deg, rgba(0,0,0,.5) 0%, transparent 55%);
}
.service-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; width: 100%;
  padding: 0 48px 48px;
}
.service-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.service-breadcrumb a { color: rgba(255,255,255,.85); }
.service-breadcrumb a:hover { color: var(--service-accent-light); }
.service-breadcrumb i { font-size: 9px; opacity: .6; }
.service-breadcrumb span { color: var(--service-accent-light); }

.service-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px); color: var(--white);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 20px;
}
.service-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--service-accent-light); }
.service-hero__title { color: var(--white); font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 14px; line-height: 1.08; max-width: 700px; }
.service-hero__sub { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.7; max-width: 560px; }

/* =================== OVERVIEW SPLIT =================== */
.service-overview { padding: 100px 0; background: var(--white); position: relative; overflow: hidden; }
.service-overview::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(40% 45% at 92% 10%, color-mix(in srgb, var(--service-accent) 8%, transparent) 0%, transparent 70%);
}
.service-overview .container { position: relative; z-index: 1; }
.overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.overview-grid.is-reversed { grid-template-columns: .95fr 1.05fr; }
.overview-grid.is-reversed .overview-visual-wrap { order: 2; }

.overview-visual-wrap { position: relative; }
.overview-visual__blob {
  position: absolute; top: -10%; right: -12%; width: 60%; height: 60%;
  background: linear-gradient(135deg, var(--service-accent), var(--service-dark-3));
  filter: blur(60px); opacity: .3; border-radius: 50%; z-index: 0;
}
.overview-visual { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.overview-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .8s var(--ease); }
.overview-visual-wrap:hover .overview-visual img { transform: scale(1.05); }

.service-overview .eyebrow,
.service-features .eyebrow,
.service-process .eyebrow,
.related-services .eyebrow { color: var(--service-accent); }
.overview-copy__text { color: var(--ink-soft); font-size: 16px; line-height: 1.8; margin: 20px 0 26px; max-width: 560px; }
.overview-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 10px; }
.overview-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.overview-list i { color: var(--service-accent); font-size: 16px; margin-top: 2px; }

/* =================== FEATURE GRID ("What's Included") =================== */
.service-features { padding: 100px 0; background: var(--sky-100); }
.service-features .section-title { margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 30px 26px;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.feature-card__icon {
  width: 50px; height: 50px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--service-accent), var(--service-dark-3));
  color: var(--white); font-size: 19px; margin-bottom: 20px;
  transition: transform .4s var(--ease);
}
.feature-card:hover .feature-card__icon { transform: rotate(-8deg) scale(1.06); }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.feature-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* =================== PROCESS STEPS =================== */
.service-process { padding: 100px 0; background: var(--white); }
.service-process .section-title { margin-bottom: 56px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-step__num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--service-accent), var(--service-dark-3));
  color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 18px;
  margin-bottom: 20px;
  box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--service-accent) 55%, transparent);
}
.process-step h3 { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.process-step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

/* =================== STATS BAND =================== */
.service-stats-band {
  padding: 90px 0; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--service-dark-1) 0%, var(--service-dark-2) 50%, var(--service-dark-3) 100%);
}
.service-stats-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 30%, black, transparent);
}
.service-stats-band .container { position: relative; z-index: 1; }
.service-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat--band { text-align: center; padding: 0; border-bottom: none; background: none; border: none; box-shadow: none; }
.stat--band::after { display: none; }
.stat--band .stat__num { color: var(--white); font-size: clamp(24px,2.6vw,34px); font-family: var(--font-head); font-weight: 700; display: block; }
.stat--band .stat__label { color: rgba(255,255,255,.6); display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; }

/* =================== RELATED SERVICES =================== */
.related-services { padding: 100px 0; background: var(--sky-100); }
.related-services .section-title { margin-bottom: 48px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 26px 22px;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.related-card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky-100); color: var(--brand); font-size: 16px; margin-bottom: 16px;
}
.related-card h4 { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.related-card span { font-size: 12.5px; color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* =================== SERVICE CTA =================== */
.service-cta {
  position: relative; margin: 0 28px 100px; border-radius: var(--radius-lg); overflow: hidden;
  padding: 70px 60px; text-align: center;
  background: linear-gradient(120deg, var(--service-dark-1) 0%, var(--service-dark-2) 45%, var(--service-dark-3) 100%);
}
.service-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 80% at 50% 50%, black, transparent);
}
.service-cta__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.service-cta h2 { color: var(--white); font-size: clamp(24px,2.8vw,34px); margin-bottom: 14px; }
.service-cta p { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 26px; }
.service-cta .btn--primary { background: linear-gradient(135deg, var(--service-accent), var(--service-dark-3)); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--service-accent) 55%, transparent); }
.service-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-steps::before { display: none; }
  .service-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .service-hero { height: auto; min-height: 420px; padding: 40px 0; }
  .service-hero__inner { padding: 0 28px; }
  .overview-grid, .overview-grid.is-reversed { grid-template-columns: 1fr; gap: 40px; }
  .overview-grid.is-reversed .overview-visual-wrap { order: 0; }
  .service-cta { padding: 50px 28px; margin: 0 16px 80px; }
}

@media (max-width: 560px) {
  .service-hero { margin: 10px; border-radius: 22px; }
  .features-grid, .process-steps, .service-stats-grid, .related-grid { grid-template-columns: 1fr; }
}
