/* ============================================================
   chuongtrinhhoc-extra.css — sections unique to chuong-trinh-hoc.html
   (loaded after chuongtrinhhoc-base.css which carries shared tokens,
    hero, trust, future, bottom-form, footer styles)
============================================================ */

/* ====================================================
   SECTION: FUTURE JOURNEY — headline + content + image
   (reuses .tn-future / .tn-future-title--single from base)
==================================================== */
.ct-future {
  position: relative;
  overflow: hidden;
  background: #eef1f5;
}

.ct-future-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url('/landings/chuong-trinh-hoc/Assets/Hanhtrinh_bg.webp') center center / cover no-repeat;
  z-index: 0;
}

.ct-future .tn-future-inner,
.ct-future .ct-future-collage {
  position: relative;
  z-index: 1;
}

.ct-future-title {
  font-family: var(--display);
  font-weight: 700;
  color: #2667e0;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(28px, 4.4vw, 52px);
}

.ct-future-title em {
  font-style: italic;
  font-size: 1.12em;
  display: inline-block;
  margin-top: 6px;
}

.tn-future-text {
  font-family: var(--body);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.75;
  color: var(--ap-on-surface-variant);
  max-width: 820px;
  margin: 26px auto 0;
}

.ct-future-collage {
  max-width: 1100px;
  margin: clamp(36px, 5vw, 64px) auto 0;
  padding: 0 40px;
}

.ct-future-collage img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .ct-future-collage { padding: 0 20px; }
}

/* ====================================================
   SECTION: CAM KẾT — Cam kết kết quả đầu ra theo trình độ
   4 staggered program cards + Apo Buddy + kid + sparkles
==================================================== */
.ct-camket {
  position: relative;
  padding: clamp(64px, 8vw, 100px) 0 clamp(72px, 9vw, 120px);
  background: #f4f6f9;
  overflow: hidden;
}

.ct-camket-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  z-index: 1;
}

.ct-camket-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.ct-camket-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #2667e0;
  margin: 0;
}

.ct-camket-title small {
  display: block;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  margin-top: 4px;
}

/* Cards row — staircase */
.ct-camket-cards {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 2.4vw, 34px);
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 20px;
}

.ct-camket-card {
  flex: 0 0 clamp(150px, 21vw, 224px);
  display: block;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  filter: drop-shadow(0 18px 34px rgba(15, 40, 90, 0.16));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ct-camket-card-photo {
  width: 100%;
  height: auto;
  display: block;
}

.ct-camket-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.8vw, 22px);
}

.ct-camket-card-label span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}

.ct-camket-card-plus {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 3.4vw, 44px);
  height: clamp(30px, 3.4vw, 44px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: clamp(14px, 1.6vw, 18px);
}

.ct-camket-card:hover {
  transform: translateY(-6px);
}

/* Staircase: Mẫu giáo lowest → IELTS highest */
.ct-camket-card:nth-child(1) { margin-top: 180px; }
.ct-camket-card:nth-child(2) { margin-top: 120px; }
.ct-camket-card:nth-child(3) { margin-top: 60px; }
.ct-camket-card:nth-child(4) { margin-top: 0; }

/* Apo Buddy mascot — inside the frame, above first card */
.ct-camket-buddy {
  position: absolute;
  top: clamp(80px, 14vw, 150px);
  left: clamp(-40px, 3vw, -2px);
  width: clamp(288px, 33vw, 450px);
  pointer-events: none;
  z-index: 3;
  animation: ct-float 4s ease-in-out infinite;
}

/* Boy cutout — direct child of section, flush to section bottom */
.ct-camket-kid {
  position: absolute;
  right: clamp(20px, 5vw, 90px);
  bottom: 0;
  width: clamp(200px, 26vw, 380px);
  pointer-events: none;
  z-index: 2;
}

@keyframes ct-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Sparkles */
.ct-spark {
  position: absolute;
  color: #cdd9ec;
  z-index: 0;
  pointer-events: none;
}
.ct-spark--1 { top: 14%; right: 8%; font-size: 34px; }
.ct-spark--2 { top: 30%; right: 14%; font-size: 20px; }
.ct-spark--3 { bottom: 16%; left: 6%; font-size: 30px; }
.ct-spark--4 { bottom: 26%; left: 13%; font-size: 18px; }

