/* Shared program page UI — visual cards, stage picker, hero sizing */

/* Secondary CTA — green family, equal weight to primary */
.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  border: 2px solid rgba(90, 157, 67, 0.55);
  box-shadow: 0 10px 22px rgba(7, 31, 54, 0.18);
}

.btn-secondary:hover {
  border-color: var(--green-2);
  box-shadow: 0 12px 26px rgba(59, 127, 50, 0.22);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.btn-row .btn {
  min-width: 200px;
}

/* Compact program heroes (logo lives in site header) */
.program-hero-copy h1 {
  font-size: clamp(2rem, 3.5vw, 2.85rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  text-transform: none !important;
}

.program-hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem) !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: rgba(16, 35, 58, 0.82) !important;
}

/* Stage picker — replaces dropdown */
.stage-picker {
  margin: 22px 0 18px;
}

.stage-picker-label {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16, 35, 58, 0.62);
  margin-bottom: 12px;
}

.stage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.stage-pill {
  appearance: none;
  border: 2px solid rgba(16, 35, 58, 0.12);
  background: #fff;
  color: var(--deep-navy);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.stage-pill:hover {
  border-color: rgba(59, 127, 50, 0.45);
  transform: translateY(-1px);
}

.program-hero-copy .stage-picker-label {
  text-align: left;
}

.program-hero-copy .stage-pills {
  justify-content: flex-start;
}

.stage-pill.is-active {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 127, 50, 0.25);
}

.stage-pill-label-short {
  display: none;
}

/* Visual cards with image headers */
.visual-card-grid {
  display: grid;
  gap: 22px;
}

.visual-card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.visual-card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.visual-card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.visual-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 35, 58, 0.08);
  box-shadow: 0 14px 36px rgba(3, 20, 36, 0.08);
  height: 100%;
}

.visual-card-media {
  position: relative;
  min-height: 168px;
  background-size: cover;
  background-position: center;
}

.visual-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 20, 36, 0.05) 0%, rgba(3, 20, 36, 0.55) 100%);
}

.visual-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.visual-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  color: var(--deep-navy);
  letter-spacing: -0.03em;
}

.visual-card-body p {
  margin: 0 0 14px;
  color: rgba(16, 35, 58, 0.76);
  font-size: 0.96rem;
  line-height: 1.45;
  flex: 1;
}

.visual-card-price {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--green);
}

.visual-card-body .btn {
  align-self: flex-start;
  width: 100%;
  justify-content: center;
}

/* LIFE framework — full-width story image, never cropped as background */
.life-framework-section {
  padding: 64px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--mint) 100%);
}

.life-framework-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 35, 58, 0.08);
  box-shadow: 0 20px 56px rgba(3, 20, 36, 0.1);
}

.life-framework-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.life-framework-intro {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.life-framework-intro h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.life-framework-intro p {
  margin: 0;
  color: rgba(16, 35, 58, 0.74);
}

.life-framework-more {
  margin: 22px 0 0;
}

.life-framework-more a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.life-framework-more a:hover {
  text-decoration: underline;
}

/* Wide visual band */
.visual-band {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.visual-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 20, 36, 0.88) 0%, rgba(3, 20, 36, 0.45) 55%, rgba(3, 20, 36, 0.2) 100%);
}

.visual-band-copy {
  position: relative;
  z-index: 1;
  padding: 36px 40px;
  max-width: 560px;
  color: #fff;
}

.visual-band-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.visual-band-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

/* Feature row — image + text, not icon boxes */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split-feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(3, 20, 36, 0.14);
}

.split-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.split-feature-list li {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.split-feature-list li strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

@media (max-width: 1020px) {
  .visual-card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-card-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .split-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .visual-card-grid.cols-2,
  .visual-card-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .stage-pills {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }

  .stage-pill {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 10px 6px;
    font-size: 0.74rem;
    line-height: 1.15;
    text-align: center;
  }

  .stage-pill-label-full {
    display: none;
  }

  .stage-pill-label-short {
    display: inline;
  }

  .program-hero-copy .stage-pills,
  .page-hero .stage-pills {
    justify-content: stretch;
  }

  .visual-band-copy {
    padding: 28px 24px;
  }
}
