

/* ─── PROGRAMS PAGE ──────────────────────────────────────────────────────── */

.programs-hero {
  /* Drops top padding from 5rem to 1.5rem to pull the heading up */
  padding-top: calc(var(--nav-h) + 2.5rem); 
  padding-bottom: 0; /* Erases bottom padding on the hero */
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Safely targets the section below the hero to erase the massive top gap 
   without breaking the layout grids or left/right side margins */
.programs-hero + .section {
  padding-top: 1rem !important;
}

.programs-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(108,79,189,0.18) 0%, transparent 70%),
    var(--bg);
  pointer-events: none;
}

/* ─── CLASSIC BLACKISH HOME-STYLE CARDS ENGINE ───────────────────────────── */
.prog-page-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.prog-card-white {
  background: var(--bg-2); /* Blackish background matching page theme */
  border: 1px solid var(--border); /* Subtle, elegant border */
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.prog-card-white.featured {
  border-top: 3px solid var(--gold); /* Uses your main brand gold */
}

.prog-card-white-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.prog-card-white-label {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--white); /* Whitish text */
}

.prog-card-white-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.prog-card-white-price .price-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  color: var(--white); /* Whitish price */
}

.prog-card-white-price .price-period {
  font-size: 0.85rem;
  color: var(--white-dim); /* Softer white for secondary text */
}

.prog-card-white-price .price-was {
  font-size: 0.72rem;
  color: var(--white-ghost); /* Faded white for struck-through text */
  text-decoration: line-through;
}

.prog-card-white-schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0.5rem 0 1rem;
}

.prog-card-white-schedule .schedule-item .item-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light); /* Golden labels */
  font-weight: 500;
}

.prog-card-white-schedule .schedule-item p {
  color: var(--white-dim); /* Whitish text */
  font-size: 0.9rem;
  margin-top: 0.1rem;
}

.prog-card-white-includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  list-style: none;
}

.prog-card-white-includes li {
  font-size: 0.88rem;
  color: var(--white-dim); /* Whitish checklist items */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prog-card-white-includes li::before {
  content: '✓';
  color: var(--gold); /* Gold checkmarks */
  font-size: 0.75rem;
  flex-shrink: 0;
}

.prog-card-white-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.action-btn-enroll {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.action-btn-enroll:hover {
  background: var(--gold);
  color: var(--bg);
}

.action-btn-more {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  color: var(--white-dim);
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
}

.action-btn-more:hover {
  border-color: var(--white);
  color: var(--white);
}

.prog-card-white-note {
  font-size: 0.68rem;
  color: var(--gold-light);
  margin-top: 0.75rem;
  font-style: italic;
}
/* ─── CURRICULUM GRID ────────────────────────────────────────────────────── */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.curriculum-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  background: var(--bg-2);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.curriculum-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-3px); }

.curr-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.curr-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.curr-desc {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  color: var(--white-dim);
  font-family: var(--font-body);
  font-weight: 300;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--white); }
.faq-question span:first-child { flex: 1; }
.faq-icon { font-size: 1.2rem; color: var(--gold); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-question { color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq-answer p { font-size: 0.9rem; color: var(--white-dim); line-height: 1.7; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .prog-page-cards-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 550px; }
  .curriculum-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .curriculum-grid { grid-template-columns: 1fr; }
  .prog-card-white-actions { flex-direction: column; }
  .action-btn-enroll, .action-btn-more { text-align: center; justify-content: center; }
}