@media (max-width: 860px) {
  .ct-camket-inner { padding: 0 20px; }
  .ct-camket-cards {
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 70px;
    max-width: 480px;
  }
  .ct-camket-card {
    flex: 0 0 calc(50% - 8px);
    margin-top: 0 !important;
  }
  .ct-camket-buddy { width: 92px; left: 8px; top: clamp(70px, 16vw, 110px); }
  .ct-camket-kid {
    position: static;
    display: block;
    width: 200px;
    margin: 28px auto 0;
  }
  .ct-spark { display: none; }
}

/* ====================================================
   SECTION: BƯỚC TIẾN — Trust spacer height tuned for 3 cards
   (markup reuses .tn-trust / .tn-trust-card from base)
==================================================== */
.ct-buoctien .tn-trust-spacer { height: 320vh; }

@media (max-width: 768px) {
  .ct-buoctien .tn-trust-spacer { height: 300vh; }

  /* Mobile-specific card backgrounds (override inline desktop images) */
  .ct-buoctien .tn-trust-card[data-index="0"] { background-image: url('/landings/chuong-trinh-hoc/Assets/card_1_mobile.webp') !important; }
  .ct-buoctien .tn-trust-card[data-index="1"] { background-image: url('/landings/chuong-trinh-hoc/Assets/card_2_mobile.webp') !important; }
  .ct-buoctien .tn-trust-card[data-index="2"] { background-image: url('/landings/chuong-trinh-hoc/Assets/card_3_mobile.webp') !important; }
}

/* ====================================================
   SECTION: BƯỚC NGOẶT — milestone rows (image + article)
==================================================== */
.ct-milestones {
  padding: clamp(72px, 9vw, 110px) 0;
  background: var(--ap-surface);
}

.ct-milestones-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

.ct-milestones-head {
  text-align: left;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.ct-milestones-head .tn-eyebrow {
  color: #2576b9;
}

.ct-milestones-head .tn-section-title {
  margin: 0;
  max-width: 760px;
}

.ct-ms-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.ct-ms-row + .ct-ms-row {
  margin-top: clamp(28px, 4vw, 56px);
}

.ct-ms-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ct-ms-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}

.ct-ms-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #2576b9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(15, 32, 64, 0.18);
  pointer-events: none;
}

.ct-ms-card {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 22px;
  padding: clamp(28px, 3.4vw, 48px);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ct-ms-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  color: #2667e0;
  margin: 0 0 16px;
}

.ct-ms-card-title small {
  display: block;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: #6b7280;
  margin-top: 4px;
}

.ct-ms-card-desc {
  font-family: var(--body);
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.7;
  color: var(--ap-on-surface-variant);
  margin: 0 0 28px;
}

.ct-ms-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, #fecc00 0%, #ffd633 100%);
  color: #1a5fa6;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(254, 204, 0, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ct-ms-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(254, 204, 0, 0.44);
  filter: brightness(1.04);
}

.ct-ms-cta i { transition: transform 0.2s ease; }
.ct-ms-cta:hover i { transform: translateX(4px); }

@media (max-width: 860px) {
  .ct-ms-row,
  .ct-ms-row--reverse {
    grid-template-columns: 1fr;
  }
  /* keep image first on mobile for every row */
  .ct-ms-row--reverse .ct-ms-media { order: -1; }
  .ct-milestones-inner { padding: 0 20px; }
}

/* ====================================================
   SECTION: FAQ — tabs + accordion
==================================================== */
.ct-faq {
  position: relative;
  padding: clamp(72px, 9vw, 110px) 0;
  background: #d4edff;
  overflow: hidden;
}

.ct-faq-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
}

.ct-faq-title {
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 46px);
  letter-spacing: -0.01em;
  color: #2667e0;
  margin: 0 0 clamp(32px, 4vw, 48px);
}

.ct-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.ct-faq-tab {
  border: 1.5px solid #2667e0;
  background: transparent;
  color: #2667e0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ct-faq-tab:hover { background: rgba(38, 103, 224, 0.08); }

.ct-faq-tab.is-active {
  background: #fecc00;
  border-color: #fecc00;
  color: #2667e0;
  box-shadow: 0 10px 24px rgba(254, 204, 0, 0.34);
}

.ct-faq-panel { display: none; }
.ct-faq-panel.is-active { display: block; }

.ct-faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 10px 26px rgba(15, 60, 110, 0.07);
  overflow: hidden;
}

.ct-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 2.2vw, 26px) clamp(22px, 2.4vw, 32px);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.4;
  color: #2667e0;
}

.ct-faq-q-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #2667e0;
  transition: transform 0.3s ease;
}

.ct-faq-item.is-open .ct-faq-q-icon {
  transform: rotate(180deg);
}

