
.pjh-tiles{
  --pjh-teal-500:#1f9e93;
  --pjh-teal-400:#3fc4b3;
  --pjh-teal-300:#8fe3d3;
  --pjh-teal-700:#0f5c56;
  --pjh-heading:#ffffff;
  --pjh-sub:rgba(255,255,255,.78);
  --pjh-card-bg:#ffffff;
  --pjh-card-ink:#0b3d3a;
  --pjh-card-ink-soft:#4d6d69;
  --pjh-glass-border:rgba(255,255,255,.18);
  --pjh-glass-shadow:rgba(0,0,0,.35);
  --pjh-card-shadow:rgba(0,0,0,.3);

  display:block !important;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:72px 16px 88px !important;
  background:transparent !important;
  font-family:"Poppins","Helvetica Neue",Arial,sans-serif;
  font-size:16px;line-height:1.5;font-weight:400;
  color:var(--pjh-heading);
  text-align:left;
  -webkit-text-size-adjust:100%;
  -webkit-font-smoothing:antialiased;
}

/* ---- isolation reset (zero specificity, scoped) ---- */
.pjh-tiles *,.pjh-tiles *::before,.pjh-tiles *::after{box-sizing:border-box;}
.pjh-tiles :where(h2,h3,p,a,span,div,article,em){
  margin:0;padding:0;background:transparent;border:0 solid transparent;
  font-family:inherit;letter-spacing:normal !important;
  text-transform:none !important;text-decoration:none !important;
  text-shadow:none !important;float:none !important;
}
.pjh-tiles .pjh-sr{
  position:absolute !important;width:1px;height:1px;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;
}

/* ---- glass panel ---- */
.pjh-tiles .pjh-glass{
  background:transparent;
  border:1px solid var(--pjh-glass-border);
  border-radius:28px;
  padding:56px 48px;
  -webkit-backdrop-filter:blur(22px) saturate(150%);
          backdrop-filter:blur(22px) saturate(150%);
  box-shadow:0 30px 60px -28px var(--pjh-glass-shadow);
}

/* ---- heading ---- */
.pjh-tiles .pjh-head{max-width:680px;margin:0 auto 52px;text-align:center;}
.pjh-tiles .pjh-head h2{
  font-family:"Poppins","Helvetica Neue",Arial,sans-serif !important;
  font-weight:700 !important;
  font-size:clamp(28px,4vw,40px) !important;
  line-height:1.15 !important;
  margin:0 0 14px !important;
  text-wrap:balance;
  color:var(--pjh-heading) !important;
}
.pjh-tiles .pjh-head h2 em{
  font-style:normal !important;
  background:linear-gradient(100deg,var(--pjh-teal-400),var(--pjh-teal-300));
  -webkit-background-clip:text;background-clip:text;
  color:transparent !important;
}
.pjh-tiles .pjh-sub{
  font-size:16px !important;line-height:1.65 !important;
  color:var(--pjh-sub) !important;margin:0 !important;
  text-wrap:pretty;
}

