/* ============================================================
   Admissions Edge course sales page styles
   Reuses styles.css (system) + home.css (hero, marquee, why-grid,
   vslider, testi wall, faq, bridge) + coaching.css (fit, receipts,
   stack, slim nav/footer). This file adds course-specific pieces.
   ============================================================ */

/* ---------- Hero ---------- */
/* Prevent the highlight swatch from bleeding over the trailing period */
.course-hero h1 .hl::after { right: 0; }

/* Give the copy column more room; keep the portrait compact so the layout
   doesn't feel left-heavy. */
.course-hero .hero__inner { grid-template-columns: 1.3fr 0.8fr; max-width: var(--container); }
.course-hero .hero__sub { max-width: 36em; }
.hero__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2);
}
.hero__art { max-width: 340px; margin: 0 auto; }
.hero__art img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 18%;
  aspect-ratio: 4 / 5;
  box-shadow: 10px 10px 0 0 var(--lime);
}
@media (max-width: 900px) {
  .course-hero .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 320px; }
}
@media (max-width: 640px) {
  /* Mobile: drop the founder portrait and tighten the gap above "Self-paced" */
  .course-hero .hero__art { display: none; }
  .expect.section--tight { padding-top: var(--s3); }
}

/* ---------- Trust band (social proof + credibility) ---------- */
.trust-band {
  display: flex;
  align-items: center;
  gap: clamp(var(--s4), 5vw, var(--s7));
  background: var(--teal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  box-shadow: var(--shadow-lift);
  margin-bottom: var(--s6);
}
.trust-band__score {
  flex: 0 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  padding-right: clamp(var(--s4), 4vw, var(--s6));
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.stars { display: inline-flex; gap: 0.15em; }
.stars svg { width: 1.5em; height: 1.5em; fill: var(--lime); }
.trust-band__score strong {
  font-size: var(--fs-sm);
  color: var(--aqua);
  font-weight: 600;
  max-width: 12em;
  line-height: 1.3;
}
/* Right column of trust band: heading + list */
.trust-band__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.trust-band__heading {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--lime);
  margin: 0 0 var(--s2);
  line-height: 1.25;
}
.trust-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s3);
}
.trust-band__list li {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.4;
}
.tb-ico {
  flex: 0 0 auto;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  background: rgba(241, 254, 153, 0.14);
  color: var(--lime);
  display: grid;
  place-items: center;
}
.tb-ico svg { width: 1.35em; height: 1.35em; }
@media (max-width: 820px) {
  .trust-band { flex-direction: column; align-items: stretch; gap: var(--s4); padding: var(--s4); }
  .trust-band__score {
    padding-right: 0; padding-bottom: var(--s3);
    border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
  .trust-band__score strong { max-width: none; }
  .trust-band__right { gap: var(--s3); }
}

/* ---------- Value cards (lift them off the flat lavender bubble) ---------- */
.expect .why-card {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
}
.expect .why-card img {
  height: 132px;
}

/* ---------- Audience cards (Juniors / Seniors / Parents) ---------- */
.aud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s5);
}
.aud__card {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--s4);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.aud__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.aud__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--lavender-soft);
  color: var(--purple);
  margin-bottom: var(--s3);
}
.aud__icon svg { width: 26px; height: 26px; }
.aud__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.6em;
}
.aud__card h3 { font-size: var(--fs-lg); margin-bottom: 0.4em; }
.aud__card p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .aud { grid-template-columns: 1fr; } }

/* Alternative path (Private Coaching) reads as a different good option,
   not a negative. Lavender arrow markers instead of red X's. */