.ct-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.ct-faq-a-inner {
  padding: 0 clamp(20px, 2.4vw, 30px) clamp(22px, 2.4vw, 28px);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  color: #41474f;
}

.ct-faq-a-inner p { margin: 0 0 10px; }
.ct-faq-a-inner p:last-child { margin-bottom: 0; }
.ct-faq-a-inner a { color: #2667e0; text-decoration: underline; }

/* Decorative outline doodles */
.ct-faq-deco {
  position: absolute;
  color: #fff;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}
.ct-faq-deco--1 { top: 14%; left: 4%; font-size: 56px; transform: rotate(-12deg); }
.ct-faq-deco--2 { top: 9%; left: 22%; font-size: 26px; }
.ct-faq-deco--3 { top: 11%; right: 5%; font-size: 60px; transform: rotate(8deg); }
.ct-faq-deco--4 { bottom: 8%; right: 6%; font-size: 58px; transform: rotate(-6deg); }
.ct-faq-deco--5 { bottom: 9%; left: 4%; font-size: 52px; transform: rotate(10deg); }
.ct-faq-deco--6 { bottom: 30%; right: 3%; font-size: 24px; }

@media (max-width: 768px) {
  .ct-faq-inner { padding: 0 20px; }
  .ct-faq-tabs { gap: 8px; }
  .ct-faq-tab { padding: 10px 18px; }
  .ct-faq-deco { display: none; }
}

/* ====================================================
   SECTION: 90 NĂM — clickable banner + video popup
==================================================== */
.ct-banner90 {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ct-banner90-btn {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}

.ct-banner90-btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.ct-banner90-btn:hover img {
  transform: scale(1.02);
  filter: brightness(0.92);
}

.ct-banner90-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 96px);
  height: clamp(64px, 7vw, 96px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #2576b9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(28px, 3vw, 40px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, background 0.3s ease;
}

.ct-banner90-btn:hover .ct-banner90-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

/* Video modal */
.ct-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 14, 30, 0.88);
}

.ct-video-modal.is-open { display: flex; }

.ct-video-frame {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.ct-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ct-video-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #1f2937;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .ct-video-close { top: -52px; right: 0; }
}

/* ============================================================
   SECTION "10 SỰ THẬT VỀ APOLLO" — chuyển từ trang Home (hv3-facts)
   Tiền tố đổi hv3- -> ct- vì file này dùng chung với chuong-trinh-hoc.html.
   Giữ nguyên bố cục gốc: lưới 5 cột, thu dần còn 1 cột ở điện thoại.
   ============================================================ */
.ct-facts {
  width: 100%;
  padding: 90px 0 100px 0;
  background-color: #FAF5EE;
}

.ct-facts-container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 50px;
}

.ct-facts-title {
  font-family: 'Brauer NeueVN', sans-serif;
  font-weight: bold;
  font-size: 52px;
  line-height: 1.15;
  color: #2576B9;
  text-align: center;
  margin: 0 0 54px 0;
}

.ct-facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 17px;
}

.ct-fact-card {
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 34px 20px 28px 20px;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ct-fact-card:hover,
.ct-fact-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(43, 108, 212, .28);
  box-shadow: 0 14px 30px rgba(37, 118, 185, .18);
}

/* Icon phóng nhẹ theo thẻ — chuyển động riêng để cảm giác có chiều sâu */
.ct-fact-card .ct-fact-icon {
  transition: transform .25s ease;
}

.ct-fact-card:hover .ct-fact-icon,
.ct-fact-card:focus-within .ct-fact-icon {
  transform: scale(1.12);
}

/* Chữ đậm màu lên cho dễ đọc khi đang trỏ vào */
.ct-fact-card .ct-fact-text {
  transition: color .25s ease;
}

.ct-fact-card:hover .ct-fact-text,
.ct-fact-card:focus-within .ct-fact-text {
  color: #16386F;
}

.ct-fact-icon {
  width: auto;
  height: 96px;
  object-fit: contain;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.ct-fact-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  color: #3F3F3F;
  margin: 0;
}

/* Máy cảm ứng không có trạng thái rê chuột: bỏ hết để khỏi "dính" hover
   sau khi chạm (iOS giữ trạng thái hover tới lần chạm kế tiếp). */