/* ---- grid (the carousel wrappers vanish above mobile) ---- */
.pjh-tiles .pjh-track,
.pjh-tiles .pjh-track__viewport{display:contents;}
.pjh-tiles .pjh-track__slides{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
@media (max-width:920px){
  .pjh-tiles .pjh-track__slides{grid-template-columns:repeat(2,1fr);}
}

/* ---- cards ---- */
.pjh-tiles .pjh-card{
  background:var(--pjh-card-bg) !important;
  border-radius:18px;
  padding:28px 22px 26px;
  box-shadow:0 16px 32px -20px var(--pjh-card-shadow);
  display:flex;flex-direction:column;align-items:center;
  text-align:center;gap:14px;
  transition:transform .25s ease,box-shadow .25s ease;
}
@media (hover:hover) and (pointer:fine){
  .pjh-tiles .pjh-card:hover{
    transform:translateY(-4px);
    box-shadow:0 22px 40px -20px var(--pjh-card-shadow);
  }
}
.pjh-tiles .pjh-badge{
  position:relative;display:block;flex:0 0 auto;
  width:54px;height:54px;border-radius:15px;
  background:linear-gradient(140deg,var(--pjh-teal-500),var(--pjh-teal-700)) !important;
  box-shadow:0 10px 20px -10px rgba(15,92,86,.55);
}
.pjh-tiles .pjh-badge::after{
  content:"";position:absolute;inset:0;
  background-color:#fff;
  -webkit-mask:var(--pjh-icon) center / 28px 28px no-repeat;
          mask:var(--pjh-icon) center / 28px 28px no-repeat;
}
.pjh-tiles .pjh-card h3{
  font-family:"Poppins","Helvetica Neue",Arial,sans-serif !important;
  font-weight:700 !important;font-size:18px !important;line-height:1.3 !important;
  margin:0 !important;color:var(--pjh-card-ink) !important;
}
.pjh-tiles .pjh-card p{
  margin:0 !important;font-size:14.5px !important;line-height:1.6 !important;
  color:var(--pjh-card-ink-soft) !important;
  text-wrap:pretty;
}

/* ---- CTA row ---- */
.pjh-tiles .pjh-cta{
  margin:44px auto 0;max-width:720px;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:18px 28px;text-align:center;
}
.pjh-tiles .pjh-cta p{
  flex:1 1 320px;margin:0 !important;
  font-size:15px !important;line-height:1.6 !important;
  color:var(--pjh-sub) !important;
}
.pjh-tiles a.pjh-btn{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:"Poppins","Helvetica Neue",Arial,sans-serif !important;
  font-size:15px !important;font-weight:600 !important;line-height:1 !important;
  color:#fff !important;
  padding:15px 30px !important;border-radius:999px !important;
  background:linear-gradient(140deg,var(--pjh-teal-500),var(--pjh-teal-700)) !important;
  box-shadow:0 12px 24px -12px rgba(15,92,86,.7);
  transition:transform .25s ease,box-shadow .25s ease,filter .25s ease;
}
.pjh-tiles a.pjh-btn:focus-visible{
  outline:2px solid var(--pjh-teal-300);outline-offset:3px;
  transform:translateY(-2px);
}
@media (hover:hover) and (pointer:fine){
  .pjh-tiles a.pjh-btn:hover{
    transform:translateY(-2px);filter:brightness(1.1);
    box-shadow:0 18px 30px -12px rgba(15,92,86,.8);
  }
}

.pjh-tiles .pjh-dots{display:none;}

/* ---- mobile: tighter panel + swipe carousel ---- */
@media (max-width:600px){
  .pjh-tiles{padding:56px 12px 64px !important;}
  .pjh-tiles .pjh-glass{padding:40px 18px;border-radius:22px;}
  .pjh-tiles .pjh-head{margin-bottom:32px;}

  .pjh-tiles .pjh-track{display:block;}
  .pjh-tiles .pjh-track__viewport{display:block;overflow:hidden;border-radius:18px;}
  .pjh-tiles .pjh-track__slides{
    display:flex;gap:0;align-items:stretch;
    touch-action:pan-y;transform:translate3d(0,0,0);
  }
  .pjh-tiles .pjh-card{
    flex:0 0 100%;width:100%;
    min-height:260px;justify-content:center;
    padding:32px 24px;box-shadow:none;
  }

  .pjh-tiles .pjh-dots{
    display:flex;justify-content:center;gap:6px;padding-top:18px;
  }
  .pjh-tiles .pjh-dots span{
    width:24px;height:4px;border-radius:2px;
    background:rgba(255,255,255,.32);
    transition:background-color .3s ease;
  }
  .pjh-tiles .pjh-dots span.is-on{background:var(--pjh-teal-400);}

  .pjh-tiles .pjh-cta{margin-top:32px;}
  .pjh-tiles .pjh-cta p{flex-basis:100%;}
}

@media (prefers-reduced-motion:reduce){
  .pjh-tiles .pjh-card,.pjh-tiles a.pjh-btn{transition:none;}
}
