/* Programs page — premium cards (no frameworks) */

.pHero{
  padding: 64px 0 24px;
  background: linear-gradient(180deg, rgba(11,15,23,.03), rgba(11,15,23,0));
  border-bottom: 1px solid rgba(11,15,23,.06);
}
.pHero__inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}
.pHero__title{
  margin:0 0 10px;
  letter-spacing:-.02em;
}
.pHero__lead{
  margin:0 0 18px;
  color: rgba(11,15,23,.70);
  max-width: 70ch;
}
.pHero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.pSection{ padding: 44px 0 78px; }

.pGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 1050px){
  .pGrid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px){
  .pGrid{ grid-template-columns: 1fr; }
  .pHero{ padding-top: 46px; }
}

.pCard{
  background:#fff;
  border:1px solid rgba(11,15,23,.10);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(16,24,40,.10);
  display:flex;
  flex-direction:column;
  min-height: 100%;
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pCard:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 55px rgba(16,24,40,.14);
  border-color: rgba(11,15,23,.16);
}

.pCard__media{
  position:relative;
  background: rgba(11,15,23,.03);
  border-bottom: 1px solid rgba(11,15,23,.08);
}
.pCard__media img{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
}
.pCard__media--short img{ height: 160px; }

.pBadge{
  position:absolute;
  top: 12px;
  left: 12px;
  background:#fff;
  border:1px solid rgba(11,15,23,.12);
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 950;
  font-size: .86rem;
  box-shadow: 0 10px 25px rgba(16,24,40,.10);
}

.pCard__body{
  padding: 18px 18px 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  flex:1;
}

.pCard__title{
  margin:0;
  font-size: 1.02rem;
  font-weight: 950;
  color: rgba(11,15,23,.92);
  line-height: 1.25;
}
.pCard__title--hot{ color: #b8121f; }

.pCard__desc{
  margin:0;
  color: rgba(11,15,23,.70);
  line-height: 1.55;
}

.pCard__muted{
  margin:0;
  color: rgba(11,15,23,.62);
  font-size: .95rem;
  line-height: 1.5;
}

.pDivider{
  height:1px;
  background: rgba(11,15,23,.10);
  margin: 6px 0 2px;
}

.pCard__label{
  font-weight: 900;
  color: rgba(11,15,23,.80);
  font-size: .92rem;
}

.pList{
  margin:0;
  padding-left: 18px;
  color: rgba(11,15,23,.74);
  line-height: 1.55;
}
.pList li{ margin: 6px 0; }

.pSelectRow{ margin-top: 4px; }
.pSelect{
  width:100%;
  border: 1px solid rgba(11,15,23,.14);
  border-radius: 12px;
  padding: 12px 12px;
  background:#fff;
  font-weight: 800;
  color: rgba(11,15,23,.86);
  outline: none;
}
.pSelect:focus{
  border-color: rgba(193,18,31,.35);
  box-shadow: 0 0 0 4px rgba(193,18,31,.10);
}

.pCard__footer{
  margin-top:auto;
  padding-top: 10px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.pBtn{
  width: 140px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(11,15,23,.14);
  background: rgba(245,158,11,.90);
  color: rgba(11,15,23,.92);
  font-weight: 950;
  cursor:not-allowed;
  opacity:.92;
}

.pPayRow{
  display:flex;
  flex-wrap:wrap;
  gap: 6px;
  font-size: .72rem;
  color: rgba(11,15,23,.55);
}
.pPayRow span{
  border:1px solid rgba(11,15,23,.12);
  border-radius: 8px;
  padding: 3px 6px;
  background:#fff;
}

.pNotes{
  margin-top: 34px;
  display:grid;
  gap: 12px;
  text-align:center;
}
.pNote{
  margin:0;
  font-weight: 950;
  color: rgba(11,15,23,.78);
}
.pNote--danger{
  color: #c1121f;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
}

/* Reveal animation (controlled by JS) */
[data-reveal]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
[data-reveal].is-in{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; transition:none !important; }
  .pCard{ transition:none !important; }
}