@media (hover: none) {
  .ct-fact-card:hover {
    transform: none;
    border-color: rgba(0, 0, 0, .05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  }
  .ct-fact-card:hover .ct-fact-icon { transform: none; }
  .ct-fact-card:hover .ct-fact-text { color: #3F3F3F; }
}

/* Tôn trọng thiết lập giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
  .ct-fact-card,
  .ct-fact-card .ct-fact-icon,
  .ct-fact-card .ct-fact-text { transition: none; }
  .ct-fact-card:hover { transform: none; }
  .ct-fact-card:hover .ct-fact-icon { transform: none; }
}

@media (max-width: 1439px) {
  .ct-facts-title { font-size: 44px; }
  .ct-facts-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1023px) {
  .ct-facts-title { font-size: 36px; }
  .ct-facts-grid { grid-template-columns: repeat(3, 1fr); }
  .ct-facts-title,
  .ct-fact-text { text-wrap: balance; }
}

@media (max-width: 767px) {
  .ct-facts {
    padding: 56px 0 60px 0;
  }

  .ct-facts-title { font-size: 28px; }

  /* Di động: khung vẫn giữ padding 50px của bản desktop → màn 390px chỉ
     còn 290px cho thẻ, chữ bó lại 167px nên câu nào cũng xuống 4-5 dòng.
     Thu lề xuống 16px để thẻ rộng thêm ~68px. */
  .ct-facts-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Di động: xếp dọc một cột — hai cột làm chữ bị bó hẹp, thẻ nào cũng
     xuống 4-5 dòng và cao thấp so le nhau. */
  .ct-facts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Di động: mỗi thẻ nằm ngang — hình trái, chữ phải. Xếp dọc như bản
     desktop thì thẻ nào cũng cao gần bằng nửa màn hình, cuộn 10 thẻ rất mệt. */
  .ct-fact-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: 0;
    padding: 16px 18px;
    text-align: left;
  }

  /* Cố định bề ngang cột icon để mép chữ của 10 thẻ thẳng hàng nhau —
     icon bắt tay rộng gần gấp đôi icon huy chương. */
  .ct-fact-icon {
    width: 64px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .ct-fact-text {
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
  }
}

/* ============================================================
   NỀN ĐỒNG NHẤT #FAF5EE cho các section chính của trang
   chuong-trinh-promotion.html (trừ header/footer).

   Bọc trong .ct-promo (đặt ở <body>) vì file này dùng chung với
   chuong-trinh-hoc.html — không có lớp bọc thì trang kia cũng bị đổi nền.
   Bỏ ảnh nền của section Hành trình; RIÊNG form CTA cuối trang giữ nguyên
   ảnh nền gốc (primary_bg_form.webp) nên không nằm trong danh sách dưới.
   ============================================================ */
.ct-promo .tn-future,
.ct-promo .ct-future,
.ct-promo .ct-camket,
.ct-promo .ct-facts {
  background: #FAF5EE !important;
}

/* Lớp ảnh nền trang trí của section Hành trình nằm ở thẻ con, phải tắt
   riêng — đổi nền thẻ cha không che được nó. */
.ct-promo .ct-future-bg {
  display: none;
}


/* ------------------------------------------------------------
   HERO — khung form "crystal" (kính mờ sang trọng)

   Bản gốc để background: transparent, form nổi trực tiếp trên video nên
   chữ trắng lẫn vào các khung hình sáng. Thêm lớp kính mờ: đủ đục để tách
   form khỏi nền, vẫn thấy video chuyển động phía sau.

   backdrop-filter chưa được hỗ trợ ở vài trình duyệt cũ; khi đó lớp nền
   gradient bên dưới vẫn đủ tương phản để đọc chữ (không bị "trong suốt hẳn").
   ------------------------------------------------------------ */
.ct-promo .tn-form-bar-inner {
  position: relative;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.12) 45%,
      rgba(255, 255, 255, 0.18) 100%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  box-shadow:
    0 24px 60px rgba(15, 32, 64, 0.32),
    0 4px 12px rgba(15, 32, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

/* Vệt sáng chéo trên mép kính — tạo cảm giác pha lê bắt sáng.
   pointer-events:none để không chắn thao tác gõ vào ô nhập. */
.ct-promo .tn-form-bar-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
      rgba(255, 255, 255, 0.30) 0%,
      rgba(255, 255, 255, 0.06) 38%,
      rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

/* Nội dung form nằm trên vệt sáng */
.ct-promo .tn-form-bar-inner > * {
  position: relative;
  z-index: 1;
}

/* Ô nhập đậm thêm chút để nổi trên nền kính (nền kính đã sáng hơn video) */
.ct-promo .tn-form-bar-group input,
.ct-promo .tn-form-bar-group select {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
}

.ct-promo .tn-form-bar-group input:focus,
.ct-promo .tn-form-bar-group select:focus {
  background: rgba(255, 255, 255, 0.24);
  border-color: #fecc00;
  box-shadow: 0 0 0 4px rgba(254, 204, 0, 0.20);
}

/* Máy không hỗ trợ backdrop-filter: tăng độ đục nền để chữ vẫn đọc được */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ct-promo .tn-form-bar-inner {
    background: linear-gradient(135deg,
        rgba(20, 44, 78, 0.62) 0%,
        rgba(20, 44, 78, 0.52) 100%);
  }
}

/* ============================================================
   FAQ (trang promotion) — theo format trang IELTS
   Dùng <details>/<summary> gốc của trình duyệt, không cần JS.

   Bọc trong .ct-promo vì file này dùng chung với chuong-trinh-hoc.html —
   trang đó vẫn dùng FAQ kiểu tab (.ct-faq-tab/.ct-faq-panel) nên toàn bộ
   style cũ ở trên PHẢI giữ nguyên, không được xoá.
   ============================================================ */
.ct-promo .ct-faq {
  position: relative;
  background: #fff;
  padding: clamp(48px, 7vw, 96px) 0;
  overflow: hidden;
}

.ct-promo .ct-faq-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.ct-promo .ct-faq-title {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.ct-promo .ct-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-promo .ct-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 4px 24px;
  background: #f9fbfe;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-promo .ct-faq-item[open] {
  border-color: #2667e0;
  background: #fff;
}

.ct-promo .ct-faq-q {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.9vw, 19px);
  color: #14213d;
  padding: 20px 36px 20px 0;
  position: relative;
  line-height: 1.4;
}

