/* ============ Base ============ */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #FCFAF3;
}

body {
  font-family: 'Nunito', sans-serif;
  color: #1C2B57;
  min-height: 100vh;
}

a { color: #2E5BFF; text-decoration: none; }
a:hover { color: #1E3FD0; text-decoration: underline; }

h1, h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; }

img { max-width: 100%; display: block; }

input:focus {
  outline: none;
  border-color: #2E5BFF !important;
  box-shadow: 0 0 0 3px #DCE4FF;
}

@keyframes popIn {
  0% { transform: scale(.6); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ Buttons ============ */
.btn {
  border: none;
  border-radius: 14px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .3px;
  border-bottom: 4px solid transparent;
  transition: filter .12s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(2px); border-bottom-width: 2px; }

.btn-blue { background: #2E5BFF; color: #fff; border-bottom-color: #1E3FD0; }
.btn-green { background: #2FBF71; color: #fff; border-bottom-color: #1F9557; }
.btn-yellow { background: #FFD84D; color: #1C2B57; border-bottom-color: #D9A800; }
.btn-disabled, .btn:disabled { background: #C9D2EA; color: #fff; border-bottom-color: #AEB9D6; cursor: not-allowed; }
.btn:disabled:hover { filter: none; }
.btn:disabled:active { transform: none; border-bottom-width: 4px; }

.btn-lg { padding: 16px 32px; font-size: 18px; border-radius: 16px; }
.btn-full { width: 100%; padding: 16px; font-size: 17px; border-radius: 16px; margin-top: 34px; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FCFAF3;
  border-bottom: 2px solid #EEE9DC;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  background: #2E5BFF;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 800 20px 'Baloo 2';
  border-bottom: 3px solid #1E3FD0;
}
.brand-name { font: 800 22px 'Baloo 2'; color: #1C2B57; }
.brand-name .accent { color: #2E5BFF; }
.nav-links {
  flex: 1;
  display: flex;
  gap: 26px;
  justify-content: flex-end;
  font-weight: 800;
  font-size: 15px;
}
.nav-links a { color: #5A688F; text-decoration: none; }
.nav-links a:hover { color: #2E5BFF; }

/* ============ Hero ============ */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: center;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF3CE;
  border: 2px solid #F4DE9A;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 13px;
  color: #8A6A00;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -.5px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: #5A688F;
  margin: 0 0 28px;
  max-width: 480px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.link-cta {
  font: 800 16px 'Baloo 2';
  color: #2E5BFF;
  text-decoration: none;
  padding: 14px 6px;
}
.hero-points { display: flex; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #5A688F;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: #2FBF71; }
.dot-yellow { background: #FFC933; }
.dot-purple { background: #8C5BFF; }

.hero-art { position: relative; }
.blob-square {
  position: absolute;
  inset: -18px -10px auto auto;
  width: 110px;
  height: 110px;
  background: #FFD84D;
  border-radius: 32px;
  transform: rotate(12deg);
  z-index: 0;
}
.blob-circle {
  position: absolute;
  bottom: -22px;
  left: -26px;
  width: 84px;
  height: 84px;
  background: #BFD1FF;
  border-radius: 50%;
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  border: 3px solid #1C2B57;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 8px 8px 0 #1C2B57;
  background: #fff;
}
.hero-photo img { width: 100%; height: 380px; object-fit: cover; }
.float-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 2px solid #E4E9F7;
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 8px 20px rgba(28, 43, 87, .12);
}
.float-card-1 { top: 22px; left: -24px; animation: floaty 4s ease-in-out infinite; }
.float-card-2 { bottom: 26px; right: -18px; animation: floaty 5s ease-in-out infinite; }
.fc-big { font: 800 22px 'Baloo 2'; }
.fc-mid { font-size: 16px; }
.fc-green { color: #2FBF71; }
.fc-blue { color: #2E5BFF; }
.fc-small { font-size: 12px; font-weight: 700; color: #5A688F; }

/* ============ Stats band ============ */
.stats-band { background: #1C2B57; }
.stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num { font: 800 34px 'Baloo 2'; color: #FFD84D; }
.stat-label { font-weight: 700; font-size: 14px; color: #B9C4E6; }

/* ============ Sections ============ */
.section { max-width: 1120px; margin: 0 auto; padding: 72px 24px; }
.section h2 { font-size: 40px; margin: 0 0 8px; text-align: center; }
.section h2.h2-left { font-size: 32px; margin: 0; text-align: left; }
.section-sub {
  text-align: center;
  color: #5A688F;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 40px;
}
#subjects { padding-bottom: 24px; }
#how h2 { margin-bottom: 40px; }

/* ============ Subjects ============ */
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.subject-card {
  background: #fff;
  border: 2px solid #E4E9F7;
  border-bottom-width: 4px;
  border-radius: 20px;
  padding: 22px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  font-family: inherit;
  color: inherit;
  font-size: inherit;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.subject-card:hover {
  border-color: #2E5BFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(46, 91, 255, .12);
}
.subject-tile {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font: 800 18px 'Baloo 2';
}
.subject-name { font: 800 19px 'Baloo 2'; }
.subject-tag-row { display: inline-flex; }
.subject-tag {
  background: #F1F4FD;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #5A688F;
}
.subject-desc { font-size: 14px; color: #5A688F; font-weight: 600; line-height: 1.5; }

/* ============ How it works ============ */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-card { border-radius: 24px; padding: 30px; }
.how-blue { background: #EAF0FF; }
.how-yellow { background: #FFF3CE; }
.how-green { background: #E2F7EC; }
.how-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 20px 'Baloo 2';
  margin-bottom: 16px;
}
.how-num-blue { background: #2E5BFF; }
.how-num-yellow { background: #F0B400; }
.how-num-green { background: #2FBF71; }
.how-title { font: 800 21px 'Baloo 2'; margin-bottom: 8px; }
.how-desc { color: #4A5885; font-weight: 600; line-height: 1.6; font-size: 15px; }

/* ============ Pricing ============ */
.pricing-band { background: #fff; border-top: 2px solid #EEE9DC; border-bottom: 2px solid #EEE9DC; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #FCFAF3;
  border: 2px solid #E4E9F7;
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-card.popular { background: #1C2B57; border-color: #1C2B57; color: #fff; }
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFD84D;
  border: 2px solid #1C2B57;
  border-radius: 999px;
  padding: 4px 14px;
  font: 800 12px 'Baloo 2';
  color: #1C2B57;
  white-space: nowrap;
}
.price-label { font: 800 18px 'Baloo 2'; color: #2E5BFF; }
.price-card.popular .price-label { color: #FFD84D; }
.price-amount { display: flex; align-items: baseline; gap: 6px; }
.price-amount span { font: 800 40px 'Baloo 2'; }
.price-perhr { font-weight: 800; font-size: 14px; color: #2FBF71; }
.price-note {
  font-size: 14px;
  color: #5A688F;
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
  margin-top: 6px;
}
.price-card.popular .price-note { color: #B9C4E6; }
.price-card .btn { margin-top: 16px; padding: 12px; font-size: 15px; }
.pricing-footnote {
  text-align: center;
  margin-top: 26px;
  font-weight: 700;
  color: #5A688F;
  font-size: 14px;
}

/* ============ Testimonials ============ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  background: #fff;
  border: 2px solid #E4E9F7;
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars { color: #FFC933; font-size: 18px; letter-spacing: 2px; }
.quote { font-size: 15.5px; line-height: 1.65; font-weight: 600; color: #38466F; flex: 1; }
.person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 16px 'Baloo 2';
}
.person-name { font-weight: 800; font-size: 14px; }
.person-role { font-size: 12.5px; color: #5A688F; font-weight: 700; }

/* ============ Resources ============ */
.section-resources { padding-top: 0; }
.resources-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resource-card {
  text-decoration: none;
  color: #1C2B57;
  background: #fff;
  border: 2px solid #E4E9F7;
  border-bottom-width: 4px;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease;
}
.resource-card:hover { border-color: #2E5BFF; text-decoration: none; color: #1C2B57; }
.tag {
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
}
.resource-title { font: 800 19px 'Baloo 2'; line-height: 1.3; }
.resource-desc { font-size: 14px; color: #5A688F; font-weight: 600; line-height: 1.55; }

/* ============ FAQ ============ */
.faq-band { background: #fff; border-top: 2px solid #EEE9DC; }
.faq-inner { max-width: 760px; margin: 0 auto; padding: 72px 24px; }
.faq-inner h2 { font-size: 40px; margin: 0 0 32px; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 2px solid #E4E9F7;
  border-radius: 16px;
  overflow: hidden;
  background: #FCFAF3;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font: 800 17px 'Baloo 2';
  background: none;
  border: none;
  color: inherit;
  text-align: left;
}
.faq-q:hover { background: #F4F1E6; }
.faq-chev { color: #2E5BFF; font-size: 20px; }
.faq-a {
  padding: 0 22px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #4A5885;
  line-height: 1.65;
}

/* ============ Footer ============ */
.footer { background: #1C2B57; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.footer-title { font-size: 42px; color: #fff; margin: 0 0 12px; }
.footer-sub { color: #B9C4E6; font-size: 17px; font-weight: 600; margin: 0 0 28px; }
.footer-bar {
  margin-top: 56px;
  border-top: 1px solid #2E3E73;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand { font: 800 18px 'Baloo 2'; color: #fff; }
.footer-brand span { color: #7D96FF; }
.footer-legal { color: #7386B8; font-size: 13px; font-weight: 700; }

/* ============ Booking ============ */
#view-booking { min-height: 100vh; display: flex; flex-direction: column; }
#view-booking[hidden], #view-home[hidden] { display: none; }
.book-topbar { background: #FCFAF3; border-bottom: 2px solid #EEE9DC; }
.book-topbar-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
}
.back-btn {
  background: #fff;
  border: 2px solid #E4E9F7;
  border-bottom-width: 4px;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  font: 800 18px 'Baloo 2';
  color: #5A688F;
  cursor: pointer;
  flex-shrink: 0;
}
.back-btn:hover { border-color: #2E5BFF; color: #2E5BFF; }
.progress { flex: 1; display: flex; gap: 8px; }
.progress-seg { flex: 1; height: 10px; border-radius: 999px; background: #E4E9F7; }
.progress-seg.done { background: #2FBF71; }
.step-label { font: 800 14px 'Baloo 2'; color: #5A688F; white-space: nowrap; }

.book-main {
  flex: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 44px 24px 80px;
}
.book-main h2 { font-size: 34px; margin: 0 0 6px; }
.book-sub { color: #5A688F; font-weight: 600; margin: 0 0 28px; }

/* Step 1: subject choices */
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid #E4E9F7;
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}
.choice-card:hover { border-color: #2E5BFF; }
.choice-card.selected { border-color: #2E5BFF; }
.choice-tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font: 800 15px 'Baloo 2';
  flex-shrink: 0;
}
.choice-body { flex: 1; }
.choice-name { font: 800 16px 'Baloo 2'; }
.choice-tag { font-size: 12.5px; font-weight: 700; color: #5A688F; }
.radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #C9D2EA;
  background: transparent;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.selected .radio-dot { border-color: #2E5BFF; background: #2E5BFF; }

.level-block { margin-top: 26px; }
.level-title { font: 800 18px 'Baloo 2'; margin-bottom: 12px; }
.level-row { display: flex; gap: 10px; }
.level-pill {
  background: #fff;
  color: #1C2B57;
  border: 2px solid #E4E9F7;
  border-radius: 999px;
  padding: 10px 22px;
  font: 800 15px 'Baloo 2';
  cursor: pointer;
}
.level-pill:hover { border-color: #2E5BFF; }
.level-pill.selected { background: #2E5BFF; color: #fff; border-color: #2E5BFF; }

/* Step 2: time slots */
.days-grid { display: grid; gap: 10px; }
.day-col { display: flex; flex-direction: column; gap: 8px; }
.day-head {
  text-align: center;
  padding: 8px 4px;
  background: #EAF0FF;
  border-radius: 12px;
}
.day-dow { font: 800 14px 'Baloo 2'; }
.day-date { font-size: 12px; font-weight: 800; color: #5A688F; }
.slot-btn {
  background: #fff;
  color: #1C2B57;
  border: 2px solid #E4E9F7;
  border-radius: 10px;
  padding: 9px 4px;
  font: 800 13.5px 'Baloo 2';
  cursor: pointer;
}
.slot-btn:hover { border-color: #2E5BFF; }
.slot-btn.selected { background: #2E5BFF; color: #fff; border-color: #2E5BFF; }
.slot-btn.busy {
  background: #F1F4FD;
  color: #AEB9D6;
  border-color: #EEF1FA;
  text-decoration: line-through;
  cursor: default;
}
.slot-btn.busy:hover { border-color: #EEF1FA; }
.slots-loading {
  border: 2px dashed #E4E9F7;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  font: 800 16px 'Baloo 2';
  color: #8A94B8;
}
.sync-note {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #8A94B8;
}
.form-error {
  margin-top: 16px;
  background: #FFE9E9;
  border: 2px solid #F5C2C2;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #C03A3A;
}

/* Step 3: package choices */
.pkg-list { display: flex; flex-direction: column; gap: 12px; }
.pkg-row {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 2px solid #E4E9F7;
  border-radius: 18px;
  padding: 18px 22px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}
.pkg-row:hover { border-color: #2E5BFF; }
.pkg-row.selected { border-color: #2E5BFF; }
.pkg-body { flex: 1; }
.pkg-label { font: 800 18px 'Baloo 2'; }
.pkg-note { font-size: 13.5px; font-weight: 700; color: #5A688F; }
.pkg-pop-badge {
  background: #FFF3CE;
  color: #8A6A00;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.pkg-price { text-align: right; }
.pkg-price-amt { font: 800 22px 'Baloo 2'; }
.pkg-price-hr { font-size: 12.5px; font-weight: 800; color: #2FBF71; }

/* Step 4: checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.card-panel {
  background: #fff;
  border: 2px solid #E4E9F7;
  border-radius: 20px;
  padding: 28px;
}
.card-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.card-panel-title { font: 800 18px 'Baloo 2'; }
.card-brands { display: flex; gap: 6px; }
.card-brand {
  border: 1px solid #E4E9F7;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
}
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  font-size: 13px;
  font-weight: 800;
  color: #5A688F;
  display: block;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  border: 2px solid #E4E9F7;
  border-radius: 12px;
  padding: 12px 14px;
  font: 600 15px 'Nunito';
}
.pay-btn { margin-top: 24px; width: 100%; padding: 15px; font-size: 17px; }
.secure-note {
  text-align: center;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #8A94B8;
}
.order-panel {
  background: #1C2B57;
  border-radius: 20px;
  padding: 26px;
  color: #fff;
}
.order-title { font: 800 17px 'Baloo 2'; margin-bottom: 18px; color: #FFD84D; }
.order-rows { display: flex; flex-direction: column; gap: 12px; font-size: 14px; font-weight: 700; }
.order-row { display: flex; justify-content: space-between; gap: 12px; }
.order-row .k { color: #B9C4E6; }
.order-row .v { text-align: right; }
.order-total {
  border-top: 1px solid #2E3E73;
  margin: 18px 0;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.order-total .k { font: 800 16px 'Baloo 2'; }
.order-total .v { font: 800 28px 'Baloo 2'; color: #FFD84D; }
.order-fine { font-size: 12.5px; font-weight: 700; color: #7386B8; line-height: 1.5; }

/* Step 5: confirmation */
.confirm-wrap { max-width: 520px; margin: 24px auto 0; text-align: center; }
.confirm-check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #2FBF71;
  border-bottom: 5px solid #1F9557;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  animation: popIn .5s ease both;
}
.confirm-wrap h2 { font-size: 36px; margin: 0 0 10px; }
.confirm-sub {
  color: #5A688F;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.confirm-card {
  background: #fff;
  border: 2px solid #E4E9F7;
  border-radius: 20px;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}
.confirm-row { display: flex; justify-content: space-between; gap: 12px; }
.confirm-row .k { color: #5A688F; }
.confirm-row .green { color: #2FBF71; }
.confirm-wrap .btn { margin-top: 28px; padding: 14px 32px; font-size: 16px; }

/* ============ Mobile-only components ============ */
.cta-note {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #5A688F;
}

.how-timeline { display: flex; flex-direction: column; }
.tl-step { display: flex; gap: 14px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 17px 'Baloo 2';
  flex-shrink: 0;
}
.tl-line { width: 3px; flex: 1; background: #E4E9F7; margin: 4px 0; }
.tl-body { padding-bottom: 22px; }
.tl-step:last-child .tl-body { padding-bottom: 0; }
.tl-title { font: 800 17px 'Baloo 2'; margin-bottom: 4px; }
.tl-desc { color: #4A5885; font-weight: 600; line-height: 1.55; font-size: 14px; }

.pricing-list-m { display: flex; flex-direction: column; gap: 12px; }
.pkg-m-row {
  position: relative;
  background: #FCFAF3;
  border: 2px solid #E4E9F7;
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #1C2B57;
  font-family: inherit;
  text-align: left;
  width: 100%;
}
.pkg-m-row.popular { background: #1C2B57; border-color: #1C2B57; color: #fff; }
.pkg-m-main { flex: 1; }
.pkg-m-pop {
  display: inline-block;
  background: #FFD84D;
  border-radius: 999px;
  padding: 3px 10px;
  font: 800 11px 'Baloo 2';
  color: #1C2B57;
  margin-bottom: 6px;
}
.pkg-m-label { display: block; font: 800 18px 'Baloo 2'; }
.pkg-m-note { display: block; font-size: 13px; font-weight: 700; color: #5A688F; line-height: 1.45; margin-top: 2px; }
.pkg-m-row.popular .pkg-m-note { color: #B9C4E6; }
.pkg-m-price { text-align: right; flex-shrink: 0; }
.pkg-m-amt { display: block; font: 800 24px 'Baloo 2'; }
.pkg-m-hr { display: block; font-size: 12px; font-weight: 800; color: #2FBF71; }
.pkg-m-chev { width: 20px; display: grid; place-items: center; color: #8A94B8; font-size: 20px; font-weight: 800; }
.pkg-m-row.popular .pkg-m-chev { color: #7D96FF; }

.swipe-hint { text-align: center; font-size: 12px; font-weight: 800; color: #8A94B8; margin-top: 6px; }

#sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(252, 250, 243, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 2px solid #EEE9DC;
  padding: 10px 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform .4s cubic-bezier(.32, .72, .35, 1.1);
  transform: translateY(110%);
}
#sticky-cta.shown { transform: translateY(0); }
.sc-info { flex: 1; min-width: 0; }
.sc-price { font: 800 14px 'Baloo 2'; }
.sc-sub { font-size: 11.5px; font-weight: 700; color: #5A688F; }
.sc-btn { padding: 13px 22px; font-size: 15px; min-height: 48px; white-space: nowrap; }

#book-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(252, 250, 243, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 2px solid #EEE9DC;
  padding: 12px 16px 16px;
}
#book-sticky .btn { width: 100%; padding: 15px; font-size: 17px; border-radius: 16px; min-height: 52px; }

.day-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 6px;
  margin: 0 -20px;
  scrollbar-width: none;
}
.day-chips::-webkit-scrollbar { display: none; }
.day-chip {
  flex-shrink: 0;
  background: #fff;
  color: #1C2B57;
  border: 2px solid #E4E9F7;
  border-radius: 14px;
  padding: 10px 16px;
  cursor: pointer;
  text-align: center;
  min-height: 56px;
  font-family: inherit;
}
.day-chip.selected { background: #2E5BFF; color: #fff; border-color: #2E5BFF; }
.dc-dow { font: 800 15px 'Baloo 2'; }
.dc-date { font-size: 11.5px; font-weight: 800; opacity: .75; }
.time-grid-m { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.time-grid-m .slot-btn { padding: 14px; font-size: 16px; min-height: 50px; border-radius: 12px; }

/* ============ Responsive ============ */
@media (min-width: 641px) {
  .mobile-only { display: none !important; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 64px; padding-top: 44px; }
  .hero h1 { font-size: 44px; }
  .subjects-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid, .testimonials-grid, .resources-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-panel { order: -1; }
}

@media (max-width: 640px) {
  .desktop-only { display: none !important; }

  /* Nav: logo only */
  .nav-links { display: none; }
  .nav-inner { padding: 12px 16px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
  .brand-name { font-size: 18px; }

  /* Hero: centered, no photo, reordered (h1 → sub → CTA → note → badge) */
  .hero { display: flex; flex-direction: column; gap: 0; padding: 28px 20px 8px; text-align: center; }
  .hero > div:first-child { display: flex; flex-direction: column; }
  .hero h1 { font-size: 36px; line-height: 1.12; letter-spacing: -.3px; order: 1; margin: 0 0 12px; }
  .hero-sub { font-size: 16px; line-height: 1.55; order: 2; margin: 0 0 20px; max-width: none; }
  .hero-ctas { order: 3; }
  .hero-ctas .btn { width: 100%; min-height: 52px; padding: 16px; font-size: 17px; }
  .cta-note { order: 4; }
  .pill-badge { order: 5; align-self: center; margin: 16px 0 0; font-size: 12px; padding: 5px 12px; }
  .hero-points, .hero-art { display: none; }

  /* Stats: 2x2, compact */
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 20px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 12.5px; }

  /* Sections: left-aligned compact headings */
  .section { padding: 40px 20px 8px; }
  .section h2 { font-size: 28px; text-align: left; margin: 0 0 6px; }
  .section-sub { text-align: left; font-size: 14.5px; margin: 0 0 18px; }

  /* Subjects: compact 2-col cards */
  .subjects-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .subject-card { padding: 14px; border-radius: 16px; gap: 8px; }
  .subject-tile { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
  .subject-name { font-size: 16px; line-height: 1.2; }
  .subject-tag { background: none; padding: 0; border-radius: 0; font-size: 11.5px; }
  .subject-desc { display: none; }

  /* Pricing band */
  .pricing-band { margin-top: 32px; padding: 0; }
  .pricing-band .section { padding: 36px 20px; }
  .pricing-footnote { font-size: 12.5px; margin-top: 16px; }

  /* Testimonials: swipe carousel */
  .testimonials-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 8px;
    margin: 0 -20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial { flex: 0 0 82%; scroll-snap-align: center; padding: 20px; border-radius: 18px; }
  .quote { font-size: 14.5px; }

  /* Resources: compact rows */
  .resources-head { margin-bottom: 14px; }
  .resources-grid { display: flex; flex-direction: column; gap: 10px; }
  .resource-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border-bottom-width: 2px;
  }
  .resource-card .tag { flex-shrink: 0; align-self: center; }
  .resource-title { font-size: 14.5px; flex: 1; }
  .resource-desc { display: none; }
  .resource-card::after { content: '›'; color: #8A94B8; font-size: 18px; font-weight: 800; }

  /* FAQ */
  .faq-band { margin-top: 32px; }
  .faq-inner { padding: 36px 20px; }
  .faq-inner h2 { font-size: 28px; text-align: left; margin: 0 0 18px; }
  .faq-q { padding: 15px 16px; font-size: 15px; }
  .faq-a { padding: 0 16px 16px; font-size: 14px; }

  /* Footer: room for the sticky CTA */
  .footer-inner { padding: 40px 20px 110px; }
  .footer-title { font-size: 28px; }
  .footer-sub { font-size: 15px; }
  .footer-inner > .btn { width: 100%; min-height: 52px; padding: 16px; font-size: 17px; }
  .footer-bar { justify-content: center; text-align: center; margin-top: 36px; }

  /* Booking */
  .book-topbar-inner { padding: 12px 16px; gap: 12px; }
  .back-btn { width: 44px; height: 44px; }
  .progress { gap: 6px; }
  .progress-seg { height: 8px; }
  .book-main { padding: 24px 20px 130px; }
  .book-main h2 { font-size: 26px; margin-bottom: 4px; }
  .book-sub { font-size: 14px; margin-bottom: 20px; }
  .choice-grid { grid-template-columns: 1fr; gap: 10px; }
  .level-row .level-pill { flex: 1; min-height: 48px; }
  /* inline continue/pay replaced by the sticky bar */
  .book-main .btn-full, .book-main .pay-btn { display: none; }
  .checkout-grid { display: flex; flex-direction: column; gap: 16px; }
  .order-panel { order: -1; padding: 18px; border-radius: 16px; }
  .card-panel { padding: 18px; border-radius: 16px; }
  .confirm-wrap .btn { width: 100%; min-height: 52px; }
}
