/* ===== INNER PAGES (course pages) — builds on styles.css + premium.css ===== */

/* Page hero */
.page-hero {
  padding: 170px 0 90px;
  background:
    radial-gradient(800px 420px at 85% 30%, rgba(217, 164, 65, 0.18), transparent 65%),
    linear-gradient(180deg, #fdfbf6 0%, #f7efe0 100%);
  position: relative;
  overflow: hidden;
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--maroon); font-weight: 600; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.page-hero h1 em { font-style: italic; font-weight: 500; color: var(--maroon); }
.page-hero .lead {
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 36px;
}
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero-visual {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(28, 15, 20, 0.45);
  border: 6px solid #fff;
  aspect-ratio: 2 / 3;
  max-width: 400px;
  justify-self: center;
}
.page-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 100% center; }
.page-hero-visual.book { aspect-ratio: 840 / 1376; max-width: 320px; margin: 0 auto; border: 0; border-radius: 4px 10px 10px 4px; transform: rotate(3deg); }
.page-hero-visual.book img { object-position: center; }

/* Stat strip */
.stat-strip { margin-top: -44px; position: relative; z-index: 5; }
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 20px 50px -25px rgba(28, 15, 20, 0.3);
  padding: 0;
  max-width: 1000px;
}
.stat-strip .cell { padding: 30px 28px; text-align: center; }
.stat-strip .cell + .cell { border-left: 1px solid var(--border-light); }
.stat-strip .num {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.stat-strip .num em { font-style: italic; font-weight: 500; color: var(--gold-dark); font-size: 0.6em; }
.stat-strip .lbl {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-top: 6px;
}
.stat-strip .sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

/* Generic sections */
.page-section { padding: 110px 0; }
.page-section.alt { background: var(--cream); }
.page-section.white { background: #fff; }
.narrow { max-width: 820px; margin: 0 auto; }
.center { text-align: center; }
.center .section-subtitle { margin: 0 auto; }
.prose p { font-size: 1.06rem; line-height: 1.9; margin-bottom: 18px; }
.prose p:first-of-type::first-letter {
  font-family: var(--font-heading);
  float: left;
  font-size: 3.6rem;
  line-height: 0.9;
  padding: 6px 10px 0 0;
  color: var(--maroon);
}

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.split .sticky { position: sticky; top: 120px; }

/* "Why" list */
.why-list { display: grid; gap: 14px; }
.why-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.why-list li:hover { border-color: var(--border-gold); transform: translateX(4px); }
.why-list .n {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-dark);
  line-height: 1.4;
}
.why-list strong { color: var(--ink); display: block; font-size: 0.98rem; margin-bottom: 2px; }
.why-list p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Level accordion */
.levels { display: grid; gap: 12px; margin-top: 56px; }
.level-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.level-item.open { border-color: var(--border-gold); box-shadow: 0 20px 40px -24px rgba(28, 15, 20, 0.3); }
.level-item > button {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto 28px;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.level-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.5);
  display: grid; place-items: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-dark);
  transition: all 0.3s;
}
.level-item.open .level-badge { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.level-title small {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--maroon);
}
.level-title span { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.level-price { text-align: right; white-space: nowrap; }
.level-price s { color: var(--text-muted); font-size: 0.85rem; margin-right: 6px; }
.level-price b { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.chev {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream);
  transition: transform 0.35s var(--ease-out);
}
.level-item.open .chev { transform: rotate(180deg); }
.level-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.level-item.open .level-body { grid-template-rows: 1fr; }
.level-body > div { overflow: hidden; }
.level-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  padding: 6px 24px 26px 106px;
}
.level-inner ul { display: grid; gap: 8px; }
.level-inner li { position: relative; padding-left: 20px; font-size: 0.93rem; }
.level-inner li::before {
  content: '';
  position: absolute; left: 0; top: 0.7em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}
