/* =========================================================
   KLUB - Members in 4 Steps (Figma 1217:2874)
   - Full-bleed bg image
   - Horizontal line spans the section full width with gold gradient fade
   - 4 columns centered to their dot
   ========================================================= */

.klub-four-steps {
  position: relative;
  padding: clamp(140px, 22.3958333333vw, 430px) 0 130px;
  background-color: #191d23;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.klub-four-steps__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(25, 29, 35, 0) 0%,
      rgba(25, 29, 35, 0.4) 21.6%,
      rgba(25, 29, 35, 0.845) 55.7%,
      rgba(25, 29, 35, 1) 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

.klub-four-steps .container {
  position: relative;
  z-index: 2;
}

/* Header */
.klub-four-steps__head {
  text-align: center;
  margin: 0 auto 100px auto;
  max-width: 685px;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.klub-four-steps__subtitle {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 11.2px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.klub-four-steps__title {
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: clamp(36px, 3.125vw, 60px);
  line-height: 1.177;
  letter-spacing: -3.6px;
  max-width: 493px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  width: 100%;
}

.klub-four-steps__desc {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 25.5px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 589px;
  margin: 0;
}

/* Steps grid */
.klub-four-steps__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding-top: 30px;
}

/* Full-bleed horizontal gold line — extends beyond container padding */
.klub-four-steps__grid::before {
  content: "";
  position: absolute;
  /* Aligned to dot vertical center: padding-top 30 + title 71 + gap 30 + half dot 17 = 148 */
  top: 148px;
  left: calc(-50vw + 50%);
  width: 100vw;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 18%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.55) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.klub-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.klub-step__title {
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 35.2px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 30px 0;
  min-height: 71px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 280px;
}

.klub-step__dot {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #191d23;
  border: 1px solid #fff;
  display: block;
  margin: 0 0 30px 0;
  position: relative;
}

.klub-step__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.klub-step__desc {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 25.5px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 329px;
}

/* Responsive */
@media (max-width: 991px) {
  .klub-four-steps {
    padding: 100px 0 80px;
  }
  .klub-four-steps__head {
    margin-bottom: 60px;
  }
  .klub-four-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 24px;
  }
  .klub-four-steps__grid::before {
    display: none;
  }
}
@media (max-width: 1200px) and (min-width: 992px) {
  .klub-step__title {
    font-size: 18px;
  }
  .klub-tiers__grid {
    gap: 2px !important;
  }
}
@media (max-width: 575px) {
  .klub-four-steps {
    padding: 80px 0 60px;
  }
  .klub-four-steps__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .klub-step__title {
    font-size: 20px;
    line-height: 28px;
    min-height: 0;
  }
}