/* Safari/Chrome vẽ sẵn mũi tên tam giác cho <summary> — ẩn đi để dùng dấu + */
.ct-promo .ct-faq-q::-webkit-details-marker {
  display: none;
}

.ct-promo .ct-faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 18px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: #2667e0;
  transition: transform 0.2s ease;
}

/* Mở ra thì xoay dấu + thành dấu x */
.ct-promo .ct-faq-item[open] .ct-faq-q::after {
  transform: rotate(45deg);
}

/* Gỡ max-height:0 + overflow:hidden của accordion cũ (.ct-faq-a dòng ~510)
   — trang này dùng <details> gốc nên trình duyệt tự lo đóng/mở; giữ lại
   max-height sẽ kẹp phần trả lời ở 0px và nội dung bị cắt mất. */
.ct-promo .ct-faq-a {
  padding: 0 0 20px;
  max-height: none;
  overflow: visible;
  transition: none;
}

.ct-promo .ct-faq-a p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ap-on-surface-variant, #4a4a4a);
  margin: 0 0 10px;
}

.ct-promo .ct-faq-a p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .ct-promo .ct-faq-item {
    padding: 4px 18px;
  }

  .ct-promo .ct-faq-q {
    font-size: 16px;
    padding: 16px 32px 16px 0;
  }
}

/* Số liệu trong thẻ "10 sự thật" — in đậm cho nổi bật.
   Dùng 700 chứ không phải 800: bộ Nunito trong fonts/ chỉ có 400/600/700,
   khai 800 sẽ khiến trình duyệt tự "bôi đậm" giả, chữ bị nhoè.
   Chữ nền của thẻ là 600 nên 700 + màu xanh Apollo đã đủ tách bạch. */
.ct-promo .ct-fact-num {
  font-weight: 700;
  color: #2576B9;
}

/* Đang rê chuột thì cả dòng chữ đổi sang #16386F — giữ con số đậm màu hơn
   phần chữ xung quanh để vẫn phân biệt được. */
.ct-promo .ct-fact-card:hover .ct-fact-num,
.ct-promo .ct-fact-card:focus-within .ct-fact-num {
  color: #14213d;
}

/* ====== Mobile sticky CTA ====== */
.tn-mcta {
  display: none;
}

@media (max-width: 768px) {
  .tn-mcta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -6px 20px rgba(37, 118, 185, 0.14);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .tn-mcta.is-visible {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s;
  }

  body.has-mcta {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .tn-mcta-btn {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: var(--body);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .tn-mcta-btn--zalo {
    background: var(--ap-primary-container);
    color: #fff;
    box-shadow: 0 6px 14px rgba(37, 118, 185, 0.28);
  }

  .tn-mcta-btn--form {
    background: #ffd95b;
    color: #1a3a6e;
    box-shadow: 0 6px 14px rgba(254, 204, 0, 0.32);
  }

  .tn-mcta-btn:active {
    transform: scale(0.97);
  }
}

@media (max-width: 360px) {
  .tn-mcta-btn {
    font-size: 13px;
  }
}
