/* ==========================================================================
   Electronic repairs page — builds on Templates/templates.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Repair category cards
   -------------------------------------------------------------------------- */
.repair-card {
  display: flex;
  flex-direction: column;
}

.repair-card .brands {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}

.repair-card ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
}

.repair-card li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.repair-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
}

/* --------------------------------------------------------------------------
   Process timeline
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  counter-reset: phase;
}

.process li {
  counter-increment: phase;
  position: relative;
  padding-top: 2.6rem;
}

/* The connecting rail between phase markers */
.process li::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 44px;
  right: -1.75rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(75, 194, 58, 0.4), transparent);
}

.process li:last-child::after { display: none; }

.process li::before {
  content: counter(phase, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid rgba(75, 194, 58, 0.35);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-300);
}

.process h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.process p {
  font-size: 0.88rem;
  margin: 0;
}

@media (max-width: 700px) {
  .process li::after { display: none; }
}

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(640px 320px at 50% 0%, rgba(58, 166, 43, 0.18), transparent 68%),
    linear-gradient(180deg, var(--ink-900), var(--ink-950));
  text-align: center;
}

.cta-band .lead { margin-inline: auto; }

.cta-band .btn-row { justify-content: center; margin-top: 1.75rem; }
