/*
  Service process — szerviz.html only. A numbered vertical timeline for the
  10-step repair/refurbishment process (sourced from brunnbauerbp.hu's
  "Szerviz bővebben" page). Header (eyebrow/title/divider) matches the
  centered pattern from .products in products.css; the step list is its own
  new component, kept in a single readable column deliberately (no side
  image) so the sequence stays easy to scan top to bottom.

  .service-process__extra (added 2026-09-06, full old-site content parity
  pass) holds two supplementary topics from the same source page that
  aren't steps in the numbered sequence — on-site/field repair conditions,
  and maintenance of pilot-operated safety-valve controllers — as a
  2-column card grid below the timeline.
*/

.service-process {
  background: var(--color-white);
  padding-block: var(--space-9);
}

.service-process__eyebrow {
  color: var(--color-slate-600);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.service-process__title {
  margin-top: var(--space-3);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.service-process__divider {
  width: 56px;
  height: 3px;
  margin-top: var(--space-5);
  margin-inline: auto;
  background: var(--color-red-600);
  border-radius: 2px;
}

.service-process__intro {
  max-width: 640px;
  margin: var(--space-5) auto 0;
  color: var(--color-slate-600);
  text-align: center;
}

/* ---- Timeline list ---- */
.service-process__list {
  position: relative;
  max-width: 780px;
  margin: var(--space-8) auto 0;
}

/* Single connecting rail behind every number badge. Badges sit on top and
   naturally mask the line where they overlap it, leaving it visible only
   in the gaps between steps — the timeline effect, without needing a
   per-step pseudo-element. */
.service-process__list::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 32px;
  width: 2px;
  background: var(--color-slate-200);
}

.service-process__step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-6);
  align-items: start;
}

.service-process__step + .service-process__step {
  margin-top: var(--space-7);
}

.service-process__number {
  position: relative;
  z-index: var(--z-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--color-navy-900);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-h4);
  letter-spacing: var(--tracking-tight);
  /* Same diagonal-radius convention used site-wide for cards/badges/tiles. */
  border-radius: 24px 0 24px 0;
  box-shadow: var(--shadow-md);
}

.service-process__step-title {
  color: var(--color-navy-900);
  font-size: var(--fs-h4);
}

.service-process__step-desc {
  margin-top: var(--space-2);
  max-width: 640px;
  color: var(--color-slate-600);
}

/* ---- Supplementary topic cards ---- */
.service-process__extra {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 960px;
  margin: var(--space-8) auto 0;
}

.service-process__extra-card {
  background: var(--color-surface);
  border-radius: 24px 0 24px 0;
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.service-process__extra-title {
  color: var(--color-navy-900);
  font-size: var(--fs-h4);
}

.service-process__extra-text {
  margin-top: var(--space-3);
  color: var(--color-slate-600);
}

.service-process__extra-list {
  margin-top: var(--space-3);
  padding-left: var(--space-5);
  color: var(--color-slate-600);
  list-style: disc;
}

.service-process__extra-list li + li {
  margin-top: var(--space-1);
}

/* ---- Tablet / mobile (<= 768px) ---- */
@media (max-width: 768px) {
  .service-process {
    padding-block: var(--space-8);
  }

  .service-process__list {
    margin-top: var(--space-7);
  }

  .service-process__step + .service-process__step {
    margin-top: var(--space-6);
  }

  .service-process__extra {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-top: var(--space-7);
  }
}

/* ---- Mobile (<= 560px) ---- */
@media (max-width: 560px) {
  .service-process__step {
    grid-template-columns: 48px 1fr;
    gap: var(--space-4);
  }

  .service-process__list::before {
    top: 24px;
    bottom: 24px;
    left: 24px;
  }

  .service-process__number {
    width: 48px;
    height: 48px;
    font-size: var(--fs-body);
    border-radius: 16px 0 16px 0;
  }
}
