/* Trang thử /anh-van-thieu-nien-test — cuộn "pinned sequence". Màu EVAS: đỏ #d71920, vàng #ffc928 */
.tnt{--red:#d71920;--red-d:#a80f16;--yellow:#ffc928;--blue:#2fa3dc;--ink:#1f2937;
  font-family:'Be Vietnam Pro',sans-serif;color:var(--ink);overflow-x:clip}
.tnt *{box-sizing:border-box}
.tnt-wrap{max-width:1140px;margin:0 auto;padding:0 20px}
.tnt h1,.tnt h2,.tnt h3{margin:0;line-height:1.2}
.tnt-btn{display:inline-block;padding:14px 30px;border-radius:999px;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s}
.tnt-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.2)}
.tnt-btn--yellow{background:var(--red);color:#fff}
.tnt-btn--yellow:hover{color:#fff}
.tnt-btn--ghost{border:2px solid var(--red);color:var(--red)}
.tnt-btn--ghost:hover{color:var(--red)}

/* HERO */
.tnt-hero{position:relative;min-height:calc(100vh - var(--tnt-top,150px));min-height:calc(100svh - var(--tnt-top,150px));display:flex;align-items:center;color:var(--ink);overflow:hidden;
  background:linear-gradient(160deg,#fff7ec 0%,#ffe9b8 100%)}
.tnt-hero__bg{position:absolute;inset:0;background:
  radial-gradient(circle at 12% 88%,rgba(215,25,32,.08),transparent 38%),
  radial-gradient(circle at 92% 8%,rgba(255,201,40,.35),transparent 36%)}
/* mảng tròn vàng đậm sau cô gái để áo đỏ tách khỏi nền */
.tnt-hero::before{content:'';position:absolute;z-index:0;bottom:-18vh;right:calc(max(4vw,calc(50% - 560px)) - 90px);width:min(62vh,640px);aspect-ratio:1;border-radius:50%;background:var(--yellow)}
.tnt-hero__inner{position:relative;z-index:2;max-width:1140px;margin:0 auto;padding:56px 20px 56px;width:100%}
.tnt-hero__inner>*{max-width:560px}
.tnt-hero__inner>h1{max-width:none;white-space:nowrap}
.tnt-eyebrow{letter-spacing:.12em;text-transform:uppercase;font-weight:700;font-size:14px;color:var(--red);margin:0 0 14px}
.tnt-hero h1{font-size:clamp(40px,7vw,76px);font-weight:800;color:var(--red-d);margin-bottom:18px}
.tnt-hero__lead{font-size:clamp(16px,1.6vw,20px);line-height:1.6;margin:0 0 30px}
.tnt-hero__cta{display:flex;gap:14px;flex-wrap:wrap}
.tnt-hero__kid{position:absolute;right:max(4vw,calc(50% - 560px));bottom:0;height:min(calc((100vh - var(--tnt-top,150px)) * .94),720px);width:auto;z-index:1;
  filter:drop-shadow(0 18px 24px rgba(120,60,0,.28));animation:tntRise 1s ease-out both}
@keyframes tntRise{from{transform:translateY(60px);opacity:0}to{transform:none;opacity:1}}
.tnt-scrollhint{position:absolute;left:50%;bottom:22px;width:24px;height:38px;border:2px solid rgba(168,15,22,.55);border-radius:14px;z-index:3}
.tnt-scrollhint span{position:absolute;left:50%;top:7px;width:4px;height:8px;margin-left:-2px;border-radius:2px;background:var(--red);animation:tntDot 1.6s infinite}
@keyframes tntDot{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(14px)}}

/* SEQUENCE */
.tnt-seq{position:relative;height:360vh;background:#fff7ec}
.tnt-seq__sticky{position:sticky;top:0;height:100vh;overflow:hidden}
.tnt-seq__stage{position:absolute;inset:0}
.tnt-slide{position:absolute;inset:0;backface-visibility:hidden;display:flex;align-items:center;justify-content:center;gap:4vw;padding:170px 6vw 40px;
  will-change:transform;transform:translate3d(100%,0,0)}
.tnt-slide:first-child{transform:none}
.tnt-slide__text{flex:0 1 480px}
.tnt-slide__no{display:block;font-size:clamp(60px,9vw,120px);font-weight:800;line-height:1;color:var(--yellow);-webkit-text-stroke:2px var(--red);color:transparent}
.tnt-slide h2{font-size:clamp(22px,2.6vw,36px);font-weight:800;color:var(--red);margin:10px 0 16px}
.tnt-slide p{font-size:clamp(15px,1.4vw,18px);line-height:1.7;margin:0}
.tnt-seq__head{position:absolute;top:86px;left:6vw;right:6vw;z-index:4;display:flex;justify-content:space-between;align-items:flex-end;gap:30px}
.tnt-seq__title{margin:0;font-size:clamp(26px,3.2vw,46px);font-weight:800;line-height:1.1;color:var(--red)}
.tnt-seq__title span{display:block;position:relative;margin-top:8px;padding-bottom:16px;font-size:.58em;font-weight:700;color:var(--ink)}
.tnt-seq__title span::after{content:'';position:absolute;left:0;bottom:0;width:120px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 20'%3E%3Cpath d='M6 10Q21.5 0 37 10T68 10T99 10T130 10T144 10' fill='none' stroke='%23ffc928' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") left/100% 100% no-repeat}
/* thanh tiến trình 3 bước */
.tnt-seq__prog{display:flex;margin:0 0 6px;padding:0;list-style:none}
.tnt-seq__prog li{position:relative;width:200px;padding:0 10px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.tnt-seq__prog li::before{content:'';position:absolute;top:9px;right:50%;width:100%;height:3px;background:#f0d9d9;transition:background .4s}
.tnt-seq__prog li:first-child::before{display:none}
.tnt-seq__prog i{position:relative;z-index:1;width:21px;height:21px;border-radius:50%;background:#fff;border:3px solid #e8c9c9;transition:.4s}
.tnt-seq__prog b{font-size:14px;line-height:1.3;font-weight:600;color:#a0522d;opacity:.6;transition:.4s}
.tnt-seq__prog li.is-done::before,.tnt-seq__prog li.is-active::before{background:var(--red)}
.tnt-seq__prog li.is-done i{background:var(--red);border-color:var(--red)}
.tnt-seq__prog li.is-active i{background:var(--yellow);border-color:var(--red);box-shadow:0 0 0 5px rgba(215,25,32,.15)}
.tnt-seq__prog li.is-active b,.tnt-seq__prog li.is-done b{color:var(--red);opacity:1}
.tnt-slide__art{position:relative;flex:0 1 560px;display:flex;justify-content:center;align-items:flex-end}
.tnt-slide__art img{position:relative;z-index:2;height:min(62vh,540px);width:auto;max-width:100%;object-fit:contain;object-position:bottom}
.tnt-blob{position:absolute;z-index:1;width:min(92%,430px);left:50%;transform:translateX(-50%);aspect-ratio:1;border-radius:46% 54% 42% 58%/55% 40% 60% 45%;bottom:2%}
.tnt-blob--none{display:none}
.tnt-blob--green{background:#7cc242}.tnt-blob--red{background:var(--red)}.tnt-blob--yellow{background:var(--yellow)}.tnt-blob--blue{background:var(--blue)}

/* LỘ TRÌNH */
.tnt-path{padding:90px 0;background:#fff}
.tnt-title{text-align:center;font-size:clamp(26px,3.6vw,42px);font-weight:800;color:var(--red)}
.tnt-sub{text-align:center;margin:12px 0 50px;font-size:17px;color:#555}
.tnt-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:end}
.tnt-step{text-align:center}
.tnt-step__bar{height:220px;display:flex;align-items:flex-end;justify-content:center;margin-bottom:18px}
.tnt-step__bar b{display:flex;align-items:flex-start;justify-content:center;width:70%;height:0;padding-top:16px;border-radius:14px 14px 0 0;
  background:var(--yellow);font-size:34px;color:#4a0a0d;transition:height 1s cubic-bezier(.2,.8,.2,1)}
.tnt-step:nth-child(2) .tnt-step__bar b{background:#7cc242}
.tnt-step:nth-child(3) .tnt-step__bar b{background:var(--blue);color:#fff}
.tnt-step.is-in .tnt-step__bar b{height:var(--h)}
.tnt-step{background:#fff7ec;border-radius:20px;padding:0 22px 26px;text-align:left}
.tnt-step__bar{height:220px;margin-bottom:18px}
.tnt-step h3{font-size:22px;font-weight:800;color:var(--red);margin-bottom:12px;text-align:center}
.tnt-step dl{margin:0;font-size:15px;line-height:1.6}
.tnt-step dt{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#a0522d;margin-top:10px}
.tnt-step dd{margin:2px 0 0}
.tnt-step dd p{margin:0}
.tnt-intro{padding:60px 0 70px;background:#fff;text-align:center}
.tnt-intro__img{width:100%;max-width:980px;height:auto;margin:0 auto 30px;display:block}
.tnt-intro__text{max-width:880px;margin:18px auto 0;font-size:17px;line-height:1.75}
.tnt-path__intro{max-width:900px;margin:26px auto 44px;text-align:center;line-height:1.75;font-size:16px}
.tnt-teach{display:flex;gap:18px;align-items:center;margin-top:28px;background:var(--red);color:#fff;border-radius:16px;padding:18px 24px}
.tnt-teach span{font-weight:800;color:var(--yellow);text-transform:uppercase;letter-spacing:.06em;flex:0 0 auto}
.tnt-teach p{margin:2px 0}
.tnt-lists{padding:80px 0;background:#fff}
.tnt-title--mt{margin-top:64px}
.tnt-goals{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px}
.tnt-goals article{background:#fff7ec;border-radius:20px;padding:30px 24px}
.tnt-goals b{display:flex;width:44px;height:44px;border-radius:50%;background:var(--red);color:#fff;align-items:center;justify-content:center;font-size:20px;margin-bottom:14px}
.tnt-goals p,.tnt-opt p{margin:0;line-height:1.65}
.tnt-opt{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:36px}
.tnt-opt article{display:flex;gap:14px;align-items:flex-start;background:#fff7ec;border-radius:16px;padding:20px}
.tnt-check{flex:0 0 26px;height:26px;border-radius:50%;background:var(--yellow);position:relative;margin-top:2px}
.tnt-check::after{content:'';position:absolute;left:9px;top:5px;width:6px;height:11px;border:solid #4a0a0d;border-width:0 3px 3px 0;transform:rotate(45deg)}
/* ĐÁNH GIÁ: ghim 220vh, timeline */
.tnt-assess{height:220vh;background:#fff;position:relative}
.tnt-assess__sticky{position:sticky;top:0;height:100vh;display:flex;align-items:center;padding-top:70px}
.tnt-assess__grid{display:grid;grid-template-columns:5fr 7fr;gap:5vw;align-items:center;width:100%}
.tnt-assess__head h2{font-size:clamp(26px,3.2vw,40px);font-weight:800;color:var(--red);margin-bottom:18px}
.tnt-assess__head p{line-height:1.7;margin:0}
.tnt-timeline{position:relative;list-style:none;margin:0;padding:0 0 0 30px}
.tnt-timeline__line{position:absolute;left:21px;top:20px;bottom:20px;width:4px;background:#f0d9d9;border-radius:2px}
.tnt-timeline__line i{display:block;width:100%;height:calc(var(--p,0)*100%);background:var(--red);border-radius:2px}
.tnt-timeline li{position:relative;display:flex;gap:20px;padding:16px 0;opacity:.28;transition:opacity .4s}
.tnt-timeline li.is-on{opacity:1}
.tnt-timeline li b{flex:0 0 44px;height:44px;border-radius:50%;background:#fff;border:3px solid var(--red);color:var(--red);display:flex;align-items:center;justify-content:center;margin-left:-30px;z-index:1;transition:.4s}
.tnt-timeline li.is-on b{background:var(--red);color:#fff}
.tnt-timeline p{margin:0;line-height:1.65;padding-top:8px}

/* GIÁ TRỊ */
.tnt-values{position:relative;overflow:hidden;padding:0 0 150px;
  /* sóng trắng mép dưới nối khối giáo viên */
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 80V38C220 6 460 8 720 36s520 40 720 6v38z'/%3E%3C/svg%3E") bottom/100% 80px no-repeat,#fff7ec}
/* hai mảng tròn mờ ở góc */
.tnt-values::before,.tnt-values::after{content:'';position:absolute;pointer-events:none}
.tnt-values::before{left:-120px;top:-80px;width:380px;height:380px;border-radius:46% 54% 42% 58%/55% 40% 60% 45%;background:#ffe3a3;opacity:.7}
.tnt-values::after{right:-140px;top:90px;width:420px;height:420px;border-radius:58% 42% 55% 45%/45% 58% 42% 55%;background:#ffd1d1;opacity:.6}
.tnt-values .tnt-wrap{position:relative;z-index:1;padding-top:90px}
.tnt-values__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:50px}
.tnt-values article{background:#d8141f;border-radius:34px;padding:30px 24px 32px;text-align:center;color:#fff;box-shadow:0 18px 36px rgba(180,10,25,.28)}
.tnt-values article:nth-child(even){transform:translateY(22px)}
.tnt-values__no{display:block;text-align:left;font-weight:800;font-size:22px;color:var(--yellow);opacity:.8}
.tnt-values article img{width:92px;height:92px;object-fit:contain;padding:14px;background:#fff;border-radius:50%;margin-bottom:14px}
.tnt-values h3{font-size:21px;margin-bottom:8px;color:var(--yellow)}
.tnt-values p{margin:0;font-size:15px;line-height:1.6}

/* CTA */
.tnt-cta{padding:80px 0;text-align:center;background:#fff7ec}
.tnt-cta h2{font-size:clamp(24px,3.2vw,38px);font-weight:800;color:var(--red);margin-bottom:12px}
.tnt-cta p{margin:0 0 26px;font-size:17px}

/* reveal */
[data-reveal]{opacity:0;transform:translateY(30px);transition:opacity .7s,transform .7s}
[data-reveal].is-in{opacity:1;transform:none}
.tnt-step[data-reveal]:nth-child(2){transition-delay:.15s}.tnt-step[data-reveal]:nth-child(3){transition-delay:.3s}

/* MOBILE: dọc, tắt sticky */
@media (max-width:860px){
  .tnt-goals,.tnt-opt{grid-template-columns:1fr}
  .tnt-teach{flex-direction:column;align-items:flex-start}
    .tnt-assess{height:auto}
  .tnt-assess__sticky{position:static;height:auto;padding:60px 0}
  .tnt-assess__grid{grid-template-columns:1fr;gap:28px}
  .tnt-timeline li{opacity:1}
  .tnt-hero__inner{padding-top:100px}
  .tnt-hero__inner>*{max-width:none}
  .tnt-hero__inner>h1{white-space:normal}
  .tnt-hero{align-items:flex-start;min-height:92vh}
  .tnt-hero::before{right:50%;transform:translateX(50%);width:56vw;bottom:-6vh}
  .tnt-hero__kid{height:42vh;right:50%;transform:translateX(50%);animation:none}
  .tnt-hero__cta{margin-bottom:46vh}
  .tnt-seq{height:auto}
  .tnt-seq__sticky{position:static;height:auto;overflow:visible}
  .tnt-seq__stage{position:static}
  .tnt-slide,.tnt-slide:first-child{position:relative;inset:auto;transform:none!important;flex-direction:column;padding:50px 20px;gap:24px}
  .tnt-slide:nth-child(even){background:#fff}
  .tnt-slide__art img{max-height:300px}
    .tnt-steps{grid-template-columns:1fr;gap:34px}
  .tnt-step__bar{height:200px}
  .tnt-values__grid{grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){
  .tnt-hero__kid,.tnt-scrollhint span{animation:none}
  [data-reveal]{opacity:1;transform:none;transition:none}
  .tnt-step__bar b{transition:none;height:var(--h)}
}

.tnt-values .tnt-title{margin-bottom:0;color:var(--red)}
.tnt-values .tnt-title::after{content:'';display:block;width:150px;height:20px;margin:10px auto 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 20'%3E%3Cpath d='M6 10Q21.5 0 37 10T68 10T99 10T130 10T144 10' fill='none' stroke='%23ffc928' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% 100% no-repeat}
@media (max-width:860px){
  .tnt-values{padding-bottom:100px;background-size:100% 50px,auto}
  .tnt-values::before{width:240px;height:240px;left:-90px;top:-60px}
  .tnt-values::after{width:260px;height:260px;right:-100px;top:60px}
  .tnt-values .tnt-wrap{padding-top:50px}
  .tnt-values article:nth-child(even){transform:none}
}

/* ===== Tối ưu mobile (ghi đè cuối file) ===== */
@media (max-width:860px){
  .tnt-seq__head{position:static;display:block;padding:30px 20px 0;background:#fff7ec}
  .tnt-seq__title{font-size:24px}
  .tnt-seq__prog{display:none}
  .tnt p,.tnt li,.tnt dd{font-size:15px;line-height:1.65}
  .tnt-title{font-size:24px}
  .tnt-title--mt{margin-top:40px}
  .tnt-wrap{padding:0 18px}

  /* hero: cột dọc, ảnh nằm trong luồng */
  .tnt-hero{flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;padding-bottom:0}
  .tnt-hero__inner{padding:28px 20px 0}
  .tnt-hero h1{font-size:34px;margin-bottom:12px}
  .tnt-eyebrow{font-size:12px;margin-bottom:10px}
  .tnt-hero__lead{margin-bottom:20px}
  .tnt-hero__cta{margin-bottom:0;flex-wrap:nowrap;gap:10px}
  .tnt-btn{padding:12px 20px;font-size:14px;white-space:nowrap}
  .tnt-hero__kid{position:relative;right:auto;bottom:auto;transform:none;display:block;margin:18px auto 0;height:300px;width:auto;z-index:1}
  .tnt-hero::before{bottom:-30px;right:50%;transform:translateX(50%);width:84vw}
  .tnt-scrollhint{display:none}

  /* nền tảng */
  .tnt-intro{padding:34px 0 40px}
  .tnt-intro__text{font-size:15px;margin-top:12px}

  /* 3 slide phương pháp: xếp dọc, gọn */
  .tnt-slide__text,.tnt-slide__art{flex:none;width:100%}
  .tnt-slide,.tnt-slide:first-child{padding:32px 20px;gap:12px}
  .tnt-slide__no{font-size:52px}
  .tnt-slide h2{font-size:21px;margin:6px 0 0}
  /* khung ảnh cao cố định: ảnh chưa tải xong (lazy/mạng chậm) thì mảng màu vẫn không tràn lên đè chữ */
  .tnt-slide__art{height:250px;overflow:hidden;justify-content:center}
  .tnt-slide__art img{height:240px;width:auto;max-width:100%;max-height:none;object-fit:contain;object-position:bottom}
  .tnt-blob{width:auto;height:225px;aspect-ratio:1;left:50%;transform:translateX(-50%);bottom:4px}
  
  /* chương trình */
  .tnt-path{padding:46px 0}
  .tnt-path__intro{margin:16px auto 28px}
  .tnt-sub{margin-bottom:28px}
  .tnt-steps{gap:20px}
  .tnt-step{padding:0 18px 22px}
  .tnt-step__bar{height:150px;margin-bottom:12px}
  .tnt-step h3{font-size:19px}
  .tnt-teach{padding:16px 18px;gap:8px}
  
  /* mục tiêu / tối ưu */
  .tnt-lists{padding:46px 0}
  .tnt-goals{gap:14px;margin-top:22px}
  .tnt-goals article{padding:20px 18px}
  .tnt-goals b{width:38px;height:38px;font-size:17px;margin-bottom:10px}
  .tnt-opt{gap:12px;margin-top:22px}
  .tnt-opt article{padding:14px 16px}

  /* đánh giá */
  .tnt-assess__sticky{padding:44px 0}
  .tnt-assess__head h2{font-size:24px;margin-bottom:12px}
  .tnt-timeline{padding-left:26px}
  .tnt-timeline li{gap:14px;padding:12px 0}
  .tnt-timeline li b{flex:0 0 38px;height:38px;margin-left:-26px}
  .tnt-timeline p{padding-top:6px}

  /* giá trị cốt lõi: 1 cột gọn */
  .tnt-values__grid{grid-template-columns:1fr;gap:16px;margin-top:30px}
  .tnt-values article{padding:22px 20px 24px;border-radius:26px;display:grid;grid-template-columns:76px 1fr;column-gap:14px;text-align:left;align-items:start}
  .tnt-values__no{grid-column:1/-1;margin-bottom:6px}
  .tnt-values article img{width:72px;height:72px;padding:11px;margin:0;grid-row:2/4}
  .tnt-values h3{font-size:17px;margin:2px 0 6px}
  .tnt-values__desc{font-size:14px}
  .tnt-values .tnt-wrap{padding-top:46px}

  /* CTA */
  .tnt-cta{padding:50px 0}
  .tnt-cta h2{font-size:23px}
}

/* Màn hình desktop thấp (laptop nhỏ): thu gọn hero để vừa khít phần còn lại dưới header */
@media (min-width:861px) and (max-height:700px){
  .tnt-hero__inner{padding:34px 20px 34px}
  .tnt-hero h1{font-size:clamp(34px,4.6vw,54px);margin-bottom:10px}
  .tnt-hero__lead{font-size:16px;line-height:1.5;margin-bottom:18px}
  .tnt-eyebrow{margin-bottom:8px}
}
