/* =====================================================
   Customer Loyalty Programs — page-specific styles
   Built on top of style.css design tokens (no Bootstrap — matches home page)
   Desktop-first: base rules are the full desktop layout;
   @media(max-width:...) queries simplify down for tablet/mobile.
   ===================================================== */

/* ── Shared section-head / prose helpers ─────────────── */
.clp-section-head {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.clp-banner-head {
  position: relative;
  margin-inline: auto;
  z-index: 1;
}

/* ── Hero ─────────────────────────────────────────── */
.clp-hero {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  padding-bottom: 50px;
  background: var(--grad-hero);
}

.clp-hero-grid {
  display: grid;
  grid-template-columns: none;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}
.clp-hero h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--ink-700);
  max-width: none;
}
.clp-hero-sub {
  margin-top: 1.35rem;
  font-size: 1.08rem;
  color: var(--ink-400);
  line-height: 1.6;
}
.clp-hero-sub p {
  margin: 0;
}
.clp-hero-sub p + p {
  margin-top: 1rem;
}
.clp-hero-ctas {
      justify-content: center;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.sec-sub p {
  margin: 0;
}
.sec-sub p + p {
  margin-top: 1rem;
}
.clp-hero .fade-up.d2 img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 24px 64px rgba(39, 55, 78, .22);
  display: block;
}

/* ── Floating Badges ──────────────────────────────── */
.clp-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .85rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  white-space: nowrap;
  animation: clp-float 4.5s ease-in-out infinite;
}
.clp-float-badge .fb-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.clp-float-badge strong {
  display: block;
  font-size: .78rem;
  color: var(--ink-700);
}
.clp-float-badge small {
  font-size: .63rem;
  color: var(--ink-400);
  font-weight: 600;
}
.clp-badge-1 {
  top: 6%;
  left: -2%;
  animation-delay: 0s;
}
.clp-badge-1 .fb-ic {
  background: linear-gradient(135deg, #f5b32a, #e08e19);
}
.clp-badge-2 {
  bottom: 10%;
  right: -4%;
  animation-delay: 1.3s;
}
.clp-badge-2 .fb-ic {
  background: var(--grad-brand);
}
.clp-badge-3 {
  bottom: -2%;
  left: 8%;
  animation-delay: 2.2s;
}
.clp-badge-3 .fb-ic {
  background: linear-gradient(135deg, #3ea56b, #2c7d50);
}
@keyframes clp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

#clp-reward-programs {
  padding-bottom: 0px;
}
#clp-b2b {
  padding-bottom: 0px;
}
#clp-industries {
  padding-top: 6rem;
}

/* ── Layout grids ──────────────────────────────────── */
.clp-split-9-3 {
  display: grid;
/*  grid-template-columns: 9fr 3fr;*/
 grid-template-columns: none;
  gap: 3rem;
  align-items: center;
}
.clp-split-7-5 {
  display: grid;
/*  grid-template-columns: 7fr 5fr;*/
grid-template-columns: none;
  gap: 24px;
  align-items: center;
}
.clp-icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand-soft);
  color: var(--brand-500);
  flex-shrink: 0;
  transition: all .3s;
}

/* ── Benefit cards ────────────────────────────────── */
.clp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.clp-benefit-card {
  height: 100%;
  padding: 2rem 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid var(--brand-100);
  background: linear-gradient(160deg, var(--white), rgba(244, 247, 251, .5));
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.clp-benefit-card:hover {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}
.clp-benefit-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-100);
  line-height: 1;
}
.clp-benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-700);
  margin: 1.1rem 0 .5rem;
  position: relative;
}
.clp-benefit-card p {
  font-size: .875rem;
  color: var(--ink-400);
  line-height: 1.7;
  margin: 0;
  position: relative;
}
.clp-benefits-close {
  max-width: 50rem;
  margin: 3rem auto 0;
}

/* ── Reward Programs visual ────────────────────────── */
.clp-reward-visual {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
}
.clp-reward-img-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
  transform: rotate(-1deg);
  transition: transform .4s ease;
}
.clp-reward-visual:hover .clp-reward-img-wrap {
  transform: rotate(0deg) translateY(-4px);
}
.clp-reward-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.clp-reward-closing {
  margin-top: 1.5rem;
}

/* ── B2B dark banner ──────────────────────────────── */
.clp-b2b-banner {
  position: relative;
  overflow: hidden;
  background: var(--grad-dark);
  border-radius: 1.75rem;
  padding: 4.5rem;
}
.clp-b2b-blob-1 {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: var(--brand-500);
  filter: blur(70px);
  opacity: .25;
  top: -6rem;
  left: -6rem;
}
.clp-b2b-blob-2 {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: var(--plum-500);
  filter: blur(70px);
  opacity: .25;
  bottom: -6rem;
  right: -6rem;
}
.clp-b2b-banner .eyebrow {
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}
.clp-b2b-banner .sec-title {
  color: #fff;
}
.clp-b2b-banner .sec-sub {
  color: var(--ink-200);
}

/* ── Final CTA reuse tweak ────────────────────────── */
.clp-cta-wrap {
  position: relative;
  z-index: 1;
}
.clp-cta-title {
  max-width: 44rem;
}

/* ── Scroll reveal stagger helper ──────────────────── */
.fade-up.d1 { transition-delay: .08s; }
.fade-up.d2 { transition-delay: .16s; }
.fade-up.d3 { transition-delay: .24s; }
.fade-up.d4 { transition-delay: .32s; }

/* =====================================================
   TABLET (max-width: 991px)
   ===================================================== */
@media (max-width: 991px) {
  /* Hero */
  .clp-hero-grid {

    gap: 3.5rem;
  }
  .clp-hero .fade-up.d2 img {
    height: 360px;
  }

  /* Layout grids */
 
  .clp-split-7-5 {

    gap: 3rem;
  }

  /* Benefits */
  .clp-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* =====================================================
   MOBILE (max-width: 767px)
   ===================================================== */
@media (max-width: 767px) {
  /* B2B banner */
  .clp-b2b-banner {
    padding: 3.5rem 2.5rem;
  }
}

/* =====================================================
   MOBILE SMALL (max-width: 575px)
   ===================================================== */
@media (max-width: 575px) {
  /* Hero */
  .clp-hero-grid .fade-up:first-child {
    order: 2;
  }
  .clp-hero .fade-up.d2 img {
    height: auto;
  }

  /* Floating badges - hide on mobile */
  .clp-float-badge {
    display: none;
  }

  /* Benefits */
  .clp-benefits-grid {
    grid-template-columns: 1fr;
  }
  .clp-hero-grid{gap: 20px;}
  p{font-size: 16px!important;line-height: 1.4!important;}
  .clp-split-7-5{gap: 20px;}
      .clp-b2b-banner {
        padding: 20px;
    }
    .clp-hero-grid{grid-template-columns: 1fr;}
    .clp-split-9-3{grid-template-columns: 1fr;}
    .clp-split-7-5{grid-template-columns: 1fr;}
}