/* Match plan (HTML Block "Match plan", Elementor) — dark 6-step section.
   Hooked to CSS classes set on the block's containers and widgets.
   Colours: every rule here is deliberately weaker than the selectors Elementor
   writes for its own colour / background controls, so a colour picked in
   Elementor (section background, heading, badge, text) always wins.
   The timeline dot follows the badge colour, the step number follows the name
   colour; only the YOU / WE labels use --qst-pr-accent. */
.elementor .e-con.qst-process {
  --qst-pr-accent: #c6ff00;
  --qst-pr-ink: #f4f4f0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0a0a0a;
  color: var(--qst-pr-ink);
  padding: clamp(3rem, 9vh, 6.5rem) clamp(1.25rem, 3vw, 4rem);
}
.qst-process .elementor-widget { margin: 0; width: 100%; }

.qst-process .qst-process__eyebrow .elementor-heading-title {
  margin: 0 0 1rem;
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qst-pr-accent);
}
.qst-process .qst-process__title .elementor-heading-title {
  margin: 0 0 clamp(2rem, 5vh, 3.5rem);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--qst-pr-ink);
}
.qst-process .qst-process__mark { color: var(--qst-pr-accent); }

.elementor .e-con.qst-process__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  padding: 0;
  counter-reset: qst-step;
}
.elementor .e-con.qst-process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 1.8rem clamp(0.8rem, 1.4vw, 1.6rem) 0 0;
  border-top: 2px solid rgba(255,255,255,0.18);
  counter-increment: qst-step;
}
.qst-process .qst-process__badge .elementor-heading-title {
  margin: 0 0 0.9rem;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qst-pr-accent);
}
/* timeline dot: takes the colour of the badge text, so one Elementor colour picker drives both */
.elementor .e-con.qst-process__step .qst-process__badge { position: static; }
.qst-process .qst-process__badge .elementor-heading-title::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
  transition: box-shadow .3s;
}
.elementor .e-con.qst-process__step:hover .qst-process__badge .elementor-heading-title::before {
  box-shadow: 0 0 0 6px color-mix(in srgb, currentColor 22%, transparent);
}
.qst-process .qst-process__name .elementor-heading-title {
  margin: 0 0 0.6rem;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 2.5vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--qst-pr-ink);
}
.qst-process .qst-process__name .elementor-heading-title::before {
  content: counter(qst-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.35rem;
  color: inherit;
  opacity: 0.4;
  font-size: 0.55em;
  letter-spacing: 0.1em;
}
.qst-process .qst-process__text,
.qst-process .qst-process__text p {
  margin: 0;
  font-size: clamp(0.88rem, 0.95vw, 0.98rem);
  line-height: 1.55;
  color: rgba(244,244,240,0.7);
}
.qst-process .qst-process__split {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.qst-process .qst-process__split p {
  margin: 0 0 0.5rem;
  font-size: clamp(0.82rem, 0.9vw, 0.92rem);
  line-height: 1.5;
  color: rgba(244,244,240,0.85);
}
.qst-process .qst-process__split p:last-child { margin-bottom: 0; }
.qst-process .qst-process__split strong {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qst-pr-accent);
}
.qst-process .qst-process__note,
.qst-process .qst-process__note p {
  margin: clamp(1.4rem, 3vh, 2.2rem) 0 0;
  font-size: 0.85rem;
  color: rgba(244,244,240,0.5);
}

@media (max-width: 1100px) {
  .elementor .e-con.qst-process__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.6rem; }
}
@media (max-width: 700px) {
  .elementor .e-con.qst-process__grid { grid-template-columns: 1fr; row-gap: 0; border-left: 2px solid rgba(255,255,255,0.18); }
  .elementor .e-con.qst-process__step { border-top: 0; padding: 0 0 2.2rem 1.6rem; }
  .qst-process .qst-process__badge .elementor-heading-title::before { top: 0.1rem; left: -9px; }
}
@media (prefers-reduced-motion: reduce) {
  .qst-process .qst-process__badge .elementor-heading-title::before { transition: none; }
}