.fit__card--alt li::before {
  background-color: var(--lavender);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239569EF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* Fit footnote link */
.fit-note {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin: var(--s3) auto 0;
}
.fit-note a { font-weight: 600; }

/* ---------- Curriculum modules (vertical timeline accordion) ---------- */
.modules { position: relative; padding-left: 84px; }
/* the connecting line runs behind the numbered nodes */
.modules::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 26px;
  bottom: 26px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(var(--purple), var(--lavender));
}
.modules details { position: relative; }
.modules summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}
.modules summary::after { margin-left: auto; }
.mod-num {
  position: absolute;
  left: -79px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--teal);
  font-size: var(--fs-lg);
  font-weight: 700;
  /* ring in the section background so the node sits cleanly on the line */
  box-shadow: 0 0 0 5px var(--lavender-soft);
}
.modules details[open] .mod-num { background: var(--lime); }
/* Plus/X toggle: yellow by default, brand teal on hover and when open.
   The glyph is overlaid as a 26px box matching the circle so the + (and the
   rotated X) stays perfectly centered; it turns cream so it reads on teal. */
.modules summary::before {
  right: var(--s4);
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}
.modules summary:hover::after { background: var(--teal); color: var(--cream); }
.modules summary:hover::before { color: var(--cream); }
.modules details[open] summary::after { background: var(--teal); color: var(--cream); }
.modules details[open] summary::before {
  color: var(--cream);
  transform: translateY(-50%) rotate(135deg);
}
@media (max-width: 600px) {
  .modules { padding-left: 60px; }
  .modules::before { left: 22px; }
  .mod-num { left: -62px; top: 10px; width: 44px; height: 44px; font-size: var(--fs-md); }
}
.modules .faq__a ul {
  margin: 0;
  padding: 0 0 0 0;
  list-style: none;
}
.modules .faq__a li {
  position: relative;
  padding-left: 1.9em;
  margin-bottom: 0.6em;
  line-height: 1.55;
}
.modules .faq__a li:last-child { margin-bottom: 0; }
.modules .faq__a li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004347' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 0.8em;
  background-repeat: no-repeat;
  background-position: center;
}

/* CTA row under curriculum */
.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s5);
}

/* ---------- Pricing ---------- */
.price-wrap { max-width: 640px; margin: var(--s5) auto 0; }
.price-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.price-card__head {
  background: var(--teal);
  color: var(--cream);
  text-align: center;
  padding: var(--s4) var(--s4) var(--s3);
}
.price-card__head h3 { color: var(--cream); font-size: var(--fs-xl); margin-bottom: 0.2em; }
.price-card__head p { color: var(--aqua); font-size: var(--fs-sm); margin: 0; }
.save-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--teal);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.4em 1.2em;
  margin-bottom: var(--s2);
}
.price-card__body { padding: var(--s4) var(--s5); }
.price-card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: var(--s2);
  display: block;
}
.price-list { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s2);
  padding: 0.65em 0;
  border-bottom: 1px solid rgba(0, 67, 71, 0.08);
  font-size: var(--fs-sm);
}
.price-list li:last-child { border-bottom: none; }
.price-list .item {
  position: relative;
  padding-left: 1.9em;
  color: var(--ink);
  font-weight: 500;
}
.price-list .item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004347' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 0.8em;
  background-repeat: no-repeat;
  background-position: center;
}
.price-list .val {
  flex: 0 0 auto;
  font-size: var(--fs-xs);
  color: var(--teal-muted);
  font-weight: 600;
  white-space: nowrap;
}
.price-card__total {
  text-align: center;
  padding-top: var(--s2);
}
.price-card__total .was {
  font-size: var(--fs-sm);
  color: var(--teal-muted);
}
.price-card__total .was s { text-decoration-color: var(--coral); }
.price-card__total .now {
  font-size: clamp(2rem, 3.6vw, 2.5rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
  margin: 0.1em 0 0.85em;
}
.price-card__total .now em { font-style: normal; color: var(--coral); }
.price-card__cta { display: flex; flex-direction: column; align-items: center; gap: var(--s1); padding-bottom: var(--s2); }
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  background: var(--aqua);
  border-radius: var(--radius-sm);
  padding: var(--s2) var(--s3);
  margin-top: var(--s3);
  font-size: var(--fs-xs);
  color: var(--ink);
}
.guarantee svg { flex: 0 0 22px; margin-top: 0.15em; }
.scholarship-note {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  max-width: 36em;
  margin: var(--s4) auto 0;
}
.scholarship-note a { font-weight: 600; color: var(--teal); text-decoration: underline; text-decoration-color: var(--purple); }