.level-facts { display: grid; gap: 10px; align-content: start; }
.level-facts div {
  display: flex; justify-content: space-between;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 10px;
  font-size: 0.86rem;
}
.level-facts dt, .level-facts span:first-child { color: var(--text-muted); }
.level-facts span:last-child { color: var(--ink); font-weight: 600; }

/* Module table */
.module-table { margin-top: 56px; display: grid; gap: 14px; }
.module-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.6fr;
  gap: 28px;
  align-items: center;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.module-row:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.module-row .idx { font-family: var(--font-heading); font-style: italic; font-size: 2rem; color: var(--gold-dark); }
.module-row h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.module-row .focus { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--maroon); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--ink);
}

/* Class steps (vertical timeline on dark) */
.steps-dark { background: radial-gradient(700px 400px at 85% 0%, rgba(217, 164, 65, 0.12), transparent 60%), var(--ink); color: #fff; }
.steps-dark .section-title { color: #fff; }
.steps-dark .section-title em { color: var(--gold-light); }
.steps-dark .section-label { color: var(--gold-light); }
.steps-dark .section-subtitle { color: rgba(255, 255, 255, 0.6); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 60px; counter-reset: step; }
.timeline li {
  padding: 28px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background 0.3s;
}
.timeline li:hover { border-color: rgba(217, 164, 65, 0.45); background: rgba(255, 255, 255, 0.05); }
.timeline li::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.timeline h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.timeline p { color: rgba(255, 255, 255, 0.6); font-size: 0.86rem; line-height: 1.6; }

/* Who should join */
.join-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  box-shadow: 0 30px 60px -35px rgba(28, 15, 20, 0.35);
}
.join-card .icon {
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  background: #faf3e4; color: var(--maroon);
}
.join-card h2 { font-family: var(--font-heading); font-weight: 600; font-size: 2rem; color: var(--ink); margin-bottom: 10px; }
.join-card h2 em { font-style: italic; font-weight: 500; color: var(--maroon); }
.join-card p { font-size: 1.02rem; line-height: 1.8; }

/* Mid-page banner */
.banner-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 40px;
  padding: 30px 36px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}
.banner-cta h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; }
.banner-cta h3 em { font-style: italic; font-weight: 500; color: var(--gold-light); }
.banner-cta p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; }

/* Other course cross-link */
.next-course {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 34px 40px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.next-course:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.next-course small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); }
.next-course h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.7rem; color: var(--ink); }
.next-course h3 em { font-style: italic; font-weight: 500; color: var(--maroon); }
.next-course .arrow {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--gold-light);
  display: grid; place-items: center; flex-shrink: 0;
}

.nav-links a.current { color: var(--maroon); }
.nav-links a.current::after { width: 100%; }

/* Responsive */
@media (max-width: 1024px) {
  .page-hero .container, .split { grid-template-columns: 1fr; gap: 50px; }
  .split .sticky { position: static; }
  .page-hero-visual { max-width: 420px; aspect-ratio: 4 / 3; }
  .page-hero-visual.book { max-width: 260px; aspect-ratio: 840 / 1376; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: 130px 0 80px; }
  .page-section { padding: 80px 0; }
  .stat-strip .container { grid-template-columns: 1fr; margin: 0 16px; }
  .stat-strip .cell + .cell { border-left: 0; border-top: 1px solid var(--border-light); }
  .stat-strip .cell { padding: 20px; }
  .level-item > button { grid-template-columns: 48px 1fr 28px; gap: 14px; padding: 16px; }
  .level-badge { width: 44px; height: 44px; font-size: 1.15rem; }
  .level-price { grid-column: 2; grid-row: 2; text-align: left; }
  .level-inner { grid-template-columns: 1fr; padding: 4px 16px 20px; gap: 18px; }
  .module-row { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .timeline { grid-template-columns: 1fr; }
  .join-card { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .join-card .icon { margin: 0 auto; }
  .next-course { padding: 26px 24px; }
  .next-course h3 { font-size: 1.35rem; }
}
