/* Classes, times & tuition — Preschool v2 */
.class-options-section {
  background: var(--pre-paper);
}

.class-options-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.class-options-heading h2 {
  margin: 8px 0 10px;
  color: var(--green);
  font-size: clamp(2.3rem, 4.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.class-options-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.class-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(36,75,59,.12);
  border-radius: 28px;
  background: white;
  box-shadow: 0 14px 38px rgba(36,75,59,.06);
}

.program-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -84px;
  right: -62px;
  border-radius: 50%;
  background: rgba(243,221,160,.34);
}

.prek-program-card {
  border-color: rgba(212,166,62,.48);
  background: linear-gradient(180deg, #fffdf7 0%, #fffaf0 100%);
}

.prek-program-card::before {
  background: rgba(201,121,89,.14);
}

.program-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.program-type {
  display: block;
  margin-bottom: 6px;
  color: var(--terracotta);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.program-card h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  line-height: 1.13;
}

.program-days {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--pre-sage);
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
}

.prek-program-card .program-days {
  background: #f7e8b7;
}

.program-fit {
  min-height: 84px;
  margin: 22px 0;
  color: #59655e;
  font-size: .95rem;
  line-height: 1.64;
}

.program-fit strong {
  color: var(--green);
}

.program-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.program-times > div {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(36,75,59,.08);
  border-radius: 16px;
  background: #f4f8f2;
}

.prek-program-card .program-times > div {
  background: #fbf4e5;
}

.program-times span {
  color: #6f7973;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.program-times strong {
  color: var(--green);
  font-size: .95rem;
}

.program-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.program-price > span {
  color: #6a756e;
  font-size: .82rem;
  font-weight: 700;
}

.program-price > strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1;
  white-space: nowrap;
}

.program-price small {
  margin-left: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
}

.program-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--green);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.program-action:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.class-help-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 24px 26px;
  border: 1px solid rgba(36,75,59,.10);
  border-radius: 22px;
  background: #f4efe2;
}

.class-help-strip > div {
  max-width: 820px;
}

.class-help-strip strong {
  display: block;
  margin: 4px 0 6px;
  color: var(--green);
  font: 700 1.18rem/1.3 var(--serif);
}

.class-help-strip p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.58;
}

@media (max-width: 820px) {
  .class-options-grid {
    grid-template-columns: 1fr;
  }

  .program-fit {
    min-height: 0;
  }

  .class-help-strip {
    grid-template-columns: 1fr;
  }

  .class-help-strip .outline-button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .class-options-heading {
    margin-bottom: 24px;
  }

  .class-options-heading h2 {
    font-size: 2.35rem;
  }

  .class-options-heading p {
    font-size: .95rem;
    line-height: 1.55;
  }

  .program-card {
    padding: 22px 20px;
    border-radius: 23px;
  }

  .program-card-top {
    display: grid;
    gap: 12px;
    padding-bottom: 18px;
  }

  .program-days {
    justify-self: start;
  }

  .program-card h3 {
    font-size: 1.62rem;
  }

  .program-fit {
    margin: 18px 0;
    font-size: .91rem;
    line-height: 1.58;
  }

  .program-times {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .program-times > div {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 12px;
    padding: 13px 14px;
  }

  .program-price {
    align-items: center;
    margin-top: 18px;
    padding: 17px 0;
  }

  .program-price > strong {
    font-size: 1.9rem;
  }

  .class-help-strip {
    padding: 20px;
  }
}