/* ---------- Everything you get (4-card stack on teal) ---------- */
.stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
  margin-top: var(--s5);
}
.stack__card {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--s4);
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.stack__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.stack__ico {
  height: 92px;
  width: auto;
  display: block;
  margin-bottom: var(--s3);
}
.stack__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.5em;
}
.stack__card h3 { font-size: var(--fs-md); margin-bottom: 0.45em; line-height: 1.3; color: var(--teal); }
@media (max-width: 980px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stack { grid-template-columns: 1fr; } }

/* ---------- Soft-lime background for testimonial section (matches home) ---------- */
.section--lime { background: var(--lime-soft); }

/* Course testimonials read left-to-right then down (not masonry columns) */
.testi-grid {
  column-count: initial;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.testi { margin-bottom: 0; display: flex; flex-direction: column; }
@media (max-width: 920px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- Trust band section: tighter vertical space ---------- */
.section--trust-band { padding: var(--s4) 0; }

/* ---------- Pricing enroll button: more breathing room ---------- */
.price-card__cta .btn--lg { padding-top: 1.3em; padding-bottom: 1.3em; }
@media (max-width: 640px) {
  .price-card__body { padding: var(--s3); }
  .price-list li { flex-direction: column; gap: 0.1em; }
  .price-list .val { padding-left: 2.45em; }
}

/* ---------- Coaching aside ---------- */
.aside-coach {
  max-width: 820px;
  margin: var(--s6) auto 0;
  background: #fff;
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  box-shadow: 8px 8px 0 0 var(--lavender);
  text-align: center;
}
.aside-coach .stack__tag { margin-bottom: 0.4em; }
.aside-coach h3 { font-size: var(--fs-xl); margin-bottom: var(--s2); }
.aside-coach p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  max-width: 44em;
  margin: 0 auto var(--s3);
}
@media (max-width: 720px) { .aside-coach { padding: var(--s4); } }

/* ---------- ThriveCart modal trigger styled as our buttons ---------- */
/* Strip the builder wrapper's own spacing so it lines up with adjacent buttons */
.cta-row .builder-v2-widget,
.cta-row .builder-v2-block,
.price-card__cta .builder-v2-widget,
.price-card__cta .builder-v2-block,
.bridge .builder-v2-widget,
.bridge .builder-v2-block {
  margin: 0;
  padding: 0;
  background: none;
  line-height: normal;
}
.cta-row .tc-v2-embeddable-trigger-el {
  font-family: 'Poppins', system-ui, sans-serif;
  padding: 1.05em 2.5em !important;
  white-space: nowrap;
  width: auto;
}
.price-card__cta .tc-v2-embeddable-trigger-el,
.bridge .tc-v2-embeddable-trigger-el {
  font-family: 'Poppins', system-ui, sans-serif;
  white-space: nowrap;
  width: auto;
  padding: 1.3em 2.5em !important;
  color: #fff !important;
}
.cta-row .builder-v2-block-plaintext,
.price-card__cta .builder-v2-block-plaintext,
.bridge .builder-v2-block-plaintext { padding: 0; font-weight: 600; }

/* Plan tier note inside price list items */
.plan-note {
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--purple);
  display: block;
  margin-top: 0.15em;
}

/* ---------- Legal / disclaimers ---------- */
.legal-notes {
  max-width: var(--container-narrow);
  margin: 0 auto var(--s4);
  font-size: var(--fs-xs);
  color: var(--teal-muted);
  text-align: left;
  line-height: 1.6;
}
.footer--slim .legal-notes p { max-width: none; margin: 0 0 var(--s2); }
.legal-notes h4 {
  color: var(--aqua);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: var(--s3) 0 0.4em;
}
