@import "./page-shared.css";

/* ── Loyalty banner (unique — full image with hand) ── */
.jpro-loyalty-banner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #f3f4f6;
  overflow: hidden;
}

.jpro-loyalty-banner__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

/* ── JPRO Loyalty — professional polish ── */
.loyalty-how-section {
  background: #f5f7fb;
  padding: 64px 0 72px;
}

.loyalty-section-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: #091654;
}

.loyalty-divider {
  background: #3d5bbf;
}

.loyalty-divider--light {
  background: rgba(255, 255, 255, 0.7);
}

.loyalty-section-header p {
  color: #64748b;
}

.loyalty-steps {
  gap: 22px;
}

.loyalty-step {
  border: 1px solid #e2e8f0;
  border-top: 3px solid #3d5bbf;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(9, 22, 84, 0.07);
  padding: 36px 24px 32px;
}

.loyalty-step:hover {
  border-top-color: #03318f;
  box-shadow: 0 14px 36px rgba(9, 22, 84, 0.14);
}

.loyalty-step-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: linear-gradient(180deg, #f4f7fd 0%, #e8eefc 100%);
  border: 1px solid rgba(61, 91, 191, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.loyalty-step-icon-wrap img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.loyalty-step-num {
  color: #3d5bbf;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.loyalty-step h3 {
  color: #091654;
  font-size: 18px;
}

.loyalty-step p {
  color: #64748b;
  margin: 0;
}

/* Tiers — dark navy panel so white text is readable */
.loyalty-tiers-section {
  background: linear-gradient(150deg, #091654 0%, #03318f 55%, #3d5bbf 100%);
  padding: 72px 24px;
}

.loyalty-section-header--light h2 {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
}

.loyalty-section-header--light p {
  color: rgba(255, 255, 255, 0.78);
}

.rewards-grid {
  gap: 14px;
}

.reward-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 28px 14px 24px;
}

.reward-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.reward-card--top {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 200, 66, 0.35);
}

.reward-pct {
  color: #bfdbfe;
  font-size: clamp(30px, 3vw, 38px);
}

.reward-card--top .reward-pct {
  color: #f5c842;
}

.reward-card h4 {
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.reward-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.65;
}

.reward-points-badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

/* CTA */
.loyalty-cta-section {
  background: #f5f7fb;
  padding: 64px 24px 80px;
}

.loyalty-cta-box {
  background: linear-gradient(150deg, #091654 0%, #03318f 55%, #3d5bbf 100%);
  border-radius: 14px;
  padding: 56px 40px;
  box-shadow: 0 16px 40px rgba(9, 22, 84, 0.2);
}

.loyalty-cta-box h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 30px);
}

.btn-loyalty-cta {
  background: #ffffff;
  color: #03318f;
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-weight: 700;
}

.btn-loyalty-cta:hover {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 900px) {
  .loyalty-steps {
    grid-template-columns: 1fr;
  }

  .rewards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .rewards-grid {
    grid-template-columns: 1fr;
  }

  .loyalty-cta-box {
    padding: 40px 22px;
  }
}