/* IPTV Charleroi v1.3.9 — compact premium installation flow. */
.install-head {
  position: relative;
  margin-bottom: 18px;
}

.install-head .section-title {
  margin-bottom: 8px;
}

.install-intro {
  max-width: 760px;
  margin: 0;
  color: #5e5e66;
  font-size: 13px;
  line-height: 1.72;
  font-weight: 500;
}

.install-flow {
  --install-red: #e50914;
  --install-muted: #666671;
  position: relative;
  align-items: stretch;
  gap: 16px;
  margin-top: 17px;
  margin-bottom: 26px;
}

.install-flow::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 29px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(229, 9, 20, .05), rgba(229, 9, 20, .42), rgba(229, 9, 20, .05));
  pointer-events: none;
}

.install-step {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  grid-template-columns: 44px 1fr 44px;
  gap: 14px;
  padding: 22px 21px 20px;
  border: 1px solid rgba(229, 9, 20, .08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .94)),
    radial-gradient(circle at 88% 16%, rgba(229, 9, 20, .09), transparent 33%);
  box-shadow: 0 18px 46px rgba(10, 10, 12, .055);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.install-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--install-red), rgba(229, 9, 20, .08));
  opacity: .9;
}

.install-step::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -42px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, .105), transparent 68%);
  pointer-events: none;
}

.install-step:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 9, 20, .20);
  box-shadow: 0 24px 60px rgba(10, 10, 12, .09);
}

.install-step .step-number {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  box-shadow: 0 12px 26px rgba(229, 9, 20, .24);
  font-size: 11px;
  letter-spacing: -.2px;
}

.install-step-icon {
  position: relative;
  z-index: 2;
  justify-self: end;
  align-self: center;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #111114;
  background: #f6f6f7;
  border: 1px solid rgba(17, 17, 20, .08);
}

.install-step-icon .step-icon {
  justify-self: center;
  font-size: 18px;
  color: #111114;
  opacity: .96;
}

.install-step-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.install-step-copy h4 {
  margin: 0 0 6px;
  color: #111114;
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: -.25px;
  font-weight: 900;
}

.install-step-copy p {
  max-width: 220px;
  margin: 0;
  color: var(--install-muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}

.install-step-chip {
  position: absolute;
  left: 20px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #b90710;
  background: rgba(229, 9, 20, .07);
  border: 1px solid rgba(229, 9, 20, .11);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.05px;
}

.install-step-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(229, 9, 20, .08);
}

.install-flow .step-arrow {
  width: 28px;
  min-width: 28px;
  align-self: center;
  color: rgba(229, 9, 20, .58);
  opacity: 1;
}

.install-flow .step-arrow i::before {
  width: 18px;
  height: 18px;
}

@media (max-width: 1180px) {
  .install-step {
    grid-template-columns: 39px 1fr 39px;
    padding: 20px 18px 19px;
  }

  .install-step-copy p {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .install-flow {
    gap: 12px;
  }

  .install-flow::before {
    display: none;
  }

  .install-flow .step-arrow {
    display: none;
  }

  .install-step {
    min-height: 122px;
    grid-template-columns: 38px 1fr 40px;
  }
}

@media (max-width: 640px) {
  .install-intro {
    font-size: 12px;
  }

  .install-step {
    min-height: 118px;
    border-radius: 14px;
    padding: 18px 16px 17px;
  }

  .install-step-copy h4 {
    font-size: 15px;
  }

  .install-step-copy p {
    font-size: 11px;
  }

  .install-step-chip {
    position: static;
    grid-column: 2 / 4;
    justify-self: start;
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .install-step,
  .install-step:hover {
    transform: none;
    transition: none;
  }
}
