/* =========================================================
   Kinder Paradise Montessori – giao diện website v2
   ========================================================= */
:root {
  --green: #3aa935;
  --green-d: #23852f;
  --green-l: #eaf7e6;
  --green-k: #1aa245; /* màu chữ K trong logo */
  --orange: #f26122;
  --orange-d: #d94c10;
  --orange-l: #fff0e8;
  --yellow: #f7a823;
  --yellow-l: #fff6e0;
  --blue: #2b9ed8;
  --blue-l: #e6f4fb;
  --ink: #2c2833;
  --body: #4a4652;
  --muted: #7b7684;
  --line: #ece6dd;
  --bg: #ffffff;
  --cream: #fffaf2;
  --radius: 24px;
  --sky: #eaf6fd;
  --lilac: #8f6fd6;
  --lilac-l: #f3eefc;
  --forest: #1f5f2d;
  --pop: 0 6px 0 rgba(60, 40, 20, .06), 0 16px 34px rgba(60, 40, 20, .08);
  --star: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(60, 40, 20, .08);
  --shadow-lg: 0 20px 50px rgba(60, 40, 20, .14);
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1320px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--body); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-d); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3, .h3 { font-size: 1.35rem; }
.h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
/* Ngắt dòng đẹp: tiêu đề chia dòng cân đối, đoạn văn không để một chữ rớt lẻ ở dòng cuối */
h1, h2, h3, .page-hero__title { text-wrap: balance; }
p, li, .page-hero__sub, .lead { text-wrap: pretty; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.15em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 880px; }
/* Dải cầu vồng 4 màu trên cùng – dấu hiệu nhận diện kiểu mầm non */
body:not(.mce-content-body)::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--green) 0 25%, var(--yellow) 25% 50%, var(--orange) 50% 75%, var(--blue) 75%); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead { font-size: 1.15rem; color: var(--body); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: .98rem; line-height: 1.2; text-align: center; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 5px 0 var(--orange-d), 0 12px 24px rgba(242, 97, 34, .25); }
.btn--primary:hover { background: #f46f33; color: #fff; box-shadow: 0 7px 0 var(--orange-d), 0 16px 28px rgba(242, 97, 34, .3); }
.btn--primary:active { box-shadow: 0 2px 0 var(--orange-d), 0 6px 12px rgba(242, 97, 34, .2); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 4px 0 var(--line); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); box-shadow: 0 6px 0 var(--orange-l); }
.btn--outline { background: #fff; color: var(--green-d); border-color: var(--green); box-shadow: 0 4px 0 rgba(44, 40, 51, .1); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--orange); }
.btn--light:hover { color: var(--orange-d); }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--orange-l); color: var(--orange); }
.icon-btn .icon { width: 20px; height: 20px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .92rem; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--green-d); color: #e9f6e8; font-size: .86rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__info, .topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar a:hover { color: #fff; }
/* Nút đổi ngôn ngữ VI / EN */
.lang-switch { display: inline-flex; align-items: center; padding: 3px; gap: 2px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 800; font-size: .82rem; line-height: 1; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; padding: 6px 9px; border-radius: 999px; color: var(--muted); letter-spacing: .03em; transition: background .2s, color .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { background: var(--green-k); color: #fff; box-shadow: 0 2px 0 var(--forest); }
.topbar .lang-switch--top { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); padding: 2px; }
.topbar .lang-switch--top a { color: #e9f6e8; padding: 4px 8px; min-width: 30px; font-size: .76rem; }
.topbar .lang-switch--top a.is-active { background: #fff; color: var(--green-d); box-shadow: none; }
.lang-switch--m { display: none; }
.nav__lang { display: flex; align-items: center; gap: 10px; padding: 4px 2px 8px; font-weight: 800; color: var(--ink); }
.nav__lang .icon { color: var(--green-k); }
.nav__lang .lang-switch { margin-left: auto; }
/* Tin chỉ có bản tiếng Việt (đang xem bản tiếng Anh) */
.lang-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--yellow-l); color: #8a5a00; font-size: .7rem; font-weight: 800; letter-spacing: .04em; vertical-align: 1px; }

/* Không dùng backdrop-filter: nó làm menu mobile (position: fixed) bị kẹt trong header */
.header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { flex-shrink: 0; }
.logo img { height: 62px; width: auto; }
.nav { flex: 1; }
.nav__head, .nav__foot, .nav__toggle { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; }
.nav__item { position: relative; }
.nav__item > a { display: block; white-space: nowrap; padding: 10px 13px; font-weight: 800; color: var(--ink); border-radius: 999px; font-size: .97rem; }
.nav__item > a { transition: background .2s, color .2s; }
.nav__item > a:hover, .nav__item:hover > a, .nav__item.is-active > a { background: var(--green-k); color: #fff; }
.nav__home { display: inline-flex !important; align-items: center; gap: 8px; }
.nav__home .icon { width: 20px; height: 20px; vertical-align: 0; }
.nav__home-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav__sub { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--body); font-weight: 600; font-size: .95rem; }
.nav__sub a:hover, .nav__sub a.is-active { background: var(--green-l); color: var(--green-k); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1.2; flex-shrink: 0; white-space: nowrap; }
.header__phone small { display: block; color: var(--muted); font-size: .75rem; font-weight: 600; }
.header__phone strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--green-d); }
.header__phone-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: 0 0 42px; animation: ring 2.5s infinite; }
.header__phone-ic .icon { width: 20px; height: 20px; }
.header__search-m { display: none; }
.hamburger { display: none; position: relative; z-index: 220; transition: background .3s; }
/* Nút menu 2 gạch xanh → dấu X cam khi mở */
.burger { position: relative; display: block; width: 22px; height: 14px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 3px; background: var(--green-k); transition: top .2s ease .2s, transform .25s ease 0s, background .3s; }
.burger i:first-child { top: 1.5px; }
.burger i:last-child { top: 10px; }
.hamburger.is-active { background: var(--orange-l); }
.hamburger.is-active .burger i { top: 5.75px; background: var(--orange-d); transition: top .2s ease 0s, transform .25s ease .2s, background .3s; }
.hamburger.is-active .burger i:first-child { transform: rotate(45deg); }
.hamburger.is-active .burger i:last-child { transform: rotate(-45deg); }
.nav-backdrop { display: none; }

