.pack-page { --pack-accent: #911517; }
.pack-page .pack-value-container { padding-top: 32px; }
.pack-page .pack-total-value { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 10px 0 0; border: 0; border-top: 1px solid #d8bcc3; border-radius: 0; background: transparent; }
.pack-page .pack-total-value::before, .pack-page .pack-total-value::after { content: ''; position: absolute; top: -13px; width: 1px; height: 12px; background: #d8bcc3; }
.pack-page .pack-total-value::before { left: 0; }
.pack-page .pack-total-value::after { right: 0; }
.pack-page .pack-total-label { font-size: .82rem; color: #75616c; }
.pack-page .pack-total-copy p { margin: 8px 0 0; color: #42323c; font-size: 1.15rem; font-weight: 600; }
.pack-page .pack-total-copy del { margin-left: 8px; color: #97828b; text-decoration-thickness: 2px; }
.pack-page .pack-total-current { display: flex; flex-direction: column; gap: 4px; }
.pack-page .pack-total-current span { color: #75616c; font-size: .82rem; }
.pack-page .pack-total-current strong { color: var(--pack-accent); font-size: clamp(1.4rem, 2.5vw, 1.8rem); line-height: 1.2; letter-spacing: -.03em; }
@media (max-width: 767px) { .pack-page .pack-total-value { flex-direction: column; text-align: center; gap: 20px; padding: 10px 0 0; } .pack-page .pack-total-value .pack-button { width: 100%; } }
.pack-page .pack-single-pricing { background: radial-gradient(ellipse at 15% 50%, #f6e8eb, transparent 60%), #fbf9fa; }
.pack-page .pack-offer { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); max-width: 1080px; margin: auto; border: 1px solid #e9dadd; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 20px 60px #49202a0d; }
.pack-page .pack-offer-summary { padding: clamp(26px, 4vw, 48px); background: linear-gradient(145deg, #fff6f5, #f5e9ed); }
.pack-page .pack-offer-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--pack-accent); margin-bottom: 18px; }
.pack-page .pack-offer h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 700; line-height: 1.3; color: #30232d; margin-bottom: 16px; }
.pack-page .pack-offer-summary > p { color: #6b606a; line-height: 1.7; }
.pack-page .pack-offer-discount { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.pack-page .pack-offer-discount del { color: #81727b; font-size: 1.15rem; }
.pack-page .pack-offer-discount > span:not(.visually-hidden) { padding: 5px 10px; border-radius: 30px; background: #e3f3e9; color: #246546; font-size: .78rem; font-weight: 700; }
.pack-page .pack-offer-price { margin-top: 8px; font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.05em; color: #30232d; line-height: 1.2; }
.pack-page .pack-offer-summary .pack-offer-price-note { font-size: .83rem; margin: 10px 0 26px; }
.pack-page .pack-offer-enroll { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 12px; background: var(--pack-accent); color: #fff; font-weight: 700; transition: background .2s; }
.pack-page .pack-offer-enroll:hover { background: #701012; color: #fff; }
.pack-page .pack-offer-help { display: block; margin-top: 12px; text-align: center; font-size: .78rem; color: #766773; }
.pack-page .pack-offer-benefits { padding: clamp(26px, 4vw, 48px); }
.pack-page .pack-offer-benefits ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; list-style: none; padding: 0; margin: 28px 0 0; }
.pack-page .pack-offer-benefits li { display: flex; align-items: flex-start; gap: 10px; color: #544b55; font-size: .88rem; line-height: 1.5; }
.pack-page .pack-offer-benefits li i { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: #f7e9eb; color: var(--pack-accent); font-size: .65rem; }
@media (max-width: 767px) { .pack-page .pack-offer { grid-template-columns: minmax(0, 1fr); border-radius: 20px; } }
@media (max-width: 420px) { .pack-page .pack-offer-benefits ul { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.pack-page section, .pack-page #pack-courses { scroll-margin-top: 100px; }
.pack-page .pack-eyebrow { display: block; color: var(--pack-accent); font-size: .8rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 16px; }
.pack-page .pack-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 0 44px;
  background: radial-gradient(ellipse at 10% 15%, #f7e4e6 0%, transparent 48%), radial-gradient(ellipse at 95% 70%, #eaf0fc 0%, transparent 45%), #fcfbfa;
  border-bottom: 1px solid #eee5e7;
}
.pack-page .pack-hero > .container { position: relative; z-index: 1; }
.pack-page .pack-hero-motion { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.pack-page .pack-hero-orb { position: absolute; width: clamp(240px, 38vw, 540px); aspect-ratio: 1; border-radius: 50%; animation: pack-hero-drift 18s ease-in-out infinite alternate; }
.pack-page .pack-hero-orb-warm { top: -45%; left: -8%; background: radial-gradient(circle, #e9a8b34d, #e9a8b300 70%); }
.pack-page .pack-hero-orb-cool { bottom: -65%; right: -6%; background: radial-gradient(circle, #97b5ef55, #97b5ef00 70%); animation-delay: -9s; animation-direction: alternate-reverse; }
.pack-page .pack-hero-shape { position: absolute; border: 1px solid #91151720; animation: pack-hero-float 12s ease-in-out infinite alternate; }
.pack-page .pack-hero-ring { width: 110px; height: 110px; border-radius: 50%; left: 6%; bottom: 14%; box-shadow: 0 0 0 18px #91151704; }
.pack-page .pack-hero-square { width: 64px; height: 64px; border-radius: 16px; right: 8%; top: 14%; border-color: #5277b82b; animation-delay: -6s; }
.pack-page .pack-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#796c8b0b 1px, transparent 1px), linear-gradient(90deg, #796c8b0b 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 38%, transparent 62%, #000);
  mask-image: linear-gradient(90deg, #000, transparent 38%, transparent 62%, #000);
}
.pack-page .pack-hero-orbit {
  position: absolute;
  width: clamp(260px, 30vw, 440px);
  aspect-ratio: 1;
  border: 1px solid #9d709922;
  border-radius: 50%;
  box-shadow: 0 0 0 28px #9d709906, 0 0 0 29px #9d709912, 0 0 0 66px #9d709905;
  animation: pack-hero-orbit-spin 38s linear infinite;
}
.pack-page .pack-hero-orbit::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 50%;
  top: -4px;
  border-radius: 50%;
  background: #ba7d94;
  box-shadow: 0 0 0 5px #ba7d9412, 0 0 18px #ba7d9440;
}
.pack-page .pack-hero-orbit-left { left: -16%; top: 8%; }
.pack-page .pack-hero-orbit-right { right: -17%; bottom: -32%; animation-direction: reverse; animation-duration: 46s; border-color: #6c8ac526; }
.pack-page .pack-hero-orbit-right::before { background: #8da6d4; box-shadow: 0 0 0 5px #8da6d412, 0 0 18px #8da6d440; }
.pack-page .pack-hero-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b87a90;
  box-shadow: 0 0 12px #b87a9055;
  animation: pack-hero-particle-drift 9s ease-in-out infinite alternate;
}
.pack-page .pack-hero-particle-one { left: 19%; top: 18%; }
.pack-page .pack-hero-particle-two { right: 22%; bottom: 17%; animation-delay: -4s; background: #809ac6; }
.pack-page .pack-hero-particle-three { right: 13%; top: 45%; animation-delay: -7s; width: 3px; height: 3px; }
@keyframes pack-hero-orbit-spin {
  to { transform: rotate(360deg); }
}
@keyframes pack-hero-particle-drift {
  from { transform: translate3d(0, 8px, 0); opacity: .35; }
  to { transform: translate3d(12px, -14px, 0); opacity: .85; }
}
@keyframes pack-hero-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(65px, 35px, 0) scale(1.18); }
}
@keyframes pack-hero-float {
  from { transform: translateY(0) rotate(-12deg); }
  to { transform: translateY(-24px) rotate(18deg); }
}
@media (max-width: 575px) {
  .pack-page .pack-hero-ring { left: -65px; bottom: 8%; }
  .pack-page .pack-hero-square { right: -25px; top: 8%; }
  .pack-page .pack-hero-orbit-left { left: -230px; }
  .pack-page .pack-hero-orbit-right { right: -235px; }
  .pack-page .pack-hero-particle-three { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pack-page .pack-hero-motion span { animation: none; }
}
.pack-page .pack-hero-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #746b73; font-size: .82rem; }
.pack-page .pack-hero-breadcrumb a { color: var(--pack-accent); font-weight: 600; }
.pack-page .pack-hero-content { max-width: 920px; margin: 42px auto 0; text-align: center; }
.pack-page .pack-hero-label { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 9px 16px; border: 1px solid #e9d5d8; border-radius: 50px; background: #ffffffc9; color: #852630; font-size: .78rem; font-weight: 600; letter-spacing: .025em; }
.pack-page .pack-hero h1 { margin: 22px 0 18px; color: #242332; font-size: clamp(2.4rem, 5.2vw, 4.5rem); font-weight: 800; line-height: 1.09; letter-spacing: -.045em; text-wrap: balance; }
.pack-page .pack-hero h1 span { color: var(--pack-accent); }
.pack-page .pack-hero h2 { margin-bottom: 12px; color: #393545; font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.4; font-weight: 600; text-wrap: balance; }
.pack-page .pack-hero-description { max-width: 680px; margin: 0 auto; color: #696573; font-size: 1rem; line-height: 1.75; }
.pack-page .pack-hero .pack-actions { justify-content: center; margin-top: 26px; }
.pack-page .pack-hero .pack-button { min-height: 48px; border-radius: 12px; box-shadow: 0 6px 16px #91151718; }
.pack-page .pack-hero .pack-button-outline { background: #fff; color: #393545; border-color: #dcd6de; box-shadow: none; }
.pack-page .pack-hero .pack-button-outline:hover { background: #f7edef; border-color: var(--pack-accent); color: var(--pack-accent); }
.pack-page .pack-hero-skills { margin: 36px auto 0; padding-top: 24px; border-top: 1px solid #e7dfe6; max-width: 1000px; text-align: center; }
.pack-page .pack-hero-skills p { margin-bottom: 14px; color: #766e7a; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.pack-page .pack-hero-skills ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pack-page .pack-hero-skills a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid #e6dfe7; border-radius: 9px; background: #ffffffb3; color: #514958; font-size: .8rem; font-weight: 500; }
.pack-page .pack-hero-skills a i { color: var(--pack-accent); }
.pack-page .pack-hero-skills a:hover { background: #fff; border-color: var(--pack-accent); color: var(--pack-accent); }
.pack-page .pack-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pack-page .pack-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--pack-accent); border-radius: 10px; background: var(--pack-accent); color: white; font-weight: 600; text-align: center; }
.pack-page .pack-button:hover { background: #701012; color: white; }
.pack-page .pack-button-outline { color: var(--pack-accent); background: transparent; }
.pack-page a:focus-visible { outline: 3px solid #136ad5; outline-offset: 4px; }
.pack-page #key-benefits { background: linear-gradient(180deg, #fff 0%, #fcf7f7 100%); }
.pack-page .pack-benefit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 100%;
  padding: 30px 24px;
  border: 1px solid #eee3e4;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 60%, #fff7f7);
  box-shadow: 0 6px 24px rgba(69, 24, 30, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pack-page .pack-benefit::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -48px;
  right: -48px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(145, 21, 23, .06);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(145, 21, 23, .025);
  pointer-events: none;
}
.pack-page .pack-benefit::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 24px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--pack-accent), #dc9a9b);
  transition: width .25s ease;
}
.pack-page .pack-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border: 1px solid #f0d9da;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff1f1, #f8e4e5);
  color: var(--pack-accent);
  font-size: 22px;
  box-shadow: inset 0 1px 0 #fff;
}
.pack-page .pack-benefit h3 { margin-bottom: 12px; color: #29232a; font-size: 1.15rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.4; }
.pack-page .pack-benefit p { margin-bottom: 0; color: #64616a; font-size: .94rem; line-height: 1.75; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pack-page .pack-benefit:hover { transform: translateY(-6px); border-color: #dcb5b7; box-shadow: 0 18px 36px rgba(69, 24, 30, .09); }
  .pack-page .pack-benefit:hover::after { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .pack-page .pack-benefit, .pack-page .pack-benefit::after { transition: none; }
}
.pack-page #es-services .es-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pack-page #es-services .es-card { min-width: 0; }
.pack-page #es-services .pack-course-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.pack-page #pack-courses + .container .es-desc { margin-bottom: 0; }
.pack-page #pack-courses + .container .es-cta { margin: 0; }
.pack-page #pack-courses + .container .pack-course-media { position: relative; }
.pack-page #pack-courses + .container .pack-course-worth { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; background: #ffffffed; color: #49202a; font-size: .8rem; box-shadow: 0 3px 12px #00000015; }
.pack-page #pack-courses + .container .pack-course-arrow { align-self: flex-end; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.pack-page #pack-courses + .container .es-grid { gap: 24px; }
.pack-page #pack-courses + .container .pack-program-card .es-card-inner { padding: 0; gap: 0; border: 1px solid #eae5e7; border-radius: 20px; background: #fff; backdrop-filter: none; box-shadow: 0 5px 22px #30232d08; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pack-page #pack-courses + .container .pack-program-card .es-card-inner::before,
.pack-page #pack-courses + .container .pack-program-card .es-card-inner::after { display: none; }
.pack-page #pack-courses + .container .pack-course-media { overflow: hidden; background: #f3eeee; }
.pack-page #pack-courses + .container .pack-course-image { border-radius: 0; aspect-ratio: 16 / 10; transition: transform .5s ease; }
.pack-page #pack-courses + .container .pack-course-worth { top: 14px; left: 14px; padding: 8px 12px; border: 1px solid #ffffff60; border-radius: 30px; background: #ffffffed; color: #30232d; font-size: .76rem; box-shadow: 0 4px 16px #00000012; }
.pack-page #pack-courses + .container .pack-course-worth strong { color: var(--pack-accent); font-size: .9rem; }
.pack-page #pack-courses + .container .pack-course-content { display: flex; flex-direction: column; flex: 1; padding: 10px 24px; }
.pack-page #pack-courses + .container .es-desc { color: #69616c; font-size: .9rem; line-height: 1.5; }
.pack-page #pack-courses + .container .pack-course-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; margin-top: 0; }
.pack-page #pack-courses + .container .pack-course-included { display: inline-flex; align-items: center; gap: 7px; color: #7e6a72; font-size: .73rem; font-weight: 500; }
.pack-page #pack-courses + .container .pack-course-included i { color: var(--pack-accent); font-size: .65rem; }
.pack-page #pack-courses + .container .pack-course-arrow { flex: 0 0 42px; width: 42px; height: 42px; background: #f8ebee; color: var(--pack-accent); box-shadow: none; }
.pack-page #pack-courses + .container .pack-course-arrow:hover { background: var(--pack-accent); color: #fff; opacity: 1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pack-page #pack-courses + .container .pack-program-card:hover .es-card-inner { transform: translateY(-5px); border-color: #d6afb7; box-shadow: 0 16px 34px #49202a12; }
  .pack-page #pack-courses + .container .pack-program-card:hover .pack-course-image { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .pack-page #pack-courses + .container .pack-program-card .es-card-inner,
  .pack-page #pack-courses + .container .pack-course-image { transition: none; }
}
.pack-page .pack-pricing { max-width: 760px; margin: auto; padding: 36px; border: 1px solid #eadfe0; border-radius: 20px; }
.pack-page .pack-included { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.pack-page .pack-included i { color: var(--pack-accent); margin-right: 6px; }
.pack-page .pack-faq-title { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--primary); }
.pack-page .pack-faq-intro { color: var(--text-light); font-size: .94rem; }
.pack-page #pack-faq button.ct-faq-summary { width: 100%; border: 0; background: transparent; text-align: left; font-family: inherit; }
.pack-page #pack-faq button.ct-faq-summary:focus-visible { outline: 2px solid var(--pack-accent); outline-offset: -2px; }
.pack-page #pack-faq .ct-faq-body[hidden] { display: none; }
@media (max-width: 991px) {
  .pack-page #es-services .es-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .pack-page #es-services .es-grid, .pack-page .pack-included { grid-template-columns: minmax(0, 1fr); }
  .pack-page .pack-pricing { padding: 24px 18px; }
  .pack-page .pack-actions .pack-button { width: 100%; }
  .pack-page .pack-hero { padding: 22px 0 30px; }
  .pack-page .pack-hero-content { margin-top: 30px; }
  .pack-page .pack-hero h1 { font-size: 2.4rem; overflow-wrap: anywhere; }
  .pack-page .pack-hero-skills { margin-top: 28px; }
}

.propack-marquee { overflow: hidden; padding: 10px 0; background: #911517; color: #fff; }
.propack-marquee-track { display: flex; width: max-content; animation: propack-marquee-scroll 24s linear infinite; }
.propack-marquee-list { display: flex; align-items: center; flex-shrink: 0; list-style: none; padding: 0; margin: 0; }
.propack-marquee-list li { display: flex; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap; font-size: clamp(.9rem, 1.8vw, 1.15rem); font-weight: 600; }
.propack-marquee-list li::after { content: '\2726'; color: #efb5b6; font-size: 1.1rem; }
@keyframes propack-marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .propack-marquee-track { animation: none; width: 100%; }
    .propack-marquee-list { flex-wrap: wrap; justify-content: center; gap: 16px 0; width: 100%; }
    .propack-marquee-list[aria-hidden="true"] { display: none; }
}

/* Alternating career paths, scoped to pack pages. */
.pack-page .pack-careers { --career-bg: #fcf7f7; --career-card: #fff; --career-accent: #911517; background: var(--career-bg); overflow: hidden; }
.pack-careers .pack-careers-wrap { max-width: 980px; margin: 0 auto; padding: 4vh 20px 6vh; }
.pack-careers .career-timeline { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
.pack-careers .career-timeline::before, .pack-careers .career-progress { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; transform: translateX(-50%); background: #91151726; border-radius: 2px; }
.pack-careers .career-progress { background: var(--career-accent); height: 0; bottom: auto; transition: height .15s linear; }
.pack-careers .career-item { display: contents; }
.pack-careers .career-card { align-self: start; background: var(--career-card); border: 1px solid #efdee0; border-radius: 6px; padding: 22px 24px 20px; box-shadow: 0 6px 18px #49202a0d; margin-bottom: 3vh; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.pack-careers .career-left .career-card { grid-column: 1; }
.pack-careers .career-right .career-card { grid-column: 3; margin-top: 0vh; }
.pack-careers .career-card h3 { margin: 0 0 10px; font-size: 1.02rem; font-weight: 600; color: var(--career-accent); letter-spacing: .2px; }
.pack-careers .career-card p { margin: 0; font-size: .8rem; line-height: 1.55; font-weight: 500; color: #696573; }
.pack-careers .career-dot { grid-column: 2; position: relative; justify-self: center; z-index: 2; width: 14px; height: 14px; border-radius: 50%; background: var(--career-bg); border: 2px solid var(--career-accent); margin-top: 34px; transition: background .4s, box-shadow .4s; }
.pack-careers .career-right .career-dot { margin-top: 34px; }
.pack-careers .career-item:nth-child(2) .career-dot { width: 22px; height: 22px; background: var(--career-accent); margin-top: 28px; }
.pack-careers .career-item .career-card, .pack-careers .career-item .career-dot { grid-row: var(--career-row); }
.pack-careers .career-animated .career-card { opacity: 0; }
.pack-careers .career-animated .career-left .career-card { transform: translateX(-90px); }
.pack-careers .career-animated .career-right .career-card { transform: translateX(90px); }
.pack-careers .career-animated .career-visible .career-card { opacity: 1; transform: none; }
.pack-careers .career-visible .career-dot { background: var(--career-accent); box-shadow: 0 0 0 5px #91151722; }
@media (max-width: 720px) {
  .pack-careers .pack-careers-wrap { padding: 3vh 16px 5vh; }
  .pack-careers .career-timeline { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
  .pack-careers .career-timeline::before, .pack-careers .career-progress { left: 14px; }
  .pack-careers .career-left .career-card, .pack-careers .career-right .career-card { grid-column: 2; margin-top: 0; margin-bottom: 3vh; padding: 18px 18px 16px; }
  .pack-careers .career-animated .career-item .career-card { transform: translateX(50px); }
  .pack-careers .career-animated .career-visible .career-card { transform: none; }
  .pack-careers .career-item .career-dot { grid-column: 1; margin-top: 26px; }
  .pack-careers .career-item:nth-child(2) .career-dot { margin-top: 22px; }
  .pack-careers .career-card h3 { font-size: .98rem; }
  .pack-careers .career-card p { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pack-careers .career-animated .career-item .career-card { opacity: 1; transform: none; transition: none; }
  .pack-careers .career-progress, .pack-careers .career-dot { transition: none; }
}

/* Sequential program benefit flow. */
.pack-page .pack-feature-stage { --flow-bg: #fcf7f7; --flow-card: #fff; --flow-border: #d8afb3; --flow-accent: #911517; --flow-ring: #efdadd; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--flow-bg); }
.pack-feature-stage .pack-feature-flow { width: 100%; max-width: 1000px; display: flex; align-items: center; }
.pack-feature-stage .pack-feature-card { box-sizing: border-box; flex: 1 1 0; min-width: 0; height: 116px; background: var(--flow-card); border: 1px solid var(--flow-border); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.pack-feature-stage .pack-feature-card:first-child { border-color: var(--flow-accent); }
.pack-feature-stage .pack-feature-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--flow-ring); display: grid; place-items: center; }
.pack-feature-stage .pack-feature-icon-inner { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.pack-feature-stage .pack-feature-icon-core { width: 22px; height: 22px; border-radius: 50%; background: var(--flow-accent); color: #fff; display: grid; place-items: center; }
.pack-feature-stage .pack-feature-icon svg { width: 12px; height: 12px; }
.pack-feature-stage .pack-feature-card h3 { margin: 0; color: #30232d; font-size: .95rem; font-weight: 600; text-align: center; padding: 0 10px; }
.pack-feature-stage .pack-feature-connector { flex: 0 0 clamp(60px, 10vw, 110px); display: flex; align-items: center; padding: 0 2px; }
.pack-feature-stage .pack-feature-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--flow-accent); flex: none; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.pack-feature-stage .pack-feature-dash { flex: 1; border-top: 3px dashed var(--flow-border); margin: 0 6px 0 10px; transform-origin: left; transition: transform .5s ease; }
.pack-feature-stage .pack-feature-animated:not(.pack-feature-visible) .pack-feature-card { opacity: 0; transform: translateY(28px) scale(.95); }
.pack-feature-stage .pack-feature-animated:not(.pack-feature-visible) .pack-feature-dot { transform: scale(0); }
.pack-feature-stage .pack-feature-animated:not(.pack-feature-visible) .pack-feature-dash { transform: scaleX(0); }
.pack-feature-stage .pack-feature-visible > :nth-child(1) { transition-delay: .05s; }
.pack-feature-stage .pack-feature-visible > :nth-child(2) .pack-feature-dot { transition-delay: .55s; }
.pack-feature-stage .pack-feature-visible > :nth-child(2) .pack-feature-dash { transition-delay: .7s; }
.pack-feature-stage .pack-feature-visible > :nth-child(3) { transition-delay: 1.2s; }
.pack-feature-stage .pack-feature-visible > :nth-child(4) .pack-feature-dot { transition-delay: 1.7s; }
.pack-feature-stage .pack-feature-visible > :nth-child(4) .pack-feature-dash { transition-delay: 1.85s; }
.pack-feature-stage .pack-feature-visible > :nth-child(5) { transition-delay: 2.35s; }
@media (max-width: 760px) {
  .pack-feature-stage .pack-feature-flow { flex-direction: column; max-width: 340px; }
  .pack-feature-stage .pack-feature-card { flex: none; width: 100%; }
  .pack-feature-stage .pack-feature-connector { flex: none; height: 76px; width: auto; flex-direction: column; padding: 0; }
  .pack-feature-stage .pack-feature-dot { width: 12px; height: 12px; }
  .pack-feature-stage .pack-feature-dash { flex: 1; border-top: 0; border-left: 3px dashed var(--flow-border); margin: 6px 0 4px; transform-origin: top; }
  .pack-feature-stage .pack-feature-animated:not(.pack-feature-visible) .pack-feature-dash { transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .pack-feature-stage .pack-feature-flow .pack-feature-card, .pack-feature-stage .pack-feature-flow .pack-feature-dot, .pack-feature-stage .pack-feature-flow .pack-feature-dash { opacity: 1; transform: none; transition: none; }
}

.pack-page .pack-offer-enroll { width: 100%; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.pack-page .pack-offer-actions { display: grid; gap: 10px; }
/* Use the homepage program cards and category layout for pack selection. */
.custom-pack-builder { scroll-margin-top: 100px; }
.custom-pack-builder .courses-grid { min-width: 0; }
.custom-pack-option { position: relative; margin: 0; cursor: pointer; }
.custom-pack-option[hidden] { display: none !important; }
.custom-pack-option .course-image, .custom-pack-option .cur-img { display: block; }
.custom-pack-option .course-badge { max-width: calc(100% - 65px); }
.custom-pack-option input { position: absolute; top: 17px; right: 12px; z-index: 10; width: 22px; height: 22px; margin: 0; accent-color: #911517; cursor: inherit; }
.custom-pack-option:has(input:checked) { outline: 3px solid #911517; outline-offset: 2px; }
.custom-pack-option:has(input:checked) .course-badge { background: #911517; color: #fff; }
.custom-pack-option:has(input:focus-visible) { outline: 3px solid #911517; outline-offset: 5px; }
.custom-pack-option:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.custom-pack-selection { margin-top: 28px; padding: 24px; background: #fff; border: 1px solid #e8e3e0; border-radius: 20px; }
.custom-pack-selection h3 { margin-bottom: 14px; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; }
#custom-pack-selected { display: flex; flex-wrap: wrap; gap: 8px; color: #91847e; font-size: .85rem; }
.custom-pack-chip { border: 1px solid #eddcda; border-radius: 10px; background: #fcf4f2; color: #911517; padding: 9px 14px; font-size: .8rem; transition: background .2s; }
.custom-pack-chip:hover { background: #f6e5e2; }
.custom-pack-chip:focus-visible { outline: 3px solid #911517; outline-offset: 2px; }
#custom-pack-help { color: #91847e; font-size: .82rem; }
#pack-courses { scroll-margin-top: 100px; }
.pack-page button:disabled { opacity: .5; cursor: not-allowed; }
.custom-pack-payment-summary { font-size: .9rem; line-height: 1.6; padding: 12px; margin-top: 24px; }
.custom-pack-selection { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.custom-pack-selection-content { flex: 1; min-width: 0; }
.custom-pack-selection-actions { display: flex; flex-shrink: 0; gap: 12px; }
.pack-page [data-pack-course][hidden], .pack-page #es-services[hidden], .pack-page .pack-offer-discount[hidden] { display: none !important; }
.custom-pack-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 32px; border: 1px solid #eadedc; border-radius: 24px; background: #fff; color: #30232d; box-shadow: 0 24px 90px #20121f40; }
.custom-pack-dialog::backdrop { background: #20121fb3; backdrop-filter: blur(5px); }
.custom-pack-dialog h2 { padding-right: 30px; font-size: 1.65rem; font-weight: 700; }
.custom-pack-dialog > p { color: #786a65; font-size: .9rem; }
.custom-pack-dialog-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f5efed; color: #911517; font-size: 24px; }
.custom-pack-application-courses { margin: 22px 0; padding: 16px; background: #fcf4f2; border-radius: 12px; font-size: .85rem; }
.custom-pack-application-courses p { margin: 8px 0 0; line-height: 1.7; color: #786a65; }
.custom-pack-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.custom-pack-fields label { display: grid; gap: 7px; font-size: .83rem; font-weight: 600; }
.custom-pack-fields .form-control { min-height: 44px; border-radius: 10px; border-color: #e5dbd7; font-size: .9rem; }
.custom-pack-fields .form-control:focus { border-color: #911517; box-shadow: 0 0 0 3px #91151715; }
.custom-pack-field-wide { grid-column: 1 / -1; }
.custom-pack-submit { width: 100%; margin-top: 24px; }
#custom-pack-application-status { margin: 16px 0 0; font-size: .9rem; }
#custom-pack-application-status:empty { display: none; }
@media (max-width: 767px) { .custom-pack-selection { flex-direction: column; align-items: stretch; } .custom-pack-selection-actions { flex-wrap: wrap; } .custom-pack-selection-actions > * { flex: 1; } }
@media (max-width: 480px) { .custom-pack-dialog { padding: 24px 20px; } .custom-pack-fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .custom-pack-option, .custom-pack-option img { animation: none !important; transition: none !important; filter: none; }
}
