/* =========================================================
   KLUB - Benefits (Figma node 1217:2743)
   Cards 452x313, radius 4px, alternating light/dark, gap 22px.
   Section gap (head <-> grid <-> CTA) = 62px.
   ========================================================= */

.klub-benefits {
  background: #f5f3ee;
  background-image: url("../../../assets/icons/benefits.webp");
  background-repeat: no-repeat;
  background-size: contain;

  padding: 110px 0;
}

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

.klub-benefits__subtitle {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 11.2px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #191d23;
  margin: 0;
}

.klub-benefits__title {
  font-family: "trajan-pro-3", serif;
  font-weight: 400;
  font-size: clamp(34px, 3.125vw, 60px);
  line-height: 1.177;
  letter-spacing: -3.6px;
  text-transform: uppercase;
  color: #191d23;
  margin: 0;
}

.klub-benefits__desc {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.5px;
  color: rgba(25, 29, 35, 0.8);
  max-width: 589px;
  margin: 0;
}
.klub-benefit-card__title {
  max-width: 300px;
}
/* Grid — 3 per row, fixed columns */
.klub-benefits__grid {
  display: grid;
  max-width: 1400px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0 auto 62px auto;
}

/* Card */
.klub-benefit-card {
  min-height: 313px;
  border-radius: 4px;
  padding: 37px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.klub-benefit-card--light {
  background: #fff;
  color: #191d23;
}

.klub-benefit-card--dark {
  background: #191d23;
  color: #fff;
}

.klub-benefit-card__top {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Broj (levo) + pill (desno) u istom redu */
.klub-benefit-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.klub-benefit-card__num {
  font-family: "trajan-pro-3", serif;
  font-weight: 300;
  font-size: 72px;
  line-height: 64.8px;
  letter-spacing: -3.6px;
  color: #bd9831;
  display: block;
}

.klub-benefit-card__title {
  font-family: "trajan-pro-3", serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 25.96px;
  letter-spacing: -0.44px;
  color: inherit;
  margin: 0;
  text-transform: none;
}

.klub-benefit-card__desc {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 23.2px;
  margin: 0;
}

.klub-benefit-card--light .klub-benefit-card__desc {
  color: rgba(25, 29, 35, 0.62);
}

.klub-benefit-card--dark .klub-benefit-card__desc {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300 !important;
}

/* Pill */
.klub-benefit-card__pill {
  flex: 0 0 auto;
  align-self: flex-start;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.klub-benefit-card__pill--on-light {
  background: rgba(25, 29, 35, 0.05);
  color: #706f6f;
}

.klub-benefit-card__pill--on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
}

.klub-benefit-card__pill--gold {
  background: rgba(189, 152, 49, 0.16);
  color: #bd9831;
}

/* CTA */
.klub-benefits__cta {
  display: flex;
  gap: 14px;
  width: 697px;
  max-width: 100%;
  margin: 0 auto;
}

.klub-benefits__cta-btn {
  flex: 1 1 0;
  min-width: 0;
  height: 55px;
  padding: 18px 42px;
  border-radius: 2.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 18.2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.klub-benefits__cta-btn--primary {
  background: #bd9831;
  color: #fff;
  border: 1px solid #bd9831;
}

.klub-benefits__cta-btn--primary:hover {
  background: #fff;
  color: #191d23;
}

.klub-benefits__cta-btn--secondary {
  background: transparent;
  color: #bd9831;
  border: 1px solid #bd9831;
}

.klub-benefits__cta-btn--secondary:hover {
  background: #bd9831;
  color: #fff;
}

.klub-benefits__cta-btn--secondary:hover .klub-benefits__cta-icon path {
  fill: #fff;
}

.klub-benefits__cta-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  transition: fill 0.3s ease;
}

/* Responsive */
@media (max-width: 991px) {
  .klub-benefits {
    padding: 80px 0;
  }
  .klub-benefits__head {
    margin-bottom: 48px;
  }
  .klub-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .klub-benefits {
    padding: 60px 0;
  }
  .klub-benefits__grid {
    grid-template-columns: 1fr;
  }
  .klub-benefit-card {
    min-height: auto;
    padding: 28px 24px;
  }
  .klub-benefit-card__num {
    font-size: 56px;
    line-height: 50px;
  }
  .klub-benefits__cta {
    flex-direction: column;
    gap: 12px;
  }
  .klub-benefits__cta-btn {
    flex: 0 0 auto;
    width: 100%;
  }
}
