/* Course hero (Growth Modification, Aligners in Mixed Dentition) */
.course-hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 24px 80px; border-radius: 0 0 150px 0; background: radial-gradient(ellipse at 78% 45%, rgba(69, 208, 189, .16), transparent 45%), radial-gradient(at 100% 0%, rgba(39, 110, 114, .45), transparent 60%), #0a0f18; color: #fff; }
.course-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); pointer-events: none; }
.course-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; max-width: 1280px; margin-inline: auto; }
.course-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgba(119, 229, 209, .3); border-radius: 30px; background: rgba(119, 229, 209, .08); color: #9ff0de; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 2px; text-transform: uppercase; }
.course-hero__eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #77e5d1; box-shadow: 0 0 0 4px rgba(119, 229, 209, .2); }
.course-hero h1 { margin: 26px 0 34px; font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; line-height: 1.08; letter-spacing: -2px; }
.course-hero h1 span { display: block; margin-top: 10px; background: linear-gradient(100deg, #77e5d1, #6cb8f5); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: .62em; font-weight: 400; line-height: 1.2; letter-spacing: -1px; }
.course-hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.course-hero__facts li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .04); font-size: 18px; font-weight: 600; line-height: 1.45; }
.course-hero__facts small { display: block; margin-bottom: 4px; color: #8fa3b8; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.course-hero__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, #83e9d5, #39bba8); color: #0f3b3a; }
.course-hero__icon .icon { width: 22px; height: 22px; }
.course-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 44px; margin-top: 34px; }
.course-hero__cta { display: inline-flex; align-items: center; gap: 14px; padding: 18px 30px; border-radius: 14px; background: linear-gradient(108deg, #8258c8, #2c84c8); box-shadow: 0 12px 30px rgba(44, 132, 200, .3); color: #fff; font-size: 18px; font-weight: 600; transition: transform .25s, box-shadow .25s; }
.course-hero__cta .icon { width: 13px; height: 13px; }
.course-hero__cta:hover { box-shadow: 0 16px 36px rgba(130, 88, 200, .4); transform: translateY(-3px); }
.course-hero__seats { display: flex; align-items: center; gap: 12px; }
.course-hero__seats strong { color: #fbffb4; font: 600 58px/1 var(--font-heading); letter-spacing: -2px; }
.course-hero__seats span { color: #adb8c4; font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: 1px; text-transform: uppercase; }
.course-hero__media { position: relative; display: grid; place-items: center; margin: 0; }
.course-hero__media::before { content: ""; position: absolute; z-index: -1; width: 88%; aspect-ratio: 1; border: 1px solid rgba(119, 229, 209, .18); border-radius: 50%; background: radial-gradient(circle, rgba(69, 208, 189, .22), rgba(69, 208, 189, 0) 68%); box-shadow: 0 0 0 40px rgba(119, 229, 209, .03), 0 0 0 80px rgba(119, 229, 209, .02); }
.course-hero__media picture { display: contents; }
.course-hero__media img { display: block; width: min(100%, 480px); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
@media (prefers-reduced-motion: reduce) { .course-hero__cta { transition: none; } .course-hero__cta:hover { transform: none; } }
.course-hero__facts li:nth-child(3):last-child { grid-column: 1 / -1; }
.course-hero__status { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255, 120, 120, .35); border-radius: 30px; background: rgba(255, 90, 90, .1); color: #ffb4b4; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.course-hero__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; }
/* Offer block. Three quiet rows rather than one crowded line: what the offer
   is, what it costs, and the small print, with the button underneath. */
.course-hero__actions--stack { flex-direction: column; align-items: flex-start; gap: 24px; }
.course-hero__offer { display: grid; justify-items: start; gap: 12px; }
.course-hero__offer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.course-hero__offer-label { display: inline-flex; align-items: center; gap: 10px; color: #b9c8d8; font-size: 15px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.course-hero__offer[data-offer-ready] .course-hero__offer-label { opacity: 0; transform: translateY(5px); transition: opacity .35s ease .15s, transform .35s cubic-bezier(.22, 1, .36, 1) .15s; }
.course-hero__offer.is-live .course-hero__offer-label { opacity: 1; transform: none; }
.course-hero__offer-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff9f1c; box-shadow: 0 0 0 0 rgba(255, 159, 28, 0); }
/* One ring on arrival. A looping pulse would repaint above the fold forever,
   which is what pushed the home page Speed Index to 11s. */
.course-hero__offer.is-live .course-hero__offer-label::before { animation: offer-dot 1.6s ease-out .25s 1; }
@keyframes offer-dot { 0% { box-shadow: 0 0 0 0 rgba(255, 159, 28, .6); } 100% { box-shadow: 0 0 0 12px rgba(255, 159, 28, 0); } }
.course-hero__save { padding: 7px 16px 8px; border-radius: 30px; background: rgba(69, 208, 189, .16); box-shadow: inset 0 0 0 1px rgba(119, 229, 209, .45); color: #8ceada; font-size: 16px; font-weight: 700; letter-spacing: 1.2px; }
.course-hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; }
/* Falls back to a plain line-through when the script does not run. */
.course-hero__price s { position: relative; color: #7f8ea1; font-size: 26px; font-weight: 500; letter-spacing: -.4px; }
.course-hero__offer[data-offer-ready] .course-hero__price s { text-decoration: none; }
/* The line rests drawn, so suppressing animation leaves the price struck
   rather than looking like a second live price. The loop starts from there. */
.course-hero__offer[data-offer-ready] .course-hero__price s::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 2px; border-radius: 2px; background: #ff8080; transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.22, 1, .36, 1) .3s; }
.course-hero__offer.is-live .course-hero__price s::after { transform: scaleX(1); }
.course-hero__offer[data-offer-ready] .course-hero__save { opacity: 0; transform: translateY(5px); transition: opacity .35s ease .4s, transform .35s cubic-bezier(.22, 1, .36, 1) .4s; }
.course-hero__offer.is-live .course-hero__save { opacity: 1; transform: none; }
.course-hero__gst { color: #7f8ea1; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  .course-hero__offer.is-live .course-hero__offer-label::before { animation: none; }
  .course-hero__offer[data-offer-ready] .course-hero__offer-label,
  .course-hero__offer[data-offer-ready] .course-hero__price s::after,
  .course-hero__offer[data-offer-ready] .course-hero__save { transition: none; }
}
.course-hero__price strong { color: #fbffb4; font: 600 44px/1 var(--font-heading); letter-spacing: -1.5px; }
.course-hero__price span { display: inline-block; line-height: 1.3; color: #adb8c4; font-size: 15px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 767px) {
  .course-hero { padding: 40px 20px 56px; border-radius: 0 0 75px 0; }
  .course-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .course-hero__eyebrow { font-size: 11px; letter-spacing: 1.5px; }
  .course-hero h1 { margin: 20px 0 24px; font-size: 36px; letter-spacing: -1.2px; }
  .course-hero__facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .course-hero__facts li { padding: 14px 16px; font-size: 16px; }
  .course-hero__actions { margin-top: 26px; }
  .course-hero__cta { justify-content: center; width: 100%; padding: 17px 20px; font-size: 17px; }
  .course-hero__media { order: -1; margin-bottom: 8px; }
  .course-hero__media img { width: min(100%, 300px); }
  .course-hero__price strong { font-size: 38px; }
}

/* Offer panel: the standalone pricing block at the foot of a course page. */
.offer-panel { padding: 68px 24px 76px; background: radial-gradient(ellipse at 50% 0%, rgba(69, 208, 189, .1), transparent 58%), #0a0f18; }
.offer-panel__inner { display: grid; gap: 40px; max-width: 1320px; margin-inline: auto; }
.offer-panel__card { display: grid; justify-items: center; gap: 8px; width: min(100%, 660px); margin-inline: auto; padding: 32px 32px 36px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; background: linear-gradient(135deg, rgba(69, 208, 189, .09), rgba(255, 255, 255, .03)); text-align: center; }
.offer-panel__eyebrow { color: #8ceada; font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.offer-panel__card h2 { color: #fff; font-size: clamp(23px, 2.2vw, 29px); font-weight: 600; line-height: 1.2; letter-spacing: -.8px; }
.offer-panel__lead { color: #a9b8c8; font-size: 15px; line-height: 1.55; }
.offer-panel .course-hero__offer { justify-items: center; gap: 8px; margin-top: 6px; }
.offer-panel .course-hero__offer-meta, .offer-panel .course-hero__price { justify-content: center; }
.offer-panel .course-hero__cta { margin-top: 16px; padding: 15px 28px; }
@media (max-width: 767px) {
  .offer-panel { padding: 48px 20px 56px; }
  .offer-panel__inner { gap: 32px; }
  .offer-panel__card { padding: 26px 20px 30px; }
  .offer-panel__lead { font-size: 14px; }
}
