/* Hero: always centered */
.online-school-page .fl-hero {
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(111, 66, 193, .32), transparent 40%),
    linear-gradient(120deg, #12182f 0%, #1a2344 48%, #16203b 100%);
}

.online-school-page .fl-breadcrumb {
  justify-content: center;
}

.online-school-page .fl-hero h1,
.online-school-page .fl-hero__sub {
  margin-inline: auto;
}

.online-school-page .fl-hero h1 {
  max-width: 920px;
}

.online-school-page .fl-hero__sub {
  max-width: 820px;
  color: rgba(255, 255, 255, .78);
}

.online-school-page .fl-hero__actions,
.online-school-page .fl-hero__features {
  justify-content: center;
}

.online-school-page .os-hero-badge {
  color: #9ec5ff;
  border-color: rgba(158, 197, 255, .35);
  background: rgba(0, 0, 0, .35);
}

.online-school-page .fl-tracks-section .container {
  max-width: 980px;
}

.online-school-page .os-track {
  text-align: center;
  padding: 24px 22px 26px;
}

.online-school-page .os-track__code {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #1f1635;
  line-height: 1;
}

.online-school-page .os-track h3 {
  margin-bottom: 12px;
}

.os-stages {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.os-stage {
  background: #fff;
  border: 1px solid #ebe4f7;
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: 0 10px 24px rgba(48, 24, 96, .05);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.os-stage::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5px;
  width: auto;
  bottom: auto;
}

.os-stage--navy::before { background: #6f42c1; }
.os-stage--gold::before { background: #f0c419; }
.os-stage--lilac::before { background: #8b6fd6; }
.os-stage--green::before { background: #2f9e5d; }

.os-stage__badge {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0ebff;
  color: #5b3db8;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
}

.os-stage--gold .os-stage__badge {
  background: #eef4ff;
  color: #3557a0;
}

.os-stage--green .os-stage__badge {
  background: #eef2f7;
  color: #3f4b63;
}

.os-stage h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1f1635;
}

.os-stage > p {
  margin: 0 0 14px;
  color: #5f5674;
  line-height: 1.8;
}

.os-stage__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 4px;
}

.os-stage__tags span {
  background: #f3f4f6;
  color: #4b5563;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .82rem;
  font-weight: 600;
}

.os-stage__note {
  margin: 0 0 8px !important;
  color: #8b849c !important;
  font-size: .95rem;
}

.os-stage__footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e5e0f0;
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.7;
}

.os-schedule {
  max-width: 820px;
  margin: 0 auto;
}

.os-schedule__card {
  background: #fff;
  border: 1px solid #ebe4f7;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(48, 24, 96, .05);
}

.os-schedule__row {
  display: grid;
  grid-template-columns: minmax(110px, 150px) 1fr;
  gap: 14px 18px;
  padding: 18px 22px;
  border-bottom: 1px dashed #e6e0f2;
  align-items: start;
  text-align: start;
}

.os-schedule__row:last-child {
  border-bottom: 0;
}

.os-schedule__time {
  color: #5b3db8;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
}

.os-schedule__body {
  display: grid;
  gap: 4px;
}

.os-schedule__body strong {
  color: #2a2150;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.5;
}

.os-schedule__body span {
  color: #6b7280;
  line-height: 1.7;
  font-size: .95rem;
}

.os-eval {
  background: #fff;
  border: 1px solid #ebe4f7;
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(48, 24, 96, .05);
  height: 100%;
}

.os-eval__value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #6f42c1;
  margin-bottom: 8px;
}

.os-eval h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #1f1635;
}

.os-eval p {
  margin: 0;
  color: #5f5674;
  line-height: 1.7;
  font-size: .9rem;
}

@media (max-width: 575px) {
  .os-schedule__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