@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(58, 169, 53, .45); } 50% { box-shadow: 0 0 0 10px rgba(58, 169, 53, 0); } }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; background: rgba(30, 25, 35, .6); z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 15vh 20px 20px; }
.search-box { width: 100%; max-width: 640px; display: flex; align-items: center; gap: 12px; background: #fff; padding: 10px 10px 10px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.search-box > .icon { color: var(--muted); }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 1.1rem; padding: 8px 0; min-width: 0; }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 36px; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.hero__inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.hero__deco { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__deco--1 { width: 340px; height: 340px; left: -120px; top: -140px; background: rgba(247, 168, 35, .18); }
.hero__deco--2 { width: 260px; height: 260px; right: -90px; bottom: -110px; background: rgba(26, 162, 69, .14); }
/* Hình vẽ tay (doodle) dùng chung: đặt vị trí bằng class dd-* */
.dd { position: absolute; z-index: 0; width: var(--s, 48px); height: var(--s, 48px); pointer-events: none; transform: rotate(var(--r, 0deg)); animation: dd-bob var(--t, 7s) ease-in-out infinite; }
.doodle--sparkle { color: var(--yellow); }
.doodle--balloon { color: var(--orange); }
.doodle--flower { color: #f48fb1; }
.doodle--squiggle { color: var(--green); }
.doodle--dots { color: var(--yellow); opacity: .7; }
@keyframes dd-bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(calc(var(--r, 0deg) + 6deg)); } }
.dd-hero-cloud { --s: 96px; left: max(4px, calc(50% - 720px)); top: 2px; --t: 9s; }
.dd-hero-star { --s: 54px; right: max(8px, calc(50% - 712px)); top: 6px; --r: 12deg; z-index: 2; }
.dd-hero-spark { --s: 28px; right: max(14px, calc(50% - 706px)); top: 70px; --t: 5s; }
.dd-hero-plane { --s: 64px; left: max(6px, calc(50% - 716px)); bottom: 6px; --r: -10deg; z-index: 2; }
.slider { position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 24px 60px rgba(60, 40, 20, .16); background: var(--cream); isolation: isolate; }
.slider__track { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; position: relative; display: block; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.slide__caption { position: absolute; left: 0; right: 0; bottom: 12%; }
.slide__caption p { display: inline-block; background: rgba(255, 255, 255, .92); padding: 10px 18px; border-radius: 14px; color: var(--ink); font-weight: 700; max-width: 520px; }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; transition: .2s; }
.slider__arrow:hover { background: var(--orange); color: #fff; }
.slider__arrow .icon { width: 22px; height: 22px; }
/* Mũi tên gom ở góc dưới phải để không che chữ trên banner */
/* Điều hướng banner: kính trong suốt kiểu iPhone (mờ nền, viền sáng, vệt phản chiếu) */
.slider__arrow, .slider__dots {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .65), inset 0 -1px 1px rgba(255, 255, 255, .18), 0 8px 24px rgba(20, 22, 40, .14);
}
.slider__arrow::before, .slider__dots::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .38) 0%, rgba(255, 255, 255, .06) 48%, rgba(255, 255, 255, 0) 60%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .slider__arrow, .slider__dots { background: rgba(40, 44, 60, .38); }
}
.slider__arrow { top: auto; bottom: 18px; transform: none; width: 42px; height: 42px; color: #fff; transition: background .2s, transform .2s; }
.slider__arrow:hover { background: rgba(255, 255, 255, .3); color: #fff; transform: scale(1.06); }
.slider__arrow:active { transform: scale(.94); }
.slider__arrow .icon { position: relative; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .4)); }
.slider__prev { right: 70px; }
.slider__next { right: 20px; }
.slider__dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; z-index: 2; padding: 9px 12px; border-radius: 999px; }
.slider__dots:empty { display: none; }
.slider__dots button { position: relative; width: 13px; height: 13px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); box-shadow: 0 1px 2px rgba(0, 0, 0, .18); transition: width .35s ease, background .3s; }
.slider__dots button:hover { background: rgba(255, 255, 255, .85); }
.slider__dots button.is-active { width: 36px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .22); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
.section--sm { padding: 56px 0; }
.section--tint { background-color: var(--cream); background-image: radial-gradient(rgba(247, 168, 35, .16) 2px, transparent 2.5px), radial-gradient(rgba(58, 169, 53, .12) 2px, transparent 2.5px); background-size: 40px 40px; background-position: 0 0, 20px 20px; }
/* Mép khu vực hình đám mây: vẽ các nửa vòng tròn màu nền trang (trắng) ở trên và dưới */
.section--wave, .stats, .cta-register { overflow: hidden; }
.section--wave::before, .section--wave::after, .stats::before, .stats::after, .cta-register::before, .cta-register::after, .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px; z-index: 1; pointer-events: none; background: var(--edge, #fff);
  -webkit-mask: radial-gradient(22px at 50% 0, #000 97%, #0000) 0 0 / 44px 22px repeat-x; mask: radial-gradient(22px at 50% 0, #000 97%, #0000) 0 0 / 44px 22px repeat-x; }
.section--wave::before, .stats::before, .cta-register::before { top: 0; }
.section--wave::after, .stats::after, .cta-register::after, .page-hero::after { bottom: 0; -webkit-mask: radial-gradient(22px at 50% 100%, #000 97%, #0000) 0 0 / 44px 22px repeat-x; mask: radial-gradient(22px at 50% 100%, #000 97%, #0000) 0 0 / 44px 22px repeat-x; }
.section > .container, .stats > .container, .cta-register > .container { position: relative; z-index: 1; }
.section--features, .section--news { overflow: hidden; }
.dd-prog-balloon { --s: 70px; left: max(6px, calc(50% - 740px)); top: 70px; --t: 8s; }
.dd-prog-cloud { --s: 110px; right: max(-20px, calc(50% - 760px)); top: 40px; --t: 10s; }
.dd-prog-spark { --s: 30px; left: max(30px, calc(50% - 640px)); bottom: 70px; }
.dd-feat-heart { --s: 46px; left: max(8px, calc(50% - 720px)); top: 90px; --r: -12deg; }
.dd-feat-star { --s: 50px; right: max(8px, calc(50% - 716px)); top: 140px; --r: 14deg; --t: 6s; }
.dd-feat-flower { --s: 42px; right: max(20px, calc(50% - 690px)); bottom: 60px; }
.dd-news-plane { --s: 70px; right: max(10px, calc(50% - 720px)); top: 40px; --r: -8deg; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.section-head--row h2 { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; color: var(--green-d); background: var(--green-l); padding: 4px 16px 4px 12px; border: 2px dashed rgba(35, 133, 47, .3); border-radius: 999px; font-size: .92rem; margin-bottom: 14px; letter-spacing: .02em; transform: rotate(-2deg); }
.eyebrow::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: var(--yellow); clip-path: var(--star); }
.eyebrow--light { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .55); color: #fff; }
.eyebrow--light::before { background: #fff; }
/* Điểm nhấn dưới tiêu đề: 3 vạch tròn xanh – vàng – cam */
.section-head h2::after, .intro__title::after { content: ""; display: block; width: 16px; height: 7px; margin: 14px auto 0; border-radius: 7px; background: var(--green); box-shadow: 22px 0 0 var(--yellow), 44px 0 0 var(--orange); transform: translateX(-22px); }
.section-head--row h2::after { margin-left: 0; transform: none; }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card--accent { background: linear-gradient(135deg, var(--orange), var(--yellow)); color: #fff; }
.card--accent h2, .card--accent .h4 { color: #fff; }
.card + .card { margin-top: 24px; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- Intro ---------- */
.intro { padding: 80px 0; overflow: hidden; }
.intro__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.intro__title { font-size: clamp(2rem, 4vw, 2.9rem); }
.intro { position: relative; }
.intro__title::after { margin-left: 0; transform: none; }
.badges { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.badges li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.badges .icon { width: 36px; height: 36px; padding: 7px; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; background: var(--yellow-l); color: var(--orange); }
.intro__media { position: relative; }
.yt-lite { position: relative; z-index: 1; display: block; width: 100%; padding: 0; border: 10px solid #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 10; transform: rotate(1.6deg); transition: transform .3s; }
.yt-lite:hover { transform: rotate(0deg); }
.tape { position: absolute; z-index: 2; width: 120px; height: 30px; border-radius: 4px; background: rgba(247, 168, 35, .6); pointer-events: none; }
.tape--1 { top: -10px; left: 36px; transform: rotate(-9deg); }
.tape--2 { bottom: -8px; right: 46px; transform: rotate(-5deg); background: rgba(58, 169, 53, .5); }
.dd-intro-sun { --s: 92px; right: -34px; top: -46px; --t: 12s; }
.dd-intro-rainbow { --s: 96px; left: -44px; bottom: -40px; z-index: 2; }
.dd-intro-dots { --s: 90px; left: max(6px, calc(50% - 730px)); top: 40px; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .5s; }
.yt-lite:hover img { transform: scale(1.04); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(242, 97, 34, .3); transition: .2s; }
.yt-lite__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.yt-lite:hover .yt-lite__play { transform: scale(1.08); }
.rounded-blob { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; box-shadow: var(--shadow-lg); }

/* ---------- Program cards ---------- */
.program-card { --c: var(--green); --cl: var(--green-l); background: #fff; border-radius: 28px; padding: 10px; border: 2px solid var(--cl); box-shadow: 0 8px 0 var(--c), 0 22px 40px rgba(60, 40, 20, .1); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.program-card:hover { transform: translateY(-8px) rotate(-.8deg); box-shadow: 0 12px 0 var(--c), 0 28px 50px rgba(60, 40, 20, .14); }
.grid > .program-card:nth-child(even):hover { transform: translateY(-8px) rotate(.8deg); }
.program-card--orange { --c: var(--orange); --cl: var(--orange-l); }
.program-card--yellow { --c: var(--yellow); --cl: var(--yellow-l); }
.program-card--blue { --c: var(--blue); --cl: var(--blue-l); }
.program-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px; }
.program-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.program-card:hover .program-card__img img { transform: scale(1.06); }
.program-card__num { position: absolute; left: 12px; top: 12px; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .12); transform: rotate(-10deg); }
.program-card__body { padding: 16px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.program-card__body h3 { font-size: 1.22rem; }
.program-card__body h3 a { color: var(--ink); }
.program-card__body h3 a:hover { color: var(--c); }
.program-card__body p { font-size: .94rem; color: var(--muted); }
.program-card__info { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: .94rem; }
.program-card__info li { display: flex; align-items: center; gap: 8px; }
.program-card__info .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--cl); color: var(--c); }
.program-card__info strong { color: var(--ink); }
.program-card .btn { margin-top: auto; align-self: flex-start; border-color: var(--c); color: var(--ink); box-shadow: 0 4px 0 var(--cl); }
.program-card .btn:hover { background: var(--c); color: #fff; }

/* ---------- Features ---------- */
.feature { --fc: var(--green-d); --fl: var(--green-l); background: var(--fl); border-radius: 28px; padding: 32px 30px; transition: transform .25s, box-shadow .25s; position: relative; outline: 2px dashed color-mix(in srgb, var(--fc) 30%, transparent); outline-offset: -10px; }
.feature:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--pop); }
.feature:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.feature--c1 { --fc: var(--orange); --fl: var(--orange-l); }
.feature--c2 { --fc: #c98200; --fl: var(--yellow-l); }
.feature--c3 { --fc: var(--blue); --fl: var(--blue-l); }
.feature__icon { width: 66px; height: 66px; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; display: grid; place-items: center; margin-bottom: 18px; background: #fff; color: var(--fc); box-shadow: 0 5px 0 color-mix(in srgb, var(--fc) 22%, transparent); transform: rotate(-6deg); }
.feature__icon .icon { width: 30px; height: 30px; }
.feature h3 { font-size: 1.2rem; }
.feature p { margin: 0; font-size: .96rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: var(--sky); color: #fff; padding: 84px 0; position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; justify-items: center; text-align: center; position: relative; z-index: 1; }
.stat { --bc: var(--green); width: min(100%, 210px); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px; color: #fff; background: var(--bc); border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .08), 0 16px 30px rgba(43, 98, 140, .18); }
.stat.is-in { animation: dd-bob 7s ease-in-out infinite; }
.stat:nth-child(4n+2) { --bc: var(--orange); border-radius: 54% 46% 48% 52% / 46% 54% 46% 54%; --r: 3deg; animation-delay: -2s; }
.stat:nth-child(4n+3) { --bc: var(--yellow); color: #5a3a00; border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%; --r: -3deg; animation-delay: -4s; }
.stat:nth-child(4n+4) { --bc: var(--blue); border-radius: 48% 52% 55% 45% / 47% 55% 45% 53%; animation-delay: -6s; }
.stat__value { display: flex; align-items: baseline; justify-content: center; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.2rem, 4.2vw, 3.1rem); line-height: 1; color: inherit; text-shadow: 0 3px 0 rgba(0, 0, 0, .1); }
.stat__suffix { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; margin-left: 2px; color: inherit; opacity: .85; }
.stat__label { display: block; margin-top: 8px; font-weight: 800; font-size: .95rem; line-height: 1.3; }
.stats--inline { border-radius: 28px; padding: 44px 28px; margin: 1.6em 0; overflow: hidden; }
.stats--inline::before, .stats--inline::after { display: none; }
.prose .stats--inline .stat__num, .prose .stats--inline .stat__label { color: inherit; }
.prose .stats--inline .stat__label { font-size: .95rem; }
.dd-stats-cloud1 { --s: 110px; left: max(-10px, calc(50% - 720px)); top: 30px; --t: 11s; z-index: 0; }
.dd-stats-cloud2 { --s: 80px; right: max(0px, calc(50% - 700px)); bottom: 34px; --t: 9s; z-index: 0; }

/* ---------- Posts ---------- */
.post-card { background: #fff; border-radius: 26px; padding: 10px; border: 2px solid var(--line); box-shadow: var(--pop); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--yellow); box-shadow: 0 10px 0 var(--yellow-l), 0 24px 44px rgba(60, 40, 20, .12); }
.grid > .post-card:nth-child(even):hover { transform: translateY(-6px) rotate(.6deg); }
.post-card__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); border-radius: 18px; }
.post-card__tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .78rem; font-weight: 800; box-shadow: 0 3px 0 rgba(0, 0, 0, .14); transform: rotate(-4deg); }
.grid > .post-card:nth-child(3n+2) .post-card__tag { background: var(--green-k); color: #fff; transform: rotate(3deg); }
.grid > .post-card:nth-child(3n+3) .post-card__tag { background: var(--blue); color: #fff; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { padding: 16px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.post-card__meta .icon { color: var(--green); }
.post-card__title { font-size: 1.12rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--orange); }
.post-card__excerpt { font-size: .94rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-more { margin-top: auto; }

/* ---------- Testimonials ---------- */
.testimonial { margin: 0 0 18px; background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--pop); position: relative; }
.testimonial > p::after { content: ""; position: absolute; left: 44px; bottom: -16px; width: 32px; height: 20px; background: #fff; clip-path: polygon(0 0, 100% 0, 10% 100%); }
.testimonial::before { content: "“"; position: absolute; right: 22px; top: 0; font-family: Georgia, serif; font-size: 5rem; color: var(--yellow-l); line-height: 1; }
.testimonial footer { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial strong { display: block; color: var(--ink); }
.testimonial small { color: var(--muted); }

/* ---------- CTA register ---------- */
.cta-register { background: linear-gradient(90deg, var(--orange) 0%, #f68a2c 55%, var(--yellow) 100%); padding: 84px 0; color: #fff; position: relative; }
.cta-register .form-card { outline: 3px dashed rgba(255, 255, 255, .7); outline-offset: 8px; border-radius: 26px; }
.dd-cta-plane { --s: 80px; left: 45%; top: 60px; --r: 8deg; z-index: 2; }
.dd-cta-star { --s: 50px; right: max(10px, calc(50% - 720px)); top: 50px; --r: -10deg; }
.dd-cta-cloud { --s: 110px; left: max(-20px, calc(50% - 760px)); bottom: 40px; --t: 10s; opacity: .9; }
.dd-cta-spark { --s: 30px; left: 40%; bottom: 70px; color: #fff; }
.cta-register__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; position: relative; }
.cta-register h2 { color: #fff; }
.cta-register p { color: rgba(255, 255, 255, .92); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.checklist .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #fff; color: var(--orange); }
.cta-register__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: #fff; }
.cta-register__phone:hover { color: var(--ink); }
.form-card { color: var(--body); padding: 28px; }

.cta-strip { background: var(--green-d); color: #fff; padding: 44px 0; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; font-size: 1.6rem; margin-bottom: 4px; }
.cta-strip p { margin: 0; opacity: .9; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 14px; margin-bottom: 18px; }
.kp-form--compact .form-grid { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .86rem; color: var(--ink); }
.req { color: var(--orange); }
.field input, .field select, .field textarea, .search-inline input { width: 100%; padding: 9px 14px; border: 2px solid var(--line); border-radius: 12px; line-height: 1.4; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus, .search-inline input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-l); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e0383e; }
.field-error { color: #d22f35; font-size: .85rem; font-weight: 600; }
.field input[type=file] { padding: 9px 12px; }
/* Ô nhập cùng chiều cao (ô ngày, ô chọn hay bị cao hơn) */
.field input:not([type=file]), .field select { height: 44px; }
.field textarea { resize: vertical; min-height: 64px; }
.kp-form .btn { margin-top: 0; }
.form-note, .cta-register .form-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.form-msg:empty { display: none; }
.form-msg { margin: 0 0 14px; }
.alert { padding: 14px 18px; border-radius: 12px; font-weight: 700; margin-bottom: 16px; }
.alert--success { background: var(--green-l); color: var(--green-d); }
.alert--error { background: #fdecec; color: #c62f35; }
.alert--info { background: var(--blue-l); color: #1f6f99; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; }
.partner { display: block; padding: 10px 18px; border-radius: 16px; transition: transform .25s, box-shadow .25s; }
.partner img { height: 80px; width: auto; max-width: 180px; object-fit: contain; }
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--green-l) 0%, var(--yellow-l) 60%, var(--orange-l) 100%); padding: 48px 0 64px; }
.dd-ph-cloud1 { --s: 120px; right: 26%; top: 14px; --t: 12s; }
.dd-ph-cloud2 { --s: 80px; right: 6%; bottom: 40px; --t: 9s; }
.dd-ph-rainbow { --s: 110px; right: 12%; top: 34px; }
.dd-ph-spark { --s: 28px; right: 36%; bottom: 46px; }
.page-hero__title { margin: 8px 0 0; position: relative; z-index: 1; }
.page-hero__sub { margin: 12px 0 0; max-width: 920px; font-size: 1.08rem; position: relative; z-index: 1; }
.page-hero__deco { position: absolute; border-radius: 50%; }
.page-hero__deco--1 { width: 260px; height: 260px; right: -60px; top: -90px; background: rgba(242, 97, 34, .12); }
.page-hero__deco--2 { width: 120px; height: 120px; right: 18%; bottom: -60px; background: rgba(58, 169, 53, .14); }
.page-hero--post .page-hero__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 860px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .9rem; font-weight: 600; position: relative; z-index: 1; }
.breadcrumbs a { color: var(--green-d); }
.breadcrumbs .sep { color: var(--muted); display: inline-flex; }
.breadcrumbs [aria-current] { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: var(--muted); font-weight: 600; font-size: .94rem; position: relative; z-index: 1; }
.post-meta span, .post-meta a { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { color: var(--green); }

/* ---------- Layout with sidebar ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.section--post { padding-top: 48px; }
.post-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.post-cover img { width: 100%; }
.mini-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.mini-posts a { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.mini-posts a:hover { color: var(--orange); }
.mini-posts img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; }
.mini-posts small { display: block; color: var(--muted); font-weight: 600; margin-top: 4px; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 36px 0; padding-top: 24px; border-top: 2px dashed var(--line); font-weight: 700; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); }
.share a:hover { background: var(--orange); color: #fff; }
.related { margin-top: 24px; }
.related .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }

.program-hero { position: relative; margin-bottom: 28px; }
.program-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.program-hero__facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: -36px; padding: 0 20px; position: relative; }
.program-hero__facts > div, .job-facts > div { display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow); }
.program-hero__facts .icon, .job-facts .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--orange-l); color: var(--orange); }
.program-hero__facts span, .job-facts span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.program-hero__facts strong, .job-facts strong { display: block; color: var(--ink); font-size: 1.05rem; }
.job-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 32px; }

/* ---------- Prose (nội dung từ trình soạn thảo) ---------- */
.prose { font-size: 1.05rem; color: var(--body); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.3em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.prose h2::before { content: ""; display: inline-block; width: .75em; height: .75em; margin-right: .35em; vertical-align: -.02em; background: var(--yellow); clip-path: var(--star); }
.prose h3 { margin-top: 1.2em; color: var(--green-d); }
.prose h4 { margin-top: 1.3em; }
.prose img { border-radius: 20px; margin: 1.2em auto; height: auto; }
.prose p > img { display: inline-block; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--orange); }
.prose blockquote { position: relative; margin: 1.5em 0; padding: 22px 26px 22px 64px; background: var(--yellow-l); border-radius: 24px; outline: 2px dashed rgba(201, 130, 0, .3); outline-offset: -8px; }
.prose blockquote::before { content: "“"; position: absolute; left: 18px; top: 4px; font-family: var(--font-head); font-size: 3.6rem; line-height: 1; color: var(--orange); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2.5em 0; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--cream); color: var(--ink); }
.prose--wide { max-width: none; }

/* Khối bố cục dùng được trong trình soạn thảo */
.kp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin: 1.6em 0; }
.kp-split > div > :first-child { margin-top: 0; }
.kp-split > div > :last-child { margin-bottom: 0; }
.kp-split img { margin: 0; width: 100%; }
.kp-split--reverse > :first-child { order: 2; }
.kp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1em 0; }
.kp-gallery img { margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
/* Khối thẻ: 3 cột (6 thẻ = 2 hàng x 3); khối 2 hoặc 4 thẻ thì 2 cột */
.kp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 1.2em 0; }
.kp-cards:has(> :nth-child(2):last-child), .kp-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kp-card { --kc: rgba(35, 133, 47, .3); background: var(--green-l); border-radius: 24px; padding: 26px 26px 24px; outline: 2px dashed var(--kc); outline-offset: -9px; transition: transform .25s; }
.kp-card:hover { transform: translateY(-4px) rotate(-.6deg); }
.kp-card:nth-child(4n+2) { background: var(--orange-l); --kc: rgba(242, 97, 34, .3); }
.kp-card:nth-child(4n+3) { background: var(--yellow-l); --kc: rgba(201, 130, 0, .3); }
.kp-card:nth-child(4n+4) { background: var(--blue-l); --kc: rgba(43, 158, 216, .3); }
.kp-card h3, .kp-card h4 { margin-top: 0; color: var(--ink); }
.kp-card p:last-child { margin-bottom: 0; }
.kp-callout { background: var(--green-l); border-radius: 24px; padding: 26px 30px; margin: 1.5em 0; outline: 2px dashed rgba(35, 133, 47, .3); outline-offset: -9px; }
.kp-section { padding: 2em 0; border-bottom: 2px dashed var(--line); }
/* Mục lục nhảy nhanh (vd. trang Giới thiệu): dính dưới header khi cuộn để chuyển mục tiếp */
.kp-toc { position: sticky; top: var(--header-h); z-index: 40; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 1.4em; padding: 10px 0 12px; }
.kp-toc::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; pointer-events: none; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); border-bottom: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 10px 24px rgba(40, 30, 20, .07); opacity: 0; transition: opacity .25s; }
.kp-toc.is-stuck::before { opacity: 1; }
/* Khi mục lục đang dính, bỏ bóng header để hai thanh liền một khối */
.toc-stuck .header.is-scrolled { box-shadow: none; }
/* Nội dung ngay dưới đầu trang: bớt khoảng trống */
.page-hero + .section { padding-top: 40px; }
.prose .kp-toc a { padding: 9px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.prose .kp-toc a:hover, .prose .kp-toc a.is-active { background: var(--green-k); border-color: var(--green-k); box-shadow: 0 3px 0 var(--forest); color: #fff; transform: translateY(-2px); }
.prose [id] { scroll-margin-top: calc(var(--header-h) + var(--toc-h, 0px) + 20px); }
.kp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kp-toc + .kp-split { margin-top: 0; }
.prose a.btn { text-decoration: none; }
.kp-section:last-child { border-bottom: 0; }

/* ---------- Chips, pagination ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); font-size: .94rem; transition: transform .15s; }
.chip:hover { transform: translateY(-2px); }
.chip small { background: #fff; border-radius: 999px; padding: 0 8px; font-size: .78rem; color: var(--muted); }
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.is-active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 4px 0 var(--orange-d); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--cream); color: var(--ink); }
.pagination a:hover { background: var(--orange-l); color: var(--orange); }
.pagination .current { background: var(--orange); color: #fff; }
.pagination .dots { background: transparent; }

/* ---------- Jobs, albums ---------- */
.jobs { display: grid; gap: 14px; }
.job { display: flex; align-items: center; gap: 18px; padding: 20px 24px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: .2s; }
.job:hover { border-color: var(--orange); box-shadow: var(--shadow); color: var(--ink); }
.job--closed { opacity: .65; }
.job__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-l); color: var(--green-d); flex-shrink: 0; }
.job__body { flex: 1; min-width: 0; }
.job__body strong { font-family: var(--font-head); font-size: 1.2rem; display: block; }
.job__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.job__meta span { display: inline-flex; align-items: center; gap: 5px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.tag--green { background: var(--green-l); color: var(--green-d); }
.tag--muted { background: #f0eeee; color: var(--muted); }
.album-card { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; border: 8px solid #fff; box-shadow: var(--pop); transform: rotate(-1.2deg); transition: transform .3s; }
.album-card:nth-child(even) { transform: rotate(1.2deg); }
.album-card:hover { transform: rotate(0) scale(1.02); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album-card:hover img { transform: scale(1.06); }
.album-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff; }
.album-card__body strong { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.album-card__body small { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry__item { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; cursor: zoom-in; }
.masonry__item img { width: 100%; transition: transform .4s; }
.masonry__item:hover img { transform: scale(1.04); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact__info { display: grid; gap: 16px; }
.info-box { display: flex; gap: 16px; padding: 22px; background: var(--orange-l); border-radius: var(--radius); outline: 2px dashed rgba(242, 97, 34, .25); outline-offset: -8px; }
.info-box:nth-child(4n+2) { background: var(--green-l); outline-color: rgba(35, 133, 47, .25); }
.info-box:nth-child(4n+3) { background: var(--yellow-l); outline-color: rgba(201, 130, 0, .25); }
.info-box:nth-child(4n+4) { background: var(--blue-l); outline-color: rgba(43, 158, 216, .25); }
.info-box > span { width: 50px; height: 50px; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; background: var(--orange); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.info-box h3 { font-size: 1.1rem; margin-bottom: 4px; }
.info-box p { margin: 0; }
.map { position: relative; scroll-margin-top: var(--header-h); }
.map iframe { display: block; width: 100%; height: 460px; border: 0; }
/* Thẻ địa chỉ nổi trên bản đồ (máy tính), xếp dưới bản đồ (điện thoại) */
.map__overlay { position: absolute; top: 28px; left: 0; right: 0; pointer-events: none; display: flex; justify-content: flex-end; }
.map__card { pointer-events: auto; display: flex; gap: 14px; max-width: 360px; padding: 18px 20px; background: #fff; border-radius: 22px; box-shadow: 0 18px 40px rgba(40, 30, 20, .18); }
.map__pin { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%; background: var(--orange); color: #fff; }
.map__card strong { display: block; font-family: var(--font-head); font-size: 1.08rem; line-height: 1.3; color: var(--ink); }
.map__card p { margin: 4px 0 12px; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.info-box__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-weight: 800; color: var(--orange-d); }
.info-box__link .icon { width: 16px; height: 16px; }
.search-inline { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 40px; }

.notfound { text-align: center; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; margin: 0; background: linear-gradient(90deg, var(--green), var(--yellow), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: #d6ead3; position: relative; margin-top: 130px; padding-top: 20px; }
.footer__hills { position: absolute; left: 0; right: 0; top: -119px; height: 120px; }
.footer__hills > svg:not(.dd) { width: 100%; height: 100%; display: block; }
.footer__hills .hill-back { fill: #3f9a45; }
.footer__hills .hill-front { fill: var(--forest); }
.dd-ft-f1 { --s: 30px; left: 9%; top: 34px; --t: 5s; }
.dd-ft-f2 { --s: 24px; left: 13%; top: 46px; color: #fff; --t: 6s; }
.dd-ft-f3 { --s: 28px; right: 18%; top: 62px; color: var(--yellow); --t: 5.5s; }
.dd-ft-sun { --s: 74px; right: 6%; top: -30px; --t: 12s; }
.footer__contact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 14px; }
.fcard { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, transform .2s; }
.footer a.fcard, .footer a.fcard:hover { color: #fff; }
.fcard:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.fcard__ic { flex: 0 0 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .18); }
.fcard__ic .icon { width: 25px; height: 25px; }
.fcard__ic--green { background: var(--green-k); }
.fcard__ic--yellow { background: var(--yellow); }
.fcard__ic--orange { background: var(--orange); }
.fcard__txt { display: grid; gap: 2px; min-width: 0; }
.fcard small { font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #a9cfa6; }
.fcard strong { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.3; color: #fff; overflow-wrap: anywhere; }
.fcard em { font-style: normal; font-size: .86rem; color: #cfe5cc; }
.fcard .fcard__go { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); font-weight: 800; }
.fcard__go .icon { width: 16px; height: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; margin-top: 36px; padding: 40px 0 44px; border-top: 2px dashed rgba(255, 255, 255, .14); }
.footer__logo { height: 66px; width: auto; background: #fff; padding: 8px 14px; border-radius: 14px; margin-bottom: 16px; }
.footer__about p { color: #cfe5cc; max-width: 380px; margin-bottom: 16px; }
.footer__badges { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer__badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(247, 168, 35, .15); color: #ffd88a; font-size: .82rem; font-weight: 800; }
.footer__badges .icon { width: 16px; height: 16px; }
.footer__title { position: relative; color: #fff; font-size: 1.15rem; margin-bottom: 16px; padding-bottom: 10px; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 4px; border-radius: 4px; background: var(--yellow); }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: #d6ead3; }
.footer a:hover { color: var(--yellow); }
.footer__links a { display: inline-flex; align-items: flex-start; gap: 9px; transition: transform .2s, color .2s; }
.footer__links a::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.footer__links a:hover { transform: translateX(3px); }
.footer__links a:hover::before { background: var(--yellow); }
.footer__hours { display: flex; gap: 10px; align-items: flex-start; color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer__hours .icon { flex: 0 0 20px; width: 20px; height: 20px; color: var(--yellow); margin-top: 3px; }
.footer__visit-txt { color: #cfe5cc; font-size: .95rem; margin-bottom: 16px; }
.footer .btn--primary, .footer .btn--primary:hover { color: #fff; }
.footer__cta .icon { width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--orange); color: #fff; }
.zalo-txt { font-weight: 800; font-size: .72rem; }
.footer__bottom { background: rgba(0, 0, 0, .16); padding: 16px 0; font-size: .86rem; color: #b9d6b6; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer__note { display: inline-flex; align-items: center; gap: 6px; }
.footer__note .icon { width: 16px; height: 16px; color: var(--yellow); }
@media (max-width: 1199px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 36px 40px; }
  .footer__visit { grid-column: 1 / -1; padding: 20px 24px; border-radius: 20px; background: rgba(255, 255, 255, .06); }
}
@media (max-width: 991px) {
  .footer__contact-strip { grid-template-columns: 1fr 1fr; }
  .footer__contact-strip .fcard:last-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer__contact-strip { grid-template-columns: 1fr; gap: 10px; padding-top: 6px; }
  .fcard { padding: 14px 16px; gap: 14px; border-radius: 18px; }
  .fcard__ic { flex-basis: 46px; height: 46px; border-radius: 15px; }
  .fcard strong { font-size: 1.04rem; }
  .footer__grid { gap: 28px 18px; margin-top: 26px; padding: 30px 0 32px; }
  .footer__visit { padding: 18px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 4px; }
}

/* ---------- Floating contact ---------- */
.float-contact { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fc { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); transition: transform .2s; font-weight: 800; font-size: .8rem; }
.fc:hover { transform: scale(1.1); color: #fff; }
.fc .icon { width: 26px; height: 26px; }
.fc--phone { background: var(--green); animation: ring 2.5s infinite; }
.fc--zalo { background: #0068ff; }
.fc--messenger { background: linear-gradient(135deg, #0099ff, #a033ff, #ff5280); }
.to-top { position: fixed; right: 22px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(20, 16, 24, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; margin: 0 auto; }
.lightbox figcaption { color: #fff; margin-top: 12px; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .icon { width: 24px; height: 24px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .6s ease, transform .6s cubic-bezier(.34, 1.4, .64, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1399px) {
  .header__phone { display: none; }
}

@media (max-width: 1199px) {
  .header__cta { padding: 10px 16px; font-size: .9rem; }
  .nav__item > a { padding: 10px 10px; font-size: .93rem; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}

@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .logo img { height: 52px; }
  .hamburger { display: inline-flex; }
  .header__cta, .header__search { display: none; }
  /* Logo ở giữa: [tìm kiếm] [logo] [menu] */
  /* Hai cột bên co giãn bằng nhau → logo luôn ở giữa, cột phải đủ chỗ cho nút ngôn ngữ + menu */
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .header__search-m { display: inline-flex; justify-self: start; }
  /* Icon đầu trang trên mobile: không vòng tròn, không nền */
  .header .icon-btn, .header .icon-btn:hover, .hamburger.is-active { background: transparent; box-shadow: none; }
  .header__search-m:hover { color: var(--ink); }
  .header__search-m .icon { width: 22px; height: 22px; }
  .logo { justify-self: center; }
  .header__actions { margin: 0; justify-self: end; }
  .nav__home-text { position: static; width: auto; height: auto; clip: auto; }
  .hero { padding: 18px 0 24px; }
  .slider { border-radius: 22px; }
  .nav { position: fixed; top: var(--nav-top, 0px); right: 0; bottom: 0; width: min(340px, 86vw); background: #fff; z-index: 210; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; }
  .nav.is-open { transform: none; box-shadow: var(--shadow-lg); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(20, 16, 24, .5); z-index: 200; opacity: 0; visibility: hidden; transition: .3s; display: block; }
  .nav.is-open + .header__actions + .nav-backdrop, body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .nav__head img { height: 44px; width: auto; }
  .nav__close { display: none !important; border: 0; background: var(--cream); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
  .nav__list { flex-direction: column; padding: 12px; gap: 2px; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; }
  .nav__item > a { flex: 1; padding: 12px 14px; font-size: 1.02rem; }
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; }
  .nav__toggle .icon { transition: transform .2s; }
  .nav__item.is-open .nav__toggle .icon { transform: rotate(180deg); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; width: 100%; padding: 0 0 6px 12px; display: none; min-width: 0; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub { transform: none; }
  .nav__foot { display: grid; gap: 10px; padding: 16px 18px 24px; margin-top: auto; }
  .topbar__info span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; display: inline-block; }
  .hide-md { display: none !important; }
  .section { padding: 56px 0; }
  .page-hero + .section { padding-top: 32px; }
  .intro__inner, .cta-register__inner, .contact { grid-template-columns: 1fr; gap: 36px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .kp-split { grid-template-columns: 1fr; gap: 20px; }
  .kp-cards, .kp-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-split--reverse > :first-child { order: 0; }
  .related .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  /* Điện thoại: chỉ một chip là ngôn ngữ để chuyển sang (đủ chỗ cạnh logo) */
  .lang-switch--m { display: inline-flex; padding: 0; border: 0; background: none; font-size: .78rem; }
  .lang-switch--m a.is-active { display: none; }
  .lang-switch--m a { min-width: 0; padding: 6px 9px; border: 1.5px solid var(--line); background: var(--cream); color: var(--green-d); box-shadow: 0 2px 0 var(--line); }
  .header__actions { gap: 6px; }
  .hero { padding: 12px 0 18px; }
  .hero__inner { padding: 0 12px; }
  .slider { border-radius: 18px; box-shadow: 0 12px 30px rgba(60, 40, 20, .14); }
  .hero__deco--3 { display: none; }
  .slider__dots { bottom: 10px; padding: 6px 9px; gap: 8px; }
  .slider__dots button { width: 9px; height: 9px; }
  .slider__dots button.is-active { width: 26px; }
  .partners { gap: 12px 20px; }
  .partner img { height: 60px; max-width: 130px; }
  .slide picture:has(source) img { aspect-ratio: 16 / 10; }
  /* Nút trước/sau nhỏ ở góc dưới phải, thẳng hàng với dải chấm */
  .slider__arrow { width: 32px; height: 32px; bottom: 6px; }
  .slider__arrow .icon { width: 17px; height: 17px; }
  .slider__arrow::after { content: ""; position: absolute; inset: -5px; } /* vùng chạm rộng hơn cho ngón tay */
  .slider__prev { right: 50px; }
  .slider__next { right: 10px; }
  .section { padding: 44px 0; }
  .page-hero + .section { padding-top: 26px; }
  .section-head { margin-bottom: 26px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .intro { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4, .related .grid--3 { grid-template-columns: 1fr; gap: 20px; }
  /* Form ghi danh vẫn 2 cột trên điện thoại cho gọn */
  .form-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; }
  .kp-form:not(.kp-form--compact) .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field label { font-size: .8rem; }
  .kp-form .field label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .field input, .field select, .field textarea { padding: 8px 10px; font-size: 16px; border-radius: 10px; }
  .field input:not([type=file]), .field select { height: 42px; }
  .form-card, .card { padding: 20px 16px; }
  .cta-register { padding: 44px 0; }
  .cta-register__phone { font-size: 1.4rem; }
  .kp-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* Thẻ lý do: icon và tiêu đề cùng một dòng */
  .feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-items: center; padding: 20px 18px; }
  .feature__icon { width: 48px; height: 48px; border-radius: 15px; margin: 0; }
  .feature__icon .icon { width: 24px; height: 24px; }
  .feature h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
  .feature p { grid-column: 1 / -1; }
  .kp-cards, .kp-cards:has(> :nth-child(2):last-child), .kp-cards:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; gap: 14px; }
  .float-contact { display: none; }
  .to-top { bottom: 78px; right: 14px; width: 42px; height: 42px; }
  .page-hero { padding: 36px 0 44px; }
  .breadcrumbs [aria-current], .breadcrumbs .sep:has(+ [aria-current]) { display: none; }
  .job { flex-wrap: wrap; padding: 16px; }
  .lightbox { padding: 56px 8px; }
  .lightbox__nav { top: auto; bottom: 12px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .search-inline { flex-direction: column; }
  .map iframe { height: 340px; }
  .map__overlay { position: relative; top: auto; z-index: 1; margin-top: -36px; display: block; }
  .map__card { max-width: none; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 95; padding: 6px; border-radius: 22px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 32px rgba(30, 30, 50, .18), 0 0 0 1px rgba(44, 40, 51, .06); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 16px; font-size: .7rem; font-weight: 800; color: var(--ink); }
  .mobile-bar .icon { width: 22px; height: 22px; color: var(--green-k); }
  .mobile-bar a:last-child .icon { color: var(--orange); }
  .mobile-bar .mobile-bar__cta { background: var(--orange); color: #fff; box-shadow: 0 3px 0 var(--orange-d); margin: 0 2px 3px; }
  .mobile-bar__cta .icon { color: #fff; }
  .zalo-mini { width: 22px; height: 22px; display: grid; place-items: center; background: #0068ff; color: #fff; border-radius: 6px; font-size: .55rem; }
}

@media print {
  .topbar, .header, .footer, .float-contact, .mobile-bar, .to-top, .cta-register, .share { display: none !important; }
}

/* =========================================================
   Giao diện mầm non v2 – điều chỉnh theo màn hình
   ========================================================= */
@media (max-width: 1399px) {
  /* Lề hẹp: bỏ bớt hình vẽ nằm sát mép để không đè nội dung */
  .dd-hero-cloud, .dd-hero-spark, .dd-intro-dots, .dd-prog-spark, .dd-feat-flower { display: none; }
  .dd-hero-star { --s: 44px; top: 4px; }
  .dd-hero-plane { --s: 52px; bottom: 2px; }
}
@media (max-width: 991px) {
  .dd-hero-star, .dd-hero-plane, .dd-prog-balloon, .dd-feat-heart, .dd-feat-star, .dd-news-plane, .dd-cta-plane, .dd-cta-spark, .dd-ph-cloud1, .dd-ph-cloud2, .dd-ph-spark { display: none; }
  .dd-prog-cloud { --s: 80px; top: 24px; }
  .dd-intro-sun { --s: 70px; right: -10px; top: -34px; }
  .dd-intro-rainbow { --s: 74px; left: -10px; bottom: -30px; }
  .dd-ph-rainbow { --s: 80px; right: 4%; top: 18px; opacity: .8; }
  .stats { padding: 70px 0; }
}
@media (max-width: 640px) {
  /* Mép mây nhỏ hơn trên điện thoại */
  .section--wave::before, .section--wave::after, .stats::before, .stats::after, .cta-register::before, .cta-register::after, .page-hero::after {
    height: 14px; -webkit-mask-size: 28px 14px; mask-size: 28px 14px;
    -webkit-mask-image: radial-gradient(14px at 50% 0, #000 97%, #0000); mask-image: radial-gradient(14px at 50% 0, #000 97%, #0000); }
  .section--wave::after, .stats::after, .cta-register::after, .page-hero::after {
    -webkit-mask-image: radial-gradient(14px at 50% 100%, #000 97%, #0000); mask-image: radial-gradient(14px at 50% 100%, #000 97%, #0000); }
  .page-hero { padding-bottom: 44px; }
  .dd-prog-cloud, .dd-stats-cloud2, .dd-cta-star, .dd-ft-f3 { display: none; }
  .dd-ph-rainbow { --s: 64px; top: 10px; right: 10px; opacity: .55; }
  .dd-stats-cloud1 { --s: 70px; top: 18px; }
  .dd-cta-cloud { --s: 70px; bottom: 20px; }
  .dd-ft-sun { --s: 54px; top: -20px; }
  .eyebrow { font-size: .84rem; }
  .stats { padding: 56px 0; }
  .stats__grid { gap: 16px 12px; }
  .stat { padding: 12px; }
  .stat__label { font-size: .84rem; }
  .yt-lite { border-width: 7px; transform: rotate(1deg); }
  .tape { width: 84px; height: 24px; }
  .program-card, .post-card { padding: 8px; }
  .cta-register { padding: 64px 0; }
  .cta-register .form-card { outline-offset: 5px; }
  .footer { margin-top: 90px; }
  .footer__hills { top: -79px; height: 80px; }
}

/* Mục lục trên máy tính bảng/điện thoại: một hàng vuốt ngang, nền kính phủ tràn viền */
@media (max-width: 991px) {
  .kp-toc { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 1.4em; padding: 8px 20px 11px; scrollbar-width: none; scroll-padding: 0 20px; transition: background-color .25s, box-shadow .25s; }
  .kp-toc::-webkit-scrollbar { display: none; }
  /* Thanh cuộn ngang sẽ cắt ::before, nên tô nền thẳng lên thanh */
  .kp-toc::before { display: none; }
  .kp-toc.is-stuck { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 22px rgba(40, 30, 20, .08); }
  .prose .kp-toc a { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .kp-toc { margin: 0 -16px 1.2em; padding: 8px 16px 11px; scroll-padding: 0 16px; }
  .prose .kp-toc a { padding: 8px 15px; font-size: .92rem; }
}

/* Bản tiếng Anh: thông báo bài viết chỉ có tiếng Việt */
.lang-note { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.lang-note .icon { flex-shrink: 0; }

/* =========================================================
   Khối nội dung thuyết phục (trang Tuyển sinh) – dùng trong trình soạn thảo
   ========================================================= */
.kp-block { margin: 4em 0 0; }
.kp-head { max-width: 780px; margin: 0 auto 1.6em; text-align: center; }
.kp-head > :first-child { margin-top: 0; }
.prose .kp-head h2 { margin: .35em 0 .3em; }
.kp-head .lead { margin: 0; }
.prose .kp-head h2::before, .prose .kp-intro h2::before, .prose .kp-cta h2::before { display: none; }

/* Mở đầu */
.kp-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; margin: 0 0 1.5em; }
.prose .kp-intro h2 { margin: .4em 0 .45em; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12; }
.kp-intro img { width: 100%; margin: 0; border-radius: 32px; box-shadow: var(--pop); transform: rotate(1.2deg); }
.kp-intro .kp-actions { margin-top: 1.4em; }

/* Dải số liệu */
.kp-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 2em 0 2.4em; }
.kp-fact { margin: 0; padding: 18px 14px 16px; text-align: center; background: #fff; border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 4px 0 var(--line); line-height: 1.35; }
.kp-fact strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1.65rem; line-height: 1.1; color: var(--orange); }
.kp-fact:nth-child(2) strong { color: var(--green-d); }
.kp-fact:nth-child(3) strong { color: var(--blue); }
.kp-fact:nth-child(4) strong { color: #c98200; }
.kp-fact:nth-child(5) strong { color: var(--lilac); }
.kp-fact span { font-size: .9rem; color: var(--muted); }

/* Ảnh đầu thẻ */
.kp-card > img:first-child { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 16px; border-radius: 16px; }

/* Bảng so sánh */
.prose table.kp-compare { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 24px; border: 2px solid var(--line); background: #fff; }
.prose .kp-compare th, .prose .kp-compare td { border: 0; border-bottom: 1px solid var(--line); padding: 14px 18px; vertical-align: top; }
.prose .kp-compare tr:last-child td { border-bottom: 0; }
.prose .kp-compare thead th { background: #f7f3ec; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.prose .kp-compare thead th:last-child { background: var(--green-k); color: #fff; }
.prose .kp-compare td:first-child { width: 18%; font-weight: 800; color: var(--ink); }
.prose .kp-compare td:nth-child(2) { width: 38%; color: var(--muted); }
.prose .kp-compare td:last-child { background: var(--green-l); color: var(--ink); font-weight: 600; }

/* Nỗi lo của bố mẹ */
.kp-worries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 1.2em 0; }
.kp-worry { padding: 22px 24px; background: #fff; border: 2px solid var(--line); border-radius: 24px; box-shadow: 0 4px 0 var(--line); }
.prose .kp-worry h3 { position: relative; margin: 0 0 .6em; padding-left: 46px; font-size: 1.12rem; line-height: 1.35; color: var(--ink); }
.prose .kp-worry h3::before { content: "?"; position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-l); color: var(--orange); font-size: 1.15rem; }
.kp-worry p { margin: 0; }
.kp-worry p + p { margin-top: .5em; }
.kp-worry:nth-child(4n+2) h3::before, .kp-worry:nth-child(4n+3) h3::before { background: var(--green-l); color: var(--green-d); }

/* Học phí các hệ */
.kp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; margin: 2em 0 1.2em; }
.kp-plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; background: #fff; border: 2px solid var(--line); border-radius: 28px; box-shadow: var(--pop); }
.kp-plan--featured { border-color: var(--orange); box-shadow: 0 6px 0 var(--orange-l), 0 20px 40px rgba(242, 97, 34, .14); }
.prose .kp-plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); margin: 0; padding: 4px 16px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .82rem; font-weight: 800; white-space: nowrap; }
.kp-plan:not(.kp-plan--featured) .kp-plan__badge { background: var(--green-k); }
.prose .kp-plan h3 { margin: 0; font-size: 1.32rem; color: var(--ink); }
.kp-plan__age { margin: .2em 0 .9em; font-weight: 700; color: var(--muted); }
.kp-plan__price { margin: 0 0 1em; font-family: var(--font-head); font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--orange); }
.kp-plan__price small { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--muted); }
.prose .kp-plan ul, .prose .kp-fee ul, .prose .kp-gifts ul { list-style: none; padding: 0; }
.prose .kp-plan ul { flex: 1; margin: 0 0 1.3em; }
.prose .kp-plan li { position: relative; padding-left: 30px; }
.prose .kp-plan li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323852f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.kp-plan .kp-actions { margin: auto 0 0; }
.kp-plan .kp-actions .btn { flex: 1 1 auto; }

/* Các khoản phí */
.kp-fees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 1.4em 0; }
.kp-fee { padding: 24px 24px 18px; background: var(--cream); border-radius: 24px; outline: 2px dashed var(--line); outline-offset: -8px; }
.prose .kp-fee h3 { margin: 0 0 .5em; font-size: 1.12rem; color: var(--ink); }
.prose .kp-fee ul { margin: 0; }
.prose .kp-fee li { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.prose .kp-fee li:last-child { border-bottom: 0; }
.kp-fee li strong { flex-shrink: 0; text-align: right; color: var(--ink); white-space: nowrap; }
.kp-fee p { margin: .6em 0 0; font-size: .9rem; color: var(--muted); }
.kp-note { font-size: .95rem; color: var(--muted); }

/* Quà tặng */
.kp-gifts { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: center; margin: 1.4em 0; padding: 30px; border-radius: 32px; background: var(--green-l); outline: 2px dashed rgba(35, 133, 47, .3); outline-offset: -10px; }
.kp-gifts__total { margin: 0; text-align: center; font-weight: 700; color: var(--green-d); }
.kp-gifts__total strong { display: block; margin: 4px 0; font-family: var(--font-head); font-size: 2.3rem; line-height: 1.1; color: var(--orange); }
.prose .kp-gifts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.prose .kp-gifts li { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; background: #fff; border-radius: 16px; }
.kp-gifts li strong { flex-shrink: 0; color: var(--green-d); white-space: nowrap; }
.prose .kp-gifts li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Các bước */
.prose ol.kp-steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 1.4em 0; padding: 0; }
.prose .kp-steps li { counter-increment: step; position: relative; margin: 0; padding: 62px 20px 20px; background: #fff; border: 2px solid var(--line); border-radius: 24px; box-shadow: 0 4px 0 var(--line); }
.prose .kp-steps li::before { content: counter(step); position: absolute; top: 18px; left: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; }
.kp-steps li strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }

/* Hỏi đáp */
.kp-faq { max-width: 880px; margin: 1.2em auto 0; }
.kp-faq details { margin: 0 0 12px; background: #fff; border: 2px solid var(--line); border-radius: 20px; transition: border-color .2s; }
.kp-faq details[open] { border-color: var(--orange); }
.kp-faq summary { position: relative; padding: 16px 58px 16px 22px; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.08rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.kp-faq summary::-webkit-details-marker { display: none; }
.kp-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange-l); color: var(--orange); font-size: 1.35rem; line-height: 1; }
.kp-faq details[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.kp-faq details > :not(summary) { margin: 0; padding: 0 22px 16px; }
.kp-faq details > :not(summary) + :not(summary) { margin-top: -6px; }

/* Lời mời cuối trang */
.kp-cta { margin: 3.5em 0 0; padding: 36px 32px; text-align: center; color: #fff; background: var(--green-k); border-radius: 32px; box-shadow: 0 8px 0 var(--forest); }
.prose .kp-cta h2 { margin: 0 0 .3em; color: #fff; }
.kp-cta p { margin: 0 auto; max-width: 680px; color: #fff; }
.kp-cta .kp-actions { justify-content: center; margin-top: 1.3em; }
.prose .kp-cta a:not(.btn) { color: #fff; }

@media (max-width: 1199px) {
  .kp-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose ol.kp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-fees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .kp-intro { grid-template-columns: 1fr; gap: 26px; }
  .kp-intro img { transform: none; }
  .kp-plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 30px; }
  .kp-gifts { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
}
@media (max-width: 640px) {
  .kp-block { margin-top: 3em; }
  .kp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kp-fact:last-child { grid-column: 1 / -1; }
  .kp-fact strong { font-size: 1.4rem; }
  .kp-worries, .kp-fees, .prose .kp-gifts ul, .prose ol.kp-steps { grid-template-columns: 1fr; }
  .kp-worry { padding: 18px 18px; }
  .kp-plan { padding: 28px 20px 22px; }
  .kp-cta { padding: 28px 20px; }
  .kp-card > img:first-child { aspect-ratio: 16 / 9; }
  .prose .kp-steps li { padding: 18px 18px 18px 66px; }
  .prose .kp-steps li::before { top: 18px; left: 18px; }
  .kp-faq summary { padding: 14px 52px 14px 16px; font-size: 1rem; }
  .kp-faq details > :not(summary) { padding: 0 16px 14px; }
  /* Bảng so sánh: mỗi dòng thành một thẻ */
  .prose table.kp-compare, .prose .kp-compare tbody, .prose .kp-compare tr, .prose .kp-compare td { display: block; width: auto; }
  .prose .kp-compare thead { display: none; }
  .prose table.kp-compare { border: 0; background: none; overflow: visible; }
  .prose .kp-compare tr { margin-bottom: 12px; overflow: hidden; background: #fff; border: 2px solid var(--line); border-radius: 20px; }
  .prose .kp-compare td { padding: 10px 16px; }
  .prose .kp-compare td:first-child { width: auto; background: #f7f3ec; }
  .prose .kp-compare td:nth-child(2), .prose .kp-compare td:last-child { width: auto; }
  .prose .kp-compare td:nth-child(2)::before, .prose .kp-compare td:last-child::before { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
  .prose .kp-compare td:nth-child(2)::before { content: "Lớp học thường gặp"; color: var(--muted); }
  .prose .kp-compare td:last-child::before { content: "Montessori tại Kinder Paradise"; color: var(--green-d); }
  html[lang="en"] .prose .kp-compare td:nth-child(2)::before { content: "Typical classroom"; }
  html[lang="en"] .prose .kp-compare td:last-child::before { content: "Montessori at Kinder Paradise"; }
  .prose .kp-compare tr:last-child td { border-bottom: 1px solid var(--line); }
  .prose .kp-compare tr td:last-child { border-bottom: 0; }
}

/* ---------- Tuyển sinh v2: mở đầu, hai lựa chọn, 4 ô ảnh ---------- */
.kp-center { text-align: center; }
.kp-actions.kp-center { justify-content: center; margin-top: 1.6em; }
.prose h3.kp-center { margin: 2em 0 .9em; font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--ink); }

.kp-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin: 0 0 1.4em; padding: 48px 56px 52px; border-radius: 40px; background: linear-gradient(135deg, var(--yellow-l) 0%, var(--orange-l) 100%); }
.prose .kp-hero h2 { margin: .35em 0 .35em; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em; }
.prose .kp-hero h2::before { display: none; }
.kp-hero mark { position: relative; z-index: 0; background: none; color: var(--orange); white-space: nowrap; }
.kp-hero mark::after { content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .02em; height: .3em; border-radius: 999px; background: var(--yellow); opacity: .55; }
.kp-hero .lead { max-width: 30em; font-size: 1.2rem; }
.kp-hero .lead strong { color: var(--orange); }
.kp-hero .kp-actions { margin-top: 1.5em; }
.kp-hero__media { position: relative; }
.kp-hero__media img { display: block; width: 100%; margin: 0; border: 8px solid #fff; border-radius: 34px; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.prose .kp-sticker { position: absolute; top: -34px; right: -26px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 138px; height: 138px; margin: 0; padding: 16px; border-radius: 50%; background: var(--orange); color: #fff; text-align: center; font-size: .78rem; font-weight: 800; line-height: 1.25; transform: rotate(9deg); box-shadow: 0 6px 0 var(--orange-d), 0 16px 30px rgba(242, 97, 34, .3); }
.kp-sticker strong { display: block; font-family: var(--font-head); font-size: 2.5rem; line-height: 1; }
.prose .kp-float { position: absolute; z-index: 2; max-width: 230px; margin: 0; padding: 10px 16px 10px 14px; border-radius: 16px; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 800; line-height: 1.35; box-shadow: 0 4px 0 rgba(60, 40, 20, .06), 0 14px 30px rgba(60, 40, 20, .16); }
.kp-float::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--green-k); box-shadow: 0 0 0 4px var(--green-l); vertical-align: .05em; }
.prose .kp-float--top { left: -30px; top: 16%; }
.prose .kp-float--bottom { right: 24px; bottom: -22px; }
.kp-float strong { color: var(--green-d); }

/* Hai lựa chọn */
.kp-choice { display: grid; grid-template-columns: 1fr auto 1.12fr; gap: 0 20px; align-items: stretch; max-width: 1080px; margin: 1.6em auto 0; }
.kp-choice__col { padding: 28px 30px 26px; border-radius: 30px; }
.kp-choice__col--old { background: #f5f2ee; border: 2px dashed #d9d1c6; color: var(--muted); }
.kp-choice__col--new { background: var(--green-l); border: 3px solid var(--green-k); color: var(--ink); box-shadow: 0 8px 0 rgba(26, 162, 69, .2), 0 22px 44px rgba(26, 162, 69, .14); }
.prose .kp-choice__label { margin: 0 0 .7em; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; line-height: 1.25; color: #8c8579; }
.kp-choice__col--new .kp-choice__label { color: var(--green-d); }
.prose .kp-choice ul { list-style: none; margin: 0; padding: 0; }
.prose .kp-choice li { position: relative; margin: 0; padding: 9px 0 9px 38px; font-size: 1.05rem; border-bottom: 1px dashed rgba(0, 0, 0, .08); }
.prose .kp-choice li:last-child { border-bottom: 0; }
.prose .kp-choice li::before { content: ""; position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: #e6e0d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23978f84' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose .kp-choice__col--new li { font-weight: 700; }
.prose .kp-choice__col--new li::before { background: var(--green-k) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.prose .kp-choice__result { margin: 1em 0 0; padding: 12px 16px; border-radius: 16px; background: #ece7e0; font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; text-align: center; color: #8c8579; }
.prose .kp-choice__col--new .kp-choice__result { background: var(--green-k); color: #fff; }
.prose .kp-choice__vs { align-self: center; display: grid; place-items: center; width: 70px; height: 70px; margin: 0; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; box-shadow: 0 5px 0 var(--orange-d), 0 12px 24px rgba(242, 97, 34, .25); }

/* 4 ô ảnh */
.kp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kp-benefit { position: relative; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 26px; box-shadow: var(--pop); }
.prose .kp-benefit img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; transition: transform .5s; }
.kp-benefit:hover img { transform: scale(1.05); }
.kp-benefit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(25, 35, 25, .82) 0%, rgba(25, 35, 25, .25) 45%, rgba(25, 35, 25, 0) 65%); pointer-events: none; }
.kp-benefit__text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: #fff; }
.prose .kp-benefit__text h3 { margin: 0 0 2px; font-size: 1.55rem; color: #fff; }
.prose .kp-benefit__text p { margin: 0; font-size: .98rem; font-weight: 700; color: rgba(255, 255, 255, .92); }
.kp-benefit:nth-child(1) .kp-benefit__text h3 { color: #ffd166; }
.kp-benefit:nth-child(2) .kp-benefit__text h3 { color: #9be58f; }
.kp-benefit:nth-child(3) .kp-benefit__text h3 { color: #ffb38a; }
.kp-benefit:nth-child(4) .kp-benefit__text h3 { color: #9fd8f5; }

@media (max-width: 991px) {
  .kp-hero { grid-template-columns: 1fr; gap: 40px; padding: 36px 30px 44px; }
  .kp-hero__media { max-width: 560px; }
  .kp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-choice { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .prose .kp-choice__vs { justify-self: center; margin: -14px 0; position: relative; z-index: 1; }
}
@media (max-width: 640px) {
  .kp-hero { margin: 0 -8px 1.2em; padding: 28px 20px 36px; border-radius: 30px; }
  .prose .kp-hero h2 { font-size: 2.05rem; }
  .kp-hero .lead { font-size: 1.08rem; }
  .kp-hero .kp-actions .btn { flex: 1 1 100%; }
  .kp-hero__media img { border-width: 6px; transform: none; }
  .prose .kp-sticker { top: -24px; right: -6px; width: 104px; height: 104px; padding: 12px; font-size: .64rem; }
  .kp-sticker strong { font-size: 1.9rem; }
  .prose .kp-float { max-width: 190px; padding: 8px 12px; font-size: .78rem; }
  .prose .kp-float--top { left: -6px; top: auto; bottom: 46px; }
  .prose .kp-float--bottom { right: 10px; bottom: -18px; }
  .kp-choice__col { padding: 22px 20px; }
  .prose .kp-choice li { font-size: 1rem; }
  .kp-benefits { gap: 12px; }
  .kp-benefit { aspect-ratio: 4 / 5; border-radius: 20px; }
  .kp-benefit__text { left: 14px; right: 14px; bottom: 12px; }
  .prose .kp-benefit__text h3 { font-size: 1.2rem; }
  .prose .kp-benefit__text p { font-size: .82rem; line-height: 1.35; }
}

/* ---------- Landing page (trang Tuyển sinh) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.lp-header__brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.lp-badge { flex-shrink: 0; white-space: nowrap; }
/* Nhãn năm học đã lên thanh trên: ẩn nhãn trùng ở phần đầu trang (máy tính) */
.is-landing .kp-hero__text > p:has(> .eyebrow:only-child) { display: none; }
.lp-back { flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; height: 44px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--green-l); color: var(--green-d); transition: background .2s, color .2s; }
.lp-back:hover { background: var(--green-k); color: #fff; }
.lp-back .icon { width: 20px; height: 20px; }
.lp-back .icon:first-child { width: 18px; height: 18px; }
.lp-header__actions { flex-shrink: 0; display: flex; align-items: center; gap: 14px; }
.lp-main { padding-top: 28px; }

.lp-footer { padding: 44px 0 24px; background: var(--forest); color: rgba(255, 255, 255, .85); }
.lp-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; padding-bottom: 24px; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.lp-footer__logo img { display: block; height: 60px; width: auto; padding: 6px 12px; border-radius: 16px; background: #fff; }
.lp-footer__contact { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.lp-footer__contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.lp-footer__contact .icon { width: 18px; height: 18px; flex-shrink: 0; color: #9be58f; }
.lp-footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 0; }
.lp-footer__nav strong { margin-right: 6px; font-family: var(--font-head); font-size: 1.05rem; color: #fff; }
.lp-footer__nav a { padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: .93rem; transition: background .2s; }
.lp-footer__nav a:hover { background: var(--green-k); color: #fff; }
.lp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .22); font-size: .85rem; color: rgba(255, 255, 255, .7); }
.lp-footer__bottom .icon { width: 16px; height: 16px; vertical-align: -3px; color: var(--yellow); }

@media (max-width: 1199px) {
  .lp-header .header__phone { display: none; }
}
@media (max-width: 991px) {
  .lp-header__cta { display: none; }
  .lp-header .logo img { height: 52px; }
  .lp-badge { font-size: .85rem; }
}
@media (max-width: 640px) {
  .lp-header__inner { gap: 8px; }
  .lp-header__brand { gap: 10px; }
  .lp-back { height: 40px; padding: 0 10px 0 6px; }
  .lp-badge { display: none; }
  .is-landing .kp-hero__text > p:has(> .eyebrow:only-child) { display: block; }
  .lp-main { padding-top: 18px; }
  .lp-footer { padding: 32px 0 calc(96px + env(safe-area-inset-bottom)); }
  .lp-footer__top { flex-direction: column; align-items: flex-start; }
  .lp-footer__contact { flex-direction: column; }
  .lp-footer__nav strong { flex-basis: 100%; }
}

/* ---------- Tuyển sinh v3: khẩu hiệu, slide 1-1, dải chữ chạy, hiệu ứng ---------- */
/* Gạch chân "một lần" vẽ dần */
.kp-hero mark::after { bottom: .06em; height: .22em; opacity: .6; transform-origin: left center; }
/* Khẩu hiệu hai màu */
.prose .kp-slogan { position: relative; display: inline-flex; flex-wrap: wrap; align-items: stretch; margin: 1.3em 0 0; overflow: hidden; border-radius: 999px; box-shadow: 0 5px 0 rgba(60, 40, 20, .1), 0 14px 30px rgba(60, 40, 20, .1); font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.kp-slogan span { display: inline-flex; align-items: center; padding: 12px 22px; color: #fff; }
.kp-slogan span:first-child { background: var(--green-k); padding-right: 30px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.kp-slogan span:last-child { margin-left: -12px; padding-left: 26px; background: var(--orange); }
.kp-slogan::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: kp-shine 4.5s ease-in-out 2s infinite; pointer-events: none; }
@keyframes kp-shine { 0% { left: -40%; } 30%, 100% { left: 130%; } }

/* Slide ảnh cô kèm con 1-1 */
.kp-slides { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border: 8px solid #fff; border-radius: 34px; background: #f3ede4; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.prose .kp-slides img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; transform: none; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.prose .kp-slides img:first-child, .prose .kp-slides img.is-active { opacity: 1; }
.prose .kp-slides.is-ready img:first-child:not(.is-active) { opacity: 0; }
.prose .kp-slides img.is-active { animation: kp-kenburns 6.5s ease-out both; }
@keyframes kp-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.kp-slides__nav { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: transform .2s; }
.kp-slides__nav svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(0, 0, 0, .35)); transition: transform .2s; }
.kp-slides__nav:hover { transform: scale(1.18); }
.kp-slides__nav--prev:hover svg { transform: translateX(-2px); }
.kp-slides__nav--next:hover svg { transform: translateX(2px); }
.kp-slides__nav:focus-visible { outline: 3px solid var(--yellow); outline-offset: 0; }
.kp-slides__nav--prev { left: 6px; }
.kp-slides__nav--next { right: 6px; }
.kp-slides__bar { position: absolute; z-index: 2; left: 0; top: 0; height: 4px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.kp-slides__bar.is-running { animation: kp-bar 5s linear forwards; }
@keyframes kp-bar { to { transform: scaleX(1); } }

/* Dải chữ chạy */
.kp-marquee { position: relative; overflow: hidden; margin: 4em calc(50% - 50vw) 0; padding: 16px 0; background: var(--green-k); transform: rotate(-1.2deg); box-shadow: 0 6px 0 var(--forest); }
.prose .kp-marquee p { margin: 0; white-space: nowrap; text-align: center; }
.kp-marquee__track { display: flex; width: max-content; animation: kp-marquee 32s linear infinite; }
.kp-marquee:hover .kp-marquee__track { animation-play-state: paused; }
.kp-marquee span { display: inline-flex; align-items: center; color: #fff; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }
.kp-marquee span::after { content: "✦"; margin: 0 26px; color: var(--yellow); font-size: 1rem; }
.kp-marquee span:nth-child(2) { color: #ffd166; }
@keyframes kp-marquee { to { transform: translateX(-50%); } }
.kp-marquee--orange { background: var(--orange); box-shadow: 0 6px 0 var(--orange-d); transform: rotate(1.2deg); }
.kp-marquee--orange .kp-marquee__track { animation-direction: reverse; }
.kp-marquee--orange span:nth-child(2) { color: #fff3c4; }
.kp-marquee--orange span::after { color: #fff3c4; }
/* Dải chữ cố định ở đáy màn hình: hiện / ẩn xen kẽ theo từng phần khi cuộn (main.js) */
.kp-marquee--fixed { position: fixed; z-index: 92; left: 0; right: 0; bottom: 0; margin: 0; padding: 13px 0; transform: translateY(115%); opacity: 0; visibility: hidden; box-shadow: 0 -10px 30px rgba(20, 60, 30, .18); transition: transform .5s cubic-bezier(.2, .9, .25, 1), opacity .4s, visibility 0s .5s; }
.kp-marquee--fixed.is-shown { transform: none; opacity: 1; visibility: visible; transition: transform .5s cubic-bezier(.2, .9, .25, 1), opacity .4s; }
.kp-marquee--fixed p { margin: 0; white-space: nowrap; text-align: center; }
.is-landing .float-contact, .is-landing .to-top { transition: bottom .4s ease, opacity .3s, transform .3s, visibility .3s; }
.marquee-on .float-contact { bottom: 146px; }
.marquee-on .to-top { bottom: 80px; }

/* Thanh tiến trình đọc trên landing */
.lp-progress { position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; pointer-events: none; }
.lp-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green-k), var(--yellow), var(--orange)); transform-origin: left; transform: scaleX(0); }

/* Hiệu ứng mở trang (phần đầu) */
.kp-hero__text > * { animation: kp-up .8s cubic-bezier(.2, .8, .2, 1) both; }
.kp-hero__text > :nth-child(2) { animation-delay: .12s; }
.kp-hero__text > :nth-child(3) { animation-delay: .26s; }
.kp-hero__text > :nth-child(4) { animation-delay: .4s; }
.kp-hero__text > :nth-child(5) { animation-delay: .54s; }
.kp-hero mark::after { animation: kp-draw .7s cubic-bezier(.6, 0, .2, 1) .7s both; }
.kp-hero__media { animation: kp-media 1s cubic-bezier(.2, .9, .25, 1.1) .15s both; }
.kp-sticker { animation: kp-pop .7s cubic-bezier(.3, 1.6, .5, 1) .9s both, kp-wobble 5s ease-in-out 1.8s infinite; }
.kp-float--top { animation: kp-in-left .7s ease 1.1s both, kp-bob 4.5s ease-in-out 2s infinite; }
.kp-float--bottom { animation: kp-in-right .7s ease 1.25s both, kp-bob 5s ease-in-out 2.4s infinite; }
@keyframes kp-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes kp-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kp-media { from { opacity: 0; transform: translateX(60px) rotate(6deg) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes kp-pop { from { opacity: 0; transform: scale(.2) rotate(-30deg); } to { opacity: 1; transform: rotate(9deg); } }
@keyframes kp-wobble { 0%, 100% { transform: rotate(9deg) scale(1); } 50% { transform: rotate(3deg) scale(1.06); } }
@keyframes kp-in-left { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes kp-in-right { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes kp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Hiệu ứng khi cuộn (thêm tự động bằng JS cho các khối kp-*) */
.reveal--left { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px) scale(.96); }
.reveal--pop { transform: scale(.3) rotate(-25deg); transition-timing-function: cubic-bezier(.3, 1.7, .5, 1); }
.reveal--zoom { transform: translateY(40px) scale(.9); }
.reveal--zoom img { transform: scale(1.25); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.reveal--zoom.is-in img { transform: scale(1); }
.reveal--zoom.is-in:hover img { transform: scale(1.05); }
.kp-choice__col--new.reveal li { opacity: 0; transform: translateX(16px); transition: opacity .4s, transform .4s; }
.kp-choice__col--new.reveal.is-in li { opacity: 1; transform: none; }
.kp-choice__col--new.reveal.is-in li:nth-child(1) { transition-delay: .45s; }
.kp-choice__col--new.reveal.is-in li:nth-child(2) { transition-delay: .6s; }
.kp-choice__col--new.reveal.is-in li:nth-child(3) { transition-delay: .75s; }
.kp-choice__col--new.reveal.is-in li:nth-child(4) { transition-delay: .9s; }
.kp-choice__col--new.reveal.is-in li:nth-child(5) { transition-delay: 1.05s; }
.kp-choice__col--new.reveal.is-in .kp-choice__result { animation: kp-pop-soft .6s cubic-bezier(.3, 1.6, .5, 1) 1.25s both; }
@keyframes kp-pop-soft { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.kp-plan--featured.is-in { animation: kp-glow 2.8s ease-in-out 1s infinite; }
@keyframes kp-glow { 0%, 100% { box-shadow: 0 6px 0 var(--orange-l), 0 20px 40px rgba(242, 97, 34, .14); } 50% { box-shadow: 0 6px 0 var(--orange-l), 0 20px 50px rgba(242, 97, 34, .32); } }

@media (max-width: 640px) {
  .prose .kp-slogan { display: flex; font-size: .98rem; }
  .kp-slogan span { padding: 10px 16px; }
  .kp-slogan span:first-child { padding-right: 24px; }
  .kp-slogan span:last-child { flex: 1; padding-left: 22px; }
  .kp-slides { border-width: 6px; border-radius: 26px; transform: none; }
  .kp-slides__nav { width: 42px; height: 42px; margin-top: -21px; }
  .kp-slides__nav svg { width: 28px; height: 28px; }
  .kp-slides__nav--prev { left: 2px; }
  .kp-slides__nav--next { right: 2px; }
  .prose .kp-float--top { top: -16px; bottom: auto; left: -6px; }
  .kp-marquee { margin-top: 3em; padding: 12px 0; }
  .kp-marquee--fixed { bottom: calc(76px + env(safe-area-inset-bottom)); margin: 0; padding: 9px 0; box-shadow: 0 -6px 18px rgba(20, 60, 30, .16); }
  .kp-marquee--fixed span { font-size: 1rem; }
  .kp-marquee--fixed span::after { margin: 0 14px; }
  .marquee-on .to-top { bottom: 124px; }
  .kp-marquee span { font-size: 1.1rem; }
  .kp-marquee span::after { margin: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .kp-hero *, .kp-hero *::after, .kp-slogan::after, .kp-marquee__track, .prose .kp-slides img.is-active, .kp-plan--featured.is-in { animation: none !important; }
  .reveal--zoom img, .kp-choice__col--new.reveal li { transform: none; opacity: 1; }
}

/* ---------- Chương trình tri ân: quà tặng + phiếu ưu đãi ---------- */
.kp-gifts { position: relative; overflow: hidden; grid-template-columns: 300px 1fr; gap: 32px; margin: 1.6em 0 0; padding: 40px; border-radius: 36px; outline: 0; background: radial-gradient(rgba(255, 255, 255, .2) 2px, transparent 3px) 0 0 / 26px 26px, linear-gradient(135deg, #ff8a4c 0%, var(--orange) 48%, #f7a823 100%); box-shadow: 0 10px 0 var(--orange-d), 0 26px 50px rgba(242, 97, 34, .28); }
.prose .kp-gifts__total { position: relative; margin: 0; padding: 28px 18px 26px; border: 2px dashed rgba(255, 255, 255, .6); border-radius: 28px; background: rgba(255, 255, 255, .14); color: #fff; text-align: center; }
.kp-gifts__total::before { content: ""; display: block; width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26122' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C10 3 12 8 12 8s2-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E") center / 36px no-repeat; box-shadow: 0 5px 0 rgba(160, 50, 0, .25); animation: kp-bob 3s ease-in-out infinite; }
.kp-gifts__total span { display: block; font-size: 1rem; font-weight: 800; color: #fff; }
.prose .kp-gifts__total strong { display: block; margin: 6px 0; font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.3rem); line-height: 1; color: #fff; text-shadow: 0 4px 0 rgba(160, 50, 0, .35); white-space: nowrap; }
.prose .kp-gifts li { position: relative; min-height: 64px; padding: 12px 16px 12px 64px; border-radius: 18px; background: #fff; box-shadow: 0 4px 0 rgba(160, 50, 0, .18); font-weight: 700; color: var(--ink); line-height: 1.35; }
.prose .kp-gifts li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: var(--orange-l) center / 20px no-repeat; }
.prose .kp-gifts li strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--orange); }
.prose .kp-gifts li:nth-child(1)::before { background-color: #fff6e0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c98200' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E"); }
.prose .kp-gifts li:nth-child(2)::before { background-color: #f3eefc; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6fd6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); }
.prose .kp-gifts li:nth-child(3)::before { background-color: #eaf7e6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323852f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01'/%3E%3C/svg%3E"); }
.prose .kp-gifts li:nth-child(4)::before { background-color: #e6f4fb; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b9ed8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); }
.prose .kp-gifts li:nth-child(5)::before { background-color: #eaf7e6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323852f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.5 19 2c1 2 2 4.2 2 8 0 5.5-4.8 10-10 10z'/%3E%3Cpath d='M2 21c0-3 1.9-5.4 5.1-6C9.5 14.5 12 13 13 12'/%3E%3C/svg%3E"); }
.prose .kp-gifts li:nth-child(6)::before { background-color: #fff0e8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26122' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2M7 2v20M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3zm0 0v7'/%3E%3C/svg%3E"); }
.prose .kp-gifts li:nth-child(7)::before { background-color: #ffecec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5484d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }

.kp-deals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kp-deal { --dc: var(--orange); position: relative; display: grid; grid-template-columns: 112px 1fr; min-height: 118px; overflow: hidden; background: #fff; border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 5px 0 var(--line); transition: transform .25s, box-shadow .25s; }
.kp-deal:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 9px 0 var(--line), 0 16px 30px rgba(60, 40, 20, .1); }
.kp-deal::before, .kp-deal::after { content: ""; position: absolute; z-index: 1; left: 101px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.kp-deal::before { top: -13px; }
.kp-deal::after { bottom: -13px; }
.prose .kp-deal__value { display: grid; place-items: center; margin: 0; padding: 10px 8px; background: var(--dc); color: #fff; font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; line-height: 1; text-align: center; text-shadow: 0 3px 0 rgba(0, 0, 0, .12); }
.prose .kp-deal__value--sm { font-size: 1.3rem; line-height: 1.1; }
.prose .kp-deal__text { align-self: center; margin: 0; padding: 14px 18px 14px 20px; border-left: 2px dashed var(--line); font-size: .93rem; line-height: 1.45; color: var(--muted); }
.kp-deal__text strong { display: block; margin-bottom: 3px; font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); }
.kp-deal:nth-child(-n+3) { --dc: linear-gradient(160deg, #ff7a3d, var(--orange-d)); }
.kp-deal:nth-child(4), .kp-deal:nth-child(5) { --dc: var(--green-k); }
.kp-deal:nth-child(6), .kp-deal:nth-child(7) { --dc: var(--blue); }
.kp-deal:nth-child(8) { --dc: var(--lilac); }
.kp-deal:nth-child(9) { --dc: #d99000; }
@media (max-width: 991px) {
  .kp-deals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kp-gifts { padding: 24px 16px; border-radius: 28px; }
  .prose .kp-gifts__total { padding: 22px 14px; }
  .kp-deals { grid-template-columns: 1fr; gap: 14px; }
  .kp-deal { grid-template-columns: 96px 1fr; min-height: 100px; }
  .kp-deal::before, .kp-deal::after { left: 85px; }
  .prose .kp-deal__value { font-size: 1.8rem; }
  .prose .kp-deal__value--sm { font-size: 1.1rem; }
}

/* ---------- Dải hotline trên cùng (landing, màn hình nhỏ) ---------- */
.lp-hotline { display: none; }
@media (max-width: 1199px) {
  .lp-hotline { display: flex; align-items: center; justify-content: center; gap: 8px; height: 34px; background: var(--green-k); color: #fff; font-size: .9rem; font-weight: 700; }
  .lp-hotline .icon { width: 16px; height: 16px; animation: kp-ring 2.4s ease-in-out infinite; }
  .lp-hotline strong { font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .02em; }
  .lp-hotline:hover, .lp-hotline:focus { color: #fff; background: var(--green-d); }
  .is-landing .kp-toc { top: calc(var(--header-h) + 34px); }
  .is-landing .prose [id] { scroll-margin-top: calc(var(--header-h) + 34px + var(--toc-h, 0px) + 20px); }
}
@keyframes kp-ring { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }

/* ---------- Tiêu đề lớn có nhấn (vd. "4 điều con mang theo suốt đời") ---------- */
.prose p.kp-center { margin: 2.6em 0 0; }
.prose h3.kp-title-xl { margin: .35em 0 1em; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.15; letter-spacing: -.01em; }
.kp-title-xl mark { position: relative; z-index: 0; background: none; color: var(--orange); white-space: nowrap; }
.kp-title-xl mark::after { content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .06em; height: .24em; border-radius: 999px; background: var(--yellow); opacity: .6; transform-origin: left center; }
.reveal .kp-title-xl mark::after, h3.kp-title-xl.reveal mark::after { transform: scaleX(0); transition: transform .8s cubic-bezier(.6, 0, .2, 1) .35s; }
h3.kp-title-xl.reveal.is-in mark::after { transform: scaleX(1); }

/* ---------- 4 ô ảnh chuyển động liên tục ---------- */
.prose .kp-benefit img { animation: kp-pan-a 14s ease-in-out infinite alternate; }
.prose .kp-benefit:nth-child(2) img { animation-name: kp-pan-b; animation-duration: 16s; animation-delay: -4s; }
.prose .kp-benefit:nth-child(3) img { animation-duration: 15s; animation-delay: -8s; }
.prose .kp-benefit:nth-child(4) img { animation-name: kp-pan-b; animation-duration: 13s; animation-delay: -2s; }
@keyframes kp-pan-a { from { transform: scale(1.06) translate(-2%, 1%); } to { transform: scale(1.18) translate(2%, -2%); } }
@keyframes kp-pan-b { from { transform: scale(1.18) translate(2%, -1%); } to { transform: scale(1.06) translate(-2%, 2%); } }
.kp-benefit { isolation: isolate; transition: transform .35s cubic-bezier(.2, .9, .25, 1.2), box-shadow .35s, opacity .6s ease; }
.kp-benefit:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 10px 0 rgba(60, 40, 20, .06), 0 28px 50px rgba(60, 40, 20, .2); }
.kp-benefit:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.kp-benefits .kp-benefit .kp-benefit__text h3 { transition: transform .35s; }
.kp-benefit:hover .kp-benefit__text h3 { transform: translateY(-4px) scale(1.04); }
/* vệt sáng lướt qua từng ô, lần lượt */
.kp-benefit > img + .kp-benefit__text { z-index: 2; }
.kp-benefits .kp-benefit::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-18deg); animation: kp-sweep 7s ease-in-out infinite; pointer-events: none; }
.kp-benefits .kp-benefit:nth-child(2)::before { animation-delay: 1.2s; }
.kp-benefits .kp-benefit:nth-child(3)::before { animation-delay: 2.4s; }
.kp-benefits .kp-benefit:nth-child(4)::before { animation-delay: 3.6s; }
@keyframes kp-sweep { 0% { left: -60%; } 22%, 100% { left: 140%; } }
@media (prefers-reduced-motion: reduce) {
  .prose .kp-benefit img, .kp-benefits .kp-benefit::before, .lp-hotline .icon { animation: none !important; }
}

/* ---------- Quà tặng dạng voucher: phần tên + cuống phiếu ghi giá trị ---------- */
.prose .kp-gifts ul { filter: drop-shadow(0 4px 0 rgba(150, 45, 0, .22)) drop-shadow(0 10px 14px rgba(150, 45, 0, .12)); }
.prose .kp-gifts li { --stub: 152px; display: flex; align-items: stretch; justify-content: flex-start; min-height: 72px; padding: 0 0 0 66px; border-radius: 16px; background: #fff; box-shadow: none; overflow: hidden;
  -webkit-mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 10px, #000 10.5px) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 10px, #000 10.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 10px, #000 10.5px) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 10px, #000 10.5px) bottom / 100% 51% no-repeat;
  transition: transform .25s; }
.prose .kp-gifts li:hover { transform: translateY(-3px) rotate(-.4deg); }
.prose .kp-gifts li::before { left: 16px; width: 40px; height: 40px; margin-top: -20px; }
.prose .kp-gifts li { align-items: center; }
.prose .kp-gifts li strong { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 var(--stub); margin-left: auto; padding: 8px 10px; border-left: 2px dashed #f5c39b; background: linear-gradient(160deg, #fff7e0, #ffe9c7); font-family: var(--font-head); font-size: 1.15rem; line-height: 1.15; color: var(--orange-d); text-align: center; white-space: normal; }
.prose .kp-gifts li strong::before { content: "TẶNG"; display: block; margin-bottom: 2px; padding: 1px 10px; border-radius: 999px; background: var(--orange); color: #fff; font-family: var(--font-body); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
html[lang="en"] .prose .kp-gifts li strong::before { content: "GIFT"; }
.prose .kp-gifts li { padding-right: 0; }
/* chữ tên quà nằm giữa phần trái */
.prose .kp-gifts li { gap: 14px; }
@media (max-width: 640px) {
  .prose .kp-gifts li { --stub: 122px; min-height: 68px; padding-left: 60px; font-size: .95rem; }
  .prose .kp-gifts li::before { left: 12px; }
  .prose .kp-gifts li strong { font-size: 1rem; }
}
