/* Layout: mobile-first; desktop hero = tiêu đề trái / form phải,
   course cards in 3-col grids, form beside a short navy-tinted aside.
   Deliberately single light theme on white (brand requirement). */
:root {
  --navy: #033B86;
  --navy-deep: #022a61;
  --navy-tint: #eaf1fb;
  --red: #D10607;
  --red-deep: #a90405;
  --red-tint: #fdeced;
  --ink: #0f1d33;
  --muted: #55627a;
  --line: #dbe3ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --ok: #0d7a3e;
  --ok-tint: #e7f6ee;
  --warn: #8a5a00;
  --warn-tint: #fff5dc;
  --font: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --r: 14px;
  --gut: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;

}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid #f5a300; outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.eyebrow--light { color: #ffb4b4; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(209,6,7,.55); }
.btn--red:hover { background: var(--red-deep); }
.btn--navy { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-tint); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand img { width: 136px; height: auto; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--red); }
.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { display: flex; flex-direction: column; border-top: 1px solid var(--line); background: #fff; padding: 8px var(--gut) 16px; }
.mnav a { padding: 14px 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav a:last-child { border: 0; color: var(--red); }
@media (min-width: 860px) {
  .nav { display: flex; } .menu-btn, .mnav { display: none !important; }
  .brand img { width: 170px; }
}

/* Picker */
.picker { position: relative; z-index: 2; margin-top: 20px; }
@media (min-width: 860px) { .picker { margin-top: 8px; } }
.picker__box { position: relative; display: grid; gap: 8px; padding: 18px; border-radius: 18px; background: var(--navy); color: #fff; box-shadow: 0 18px 40px -24px rgba(3,37,90,.8); }
.picker__box label { font-weight: 700; font-size: 18px; }
.picker__count { font-size: 14px; color: #c9d8f0; }
.picker__box label { padding-right: 72px; }
.picker__mascot { position: absolute; right: 10px; top: -44px; width: 74px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); pointer-events: none; }

@media (min-width: 860px) {
  .picker__box { grid-template-columns: auto minmax(280px, 460px) 1fr; align-items: center; gap: 20px; padding: 18px 150px 18px 24px; }
  .picker__box label { padding-right: 0; }
  .picker__mascot { top: auto; bottom: 0; right: 22px; width: 112px; }
}

/* Selects */
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, input[type=text], input[type=tel], textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: 500 16px/1.4 var(--font);
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
select:disabled { background: var(--bg-soft); color: var(--muted); cursor: not-allowed; }
.select-wrap--lg select { min-height: 54px; font-weight: 700; color: var(--navy); border-color: #fff; }
textarea { resize: vertical; min-height: 96px; }
select:focus, input:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(3,59,134,.18); outline-offset: 0; }

/* Courses */
.courses { padding-block: 48px 56px; }
.sec-head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 640px; }
.sec-head h2, .signup h2 { text-transform: uppercase; letter-spacing: .005em; font-size: clamp(26px, 5.4vw, 36px); font-weight: 800; color: var(--navy); }
.sec-sub { color: var(--muted); }
.group + .group { margin-top: 40px; }
.group__title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.group__note { margin: -6px 0 16px; padding: 10px 14px; border-radius: 10px; background: var(--navy-tint); color: var(--navy); font-size: 15px; font-weight: 500; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red { background: var(--red); } .dot--navy { background: var(--navy); }
.grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; min-width: 0; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: 0 16px 36px -24px rgba(3,37,90,.55); }
.card.is-focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card__tag { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card__name { font-size: 19px; font-weight: 800; color: var(--navy); margin-top: 2px; }
.card__glyph { flex: none; min-width: 52px; height: 52px; padding-inline: 8px; display: grid; place-items: center; border-radius: 12px; font: 800 17px/1 var(--font); }
.card[data-group="zh"] .card__glyph { background: var(--red-tint); color: var(--red); font-family: var(--font-zh); }
.card[data-group="en"] .card__glyph { background: var(--navy-tint); color: var(--navy); }
.card__rows { display: grid; gap: 8px; margin: 0; }
.card__rows div { display: grid; grid-template-columns: 116px 1fr; gap: 8px; font-size: 15px; }
.card__rows dt { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 14px; }
.card__rows dd { margin: 0; color: var(--muted); min-width: 0; }
.levels { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.levels legend { font-size: 13px; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; transition: all .15s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid #f5a300; outline-offset: 2px; }
.level-desc { font-size: 14px; color: var(--navy); background: var(--navy-tint); border-radius: 10px; padding: 8px 12px; }
.card__cta { margin-top: auto; }
.card__cta .btn { width: 100%; }
.empty { padding: 24px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }

/* Group header photo */
.group__ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--red); flex: none; }
[data-group="en"] .group__ph { box-shadow: 0 0 0 2px var(--navy); }

/* Method 4Đ */
.method { padding-block: 56px; background: var(--bg-soft); }
.method__in { display: grid; gap: 20px; }
.method__photo { margin: 0; }
.method__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 60%; border-radius: 18px; }
.dd-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dd { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.dd__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #fff; }
.dd--red .dd__ico { background: var(--red); }
.dd--navy .dd__ico { background: var(--navy); }
.dd__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dd h3 { font-size: 17px; font-weight: 800; text-transform: uppercase; color: var(--navy); letter-spacing: .02em; }
.dd--red h3 .dd__d { color: var(--red); }
.dd__d { font-size: 1.35em; line-height: 1; }
.dd p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 380px) { .dd-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  .method__in { grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 24px; }
  .method__photo img { height: 100%; aspect-ratio: auto; min-height: 320px; }
  .dd { padding: 20px; }
}
.motto { position: relative; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 0; padding: 14px 96px 14px 18px; border-radius: 14px; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; }
.motto span { display: inline-flex; align-items: center; }
.motto__mascot { position: absolute; right: 10px; bottom: 0; width: 80px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.3)); pointer-events: none; }
.motto span + span::before { content: "–"; margin-inline: 10px; opacity: .8; }
@media (max-width: 640px) {
  .motto { flex-direction: column; gap: 6px; }
  .motto span + span::before { content: none; }
  .motto span::after { content: "."; }
}
.process { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.process summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--navy); font-size: 15px; list-style-position: inside; }
.process[open] { padding: 0 12px 16px; }
.process img { max-width: 520px; width: 100%; margin: 0 auto; }
.process summary { min-height: 48px; display: flex; align-items: center; gap: 8px; }

/* Resources */
.res { padding-block: 56px; }
.res__in { display: grid; gap: 20px; }
.res__photo { margin: 0; }
.res__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; border-radius: 18px; }
.res__list { display: grid; gap: 12px; min-width: 0; }
.res-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.res-card__ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; }
.res-card__ico--navy { background: var(--navy); }
.res-card__ico--red { background: var(--red); }
.res-card__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.res-card__body { display: grid; gap: 4px; min-width: 0; justify-items: start; }
.res-card h3 { font-size: 17px; font-weight: 800; color: var(--ink); }
.res-card p { font-size: 15px; color: var(--muted); }
.scope { margin-top: 4px; display: inline-block; font-size: 13px; font-weight: 700; color: var(--red); background: var(--red-tint); padding: 3px 10px; border-radius: 999px; }
.res-card__btn { margin-top: 8px; }
.res__note { font-size: 14px; color: var(--muted); font-style: italic; padding-left: 4px; }
@media (min-width: 900px) {
  .res__in { grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: stretch; }
  .res__photo img { height: 100%; aspect-ratio: auto; }
}

.addr { display: block; }
.addr + .addr { margin-top: 4px; }

/* Signup */
.signup { padding-block: 56px 64px; background: var(--bg-soft); }
.signup__in { display: grid; gap: 28px; }
.signup__side { position: relative; display: grid; gap: 12px; align-content: start; }
.signup__side h2 { padding-right: 84px; }
.signup__mascot { position: absolute; top: 0; right: 0; width: 76px; filter: drop-shadow(0 8px 12px rgba(3,37,90,.25)); }
.signup__side > p:not(.eyebrow) { color: var(--muted); }
.contact { margin-top: 6px; display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.contact__title { font-weight: 800; color: var(--navy); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact__actions .btn { flex: 1 1 auto; white-space: nowrap; }
.btn--zalo { background: #0068ff; color: #fff; }
.btn--zalo:hover { background: #0052cc; }
.contact__campuses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.contact__campuses li { display: grid; gap: 2px; }
.contact__campuses strong { color: var(--red); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.map-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--navy); }
.more { border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.more summary { cursor: pointer; display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; font-weight: 700; color: var(--navy); }
.more summary::marker { color: var(--red); }
.more__body { display: grid; gap: 14px; padding: 4px 14px 16px; }
@media (min-width: 900px) {
  .signup__in { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
  .signup__side { position: sticky; top: 96px; }
  .signup__side h2 { padding-right: 96px; }
  .signup__mascot { width: 96px; }
}

.form { display: grid; gap: 16px; padding: 20px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 20px 50px -36px rgba(3,37,90,.6); min-width: 0; }
@media (min-width: 600px) { .form { padding: 28px; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.conn-test { display: grid; gap: 8px; justify-items: start; padding: 14px; border-radius: 12px; border: 2px dashed var(--navy); background: var(--navy-tint); color: var(--navy); font-size: 14px; }
.conn-result { font-weight: 600; }
.conn-result.is-ok { color: var(--ok); }
.conn-result.is-err { color: var(--red-deep); }
.btn[aria-busy="true"] { cursor: progress; }
.demo-note { padding: 12px 14px; border-radius: 12px; background: var(--warn-tint); color: var(--warn); font-size: 14px; border: 1px solid #f1d58c; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label { font-weight: 700; font-size: 15px; }
.req { color: var(--red); }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.hint { font-size: 13px; color: var(--muted); }
.hint:empty { display: none; }
.err { font-size: 14px; color: var(--red); font-weight: 600; }
.err:empty { display: none; }
.err::before { content: "⚠ "; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fffafa; }
.field--check { padding-block: 10px; grid-template-columns: 24px 1fr; align-items: start; column-gap: 10px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.field--check label { font-weight: 500; font-size: 15px; cursor: pointer; }
.field--check .err { grid-column: 2; }
.field--check.has-error label { color: var(--red-deep); }
.result { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.result.is-demo { background: var(--warn-tint); color: var(--warn); border: 1px solid #f1d58c; }
.result.is-ok { background: var(--ok-tint); color: var(--ok); border: 1px solid #9fd8b8; }
.result.is-err { background: var(--red-tint); color: var(--red-deep); border: 1px solid #f3b1b1; }
.result strong { display: block; margin-bottom: 2px; }

/* Footer */
.footer { background: #fff; border-top: 4px solid var(--red); padding-block: 36px 24px; }
.footer__in { display: grid; gap: 24px; }
.footer__brand { display: inline-grid; justify-items: center; gap: 10px; }
.footer__logo { width: 170px; }
.footer__name { margin: 0; font-size: 19.2px; font-weight: 800; color: var(--navy); letter-spacing: .02em; }
.footer__info { display: grid; gap: 12px; margin: 0; }
.footer__info div { display: grid; gap: 2px; }
/* Điện thoại: Hotline / Zalo / Website nằm trên 1 dòng cùng nhãn */
.footer__info div:not(.row-addr) { grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; }
.footer__info div:not(.row-addr) dt::after { content: ":"; }
.footer__info div:not(.row-addr) dd { white-space: nowrap; }
@media (min-width: 600px) { .footer__info .row-zalo { grid-column: 1 / -1; } }
.footer__info { row-gap: 0; }
.footer__info .row-addr { margin-bottom: 8px; }
.footer__info dt { font-weight: 700; color: var(--muted); font-size: 14px; }
.footer__info dd { margin: 0; font-weight: 600; min-width: 0; }
.footer__info .addr { white-space: nowrap; font-size: clamp(12.5px, 3.45vw, 16px); }
.footer__info dd a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.footer__info .sep { font-weight: 400; color: var(--muted); }
.pending { color: var(--warn); font-weight: 500; font-style: italic; }
.footer__copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (min-width: 600px) { .footer__info { grid-template-columns: 1fr 1fr; } .footer__info .row-addr { grid-column: 1 / -1; } .footer__info div, .footer__info div:not(.row-addr) { grid-template-columns: 84px 1fr; gap: 8px; } .footer__info div:not(.row-addr) dt::after { content: none; } .footer__info { row-gap: 12px; } .footer__info .row-addr { margin-bottom: 0; } }
@media (min-width: 860px) { .footer__in { grid-template-columns: 1fr 1.6fr; } }

/* Thanh cố định trên điện thoại: Tư vấn Zalo | Đăng ký */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -14px rgba(0,0,0,.35); transition: transform .25s; }
.sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 16px; }
.sticky-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.sticky-bar__zalo { background: #fff; color: #0068ff; border: 2px solid #0068ff; }
.sticky-bar__reg { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(209,6,7,.55); }
.sticky-bar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
.sticky-bar [hidden] + a { grid-column: 1 / -1; }
@media (min-width: 860px) { .sticky-bar { display: none; } }
@media (max-width: 859.98px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* CTA giữa trang */
.cta-band { background: var(--navy); color: #fff; }
.cta-band__in { display: grid; gap: 14px; padding-block: 24px; align-items: center; }
.cta-band p { font-size: 16px; }
.cta-band strong { display: block; font-size: 18px; }
@media (min-width: 760px) { .cta-band__in { grid-template-columns: 1fr auto; gap: 24px; } }

/* Ảnh lớp học */
.gallery { padding-block: 56px 32px; }
.gallery__grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .gallery__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.gallery__item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--bg-soft); box-shadow: 0 16px 30px -24px rgba(3,37,90,.6); }
.gallery__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__zoom { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(3,37,90,.85); color: #fff; font-size: 13px; font-weight: 700; }
.lightbox { padding: 0; border: 0; border-radius: 14px; max-width: min(96vw, 1400px); max-height: 92vh; background: #000; overflow: visible; }
.lightbox::backdrop { background: rgba(5,15,35,.82); }
.lightbox img { display: block; max-width: min(96vw, 1400px); max-height: 92vh; width: auto; height: auto; border-radius: 14px; }
.lightbox__close { position: absolute; top: -14px; right: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.35); }

/* Giáo viên */
.team { padding-block: 32px 56px; }
.team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 16px; }
.teacher { display: grid; gap: 10px; }
.teacher img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; background: var(--navy-tint); border-bottom: 5px solid var(--red); }
.teacher:nth-child(even) img { border-bottom-color: var(--navy); }
.teacher__name { font-weight: 800; color: var(--navy); font-size: 16px; text-align: center; }

/* ===== Tối ưu điện thoại / máy tính bảng ===== */
input, select, textarea { scroll-margin-top: 90px; scroll-margin-bottom: 110px; }
@media (min-width: 600px) and (max-width: 899.98px) {
  .res__photo img { aspect-ratio: 2 / 1; object-position: 50% 35%; }
  .method__photo img { aspect-ratio: 2 / 1; }
}

/* ===== Banner poster (nền xanh – mảng trắng – điểm nhấn đỏ) ===== */
.poster { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(70% 90% at 85% 25%, #0b56b8 0%, rgba(11,86,184,0) 60%),
    linear-gradient(165deg, #033B86 0%, #02306e 60%, #022a61 100%); }
.poster__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.deco-ring { position: absolute; width: 360px; height: 360px; right: -150px; top: -120px; border-radius: 50%; border: 44px solid rgba(255,255,255,.06); }
.deco-dots { display: none; position: absolute; width: 200px; height: 130px; left: 42%; top: 36px;
  background-image: radial-gradient(rgba(255,255,255,.22) 1.6px, transparent 1.8px); background-size: 18px 18px; }
.deco-ribbon { position: absolute; left: -10%; right: -10%; bottom: 26px; height: 14px; background: var(--red); transform: rotate(-2.5deg); box-shadow: 0 9px 0 rgba(255,255,255,.9); }
.deco-star { position: absolute; display: block; width: 18px; height: 18px; }
.deco-star svg { width: 100%; height: 100%; fill: #fff; }
.deco-star--1 { top: 18px; right: 22px; opacity: .85; }
.deco-star--2 { display: none; }
.deco-star--3 { display: none; }

.poster__in { padding-block: 16px 54px; }
.poster__copy { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "tabs" "kicker" "title" "tag" "progs" "art" "cta" "ben" "offer"; }
.poster .gtabs { grid-area: tabs; }
.poster__kicker { grid-area: kicker; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.poster__title { grid-area: title; }
.poster__tagline { grid-area: tag; }
.poster__programs { grid-area: progs; }
.poster__art { grid-area: art; }
.poster__cta { grid-area: cta; }
.poster__benefits { grid-area: ben; }
.poster .offer-box { grid-area: offer; }

/* Nút chọn nhóm trên nền xanh */
.gtabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; max-width: 460px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.28); }
.gtab { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 4px; border-radius: 999px;
  font-weight: 700; font-size: clamp(14px, 3.9vw, 15.5px); white-space: nowrap; color: #fff; text-decoration: none; transition: background-color .15s, color .15s; }
.gtab:hover { background: rgba(255,255,255,.14); }
.gtab[aria-current="page"] { background: #fff; color: var(--navy); box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }

.poster__brand { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.poster__offer { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 3px 0 rgba(0,0,0,.2); }
.poster__title { margin: 0; font-size: clamp(31px, 9vw, 64px); font-weight: 800; line-height: 1.06; letter-spacing: -.01em; color: #fff; text-wrap: balance;
  text-shadow: 0 3px 0 var(--red), 0 10px 24px rgba(0,0,0,.35); }
.poster__tagline { margin: 2px 0 0; }
.poster__tagline span { position: relative; z-index: 0; display: inline-block; padding: 6px 16px; font-size: clamp(16px, 4.4vw, 22px); font-weight: 800; color: #fff; }
.poster__tagline span::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); border-radius: 8px; transform: skewX(-10deg); box-shadow: 0 5px 0 rgba(0,0,0,.18); }

.poster__programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pblock { margin: 0; display: grid; gap: 2px; align-content: start; padding: 10px 12px; border-radius: 14px; background: #fff; color: var(--navy);
  border-left: 6px solid var(--red); box-shadow: 0 10px 22px -14px rgba(0,0,0,.6); min-width: 0; }
.pblock--en { border-left-color: #2f7de1; }
.pblock__name { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.pblock--en .pblock__name { color: #1a62c4; }
.pblock__tags { font-size: 15.5px; font-weight: 800; line-height: 1.3; }
.pblock__tags i { font-style: normal; color: var(--red); padding-inline: 1px; }
html[data-group="zh"] .poster__programs, html[data-group="en"] .poster__programs { grid-template-columns: minmax(0, 1fr); }
html[data-group="zh"] [data-pg="en"], html[data-group="en"] [data-pg="zh"] { display: none !important; }
html[data-group="zh"] .pblock, html[data-group="en"] .pblock { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
html[data-group="zh"] .pblock__tags, html[data-group="en"] .pblock__tags { font-size: clamp(16px, 4.6vw, 19px); }

/* Ảnh học viên: khung vòm, không có chữ đè lên mặt */
.poster__art { position: relative; height: 236px; margin-top: 4px; }
.poster__art::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 230px; height: 230px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #e3262a 0%, var(--red) 60%, #a90405 100%); box-shadow: 0 0 0 10px rgba(255,255,255,.08); }
.pphoto { position: absolute; bottom: 0; margin: 0; overflow: hidden; background: var(--navy-tint);
  border: 4px solid #fff; border-radius: 999px 999px 20px 20px; box-shadow: 0 18px 30px -16px rgba(0,0,0,.65); }
.pphoto img { display: block; width: 100%; height: 100%; object-fit: cover; }
html[data-group="all"] .pphoto:not([data-pg="all"]),
html[data-group="zh"] .pphoto:not([data-pg="zh"]),
html[data-group="en"] .pphoto:not([data-pg="en"]) { display: none; }
.pphoto--a { left: calc(50% - 150px); width: 140px; height: 210px; }
.pphoto--b { left: calc(50% + 10px); width: 140px; height: 232px; }
.pphoto--a img, .pphoto--main[data-pg="zh"] img { object-position: 50% 74%; }
.pphoto--b img, .pphoto--main[data-pg="en"] img { object-position: 50% 12%; }
.pphoto--main { left: calc(50% - 70px); width: 168px; height: 232px; }
.pphoto--inset { left: calc(50% - 158px); bottom: 6px; width: 104px; height: 104px; border-radius: 50%; border-width: 4px; }
.pphoto--inset img { object-position: 50% 20%; }
.poster__mascot { position: absolute; right: 0; bottom: -6px; width: 66px; z-index: 2; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }

.poster__cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 26px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .01em; text-decoration: none; border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 5px 0 #8f0405, 0 16px 30px -10px rgba(209,6,7,.75); transition: transform .15s, box-shadow .15s; }
.poster__cta:hover { transform: translateY(-1px); background: #e00a0b; }
.poster__cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #8f0405, 0 8px 16px -8px rgba(209,6,7,.7); }

.poster__benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.poster__benefits li { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 14px; text-align: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.poster__benefits li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: 12.5px; font-weight: 800; }
.poster__benefits li:first-child > span { background: var(--red); color: #fff; }
.poster__benefits svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.poster .offer-box { background: #fff; color: var(--ink); border: 2px dashed var(--red); }

@media (min-width: 600px) {
  .poster__art { height: 300px; }
  .poster__art::before { width: 290px; height: 290px; }
  .pphoto--a { left: calc(50% - 190px); width: 176px; height: 260px; }
  .pphoto--b { left: calc(50% + 14px); width: 176px; height: 290px; }
  .pphoto--main { left: calc(50% - 86px); width: 210px; height: 290px; }
  .pphoto--inset { left: calc(50% - 200px); width: 130px; height: 130px; }
  .poster__mascot { width: 84px; right: 6%; }
  .poster__cta { justify-self: start; min-width: 340px; }
  .poster__benefits { display: flex; flex-wrap: wrap; }
  .poster__benefits li { display: flex; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14.5px; }
}
@media (min-width: 960px) {
  .poster__in { padding-block: 34px 88px; }
  .poster__copy { column-gap: 40px; row-gap: 14px; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-areas: "tabs art" "kicker art" "title art" "tag art" "progs art" "cta art" "ben art" "offer art"; align-items: start; }
  .poster__art { height: 100%; min-height: 470px; align-self: stretch; }
  .poster__art::before { width: 420px; height: 420px; bottom: 10px; }
  .pphoto--a { left: calc(50% - 228px); width: 214px; height: 330px; bottom: 30px; }
  .pphoto--b { left: calc(50% + 14px); width: 214px; height: 372px; bottom: 30px; }
  .pphoto--main { left: calc(50% - 110px); width: 270px; height: 390px; bottom: 30px; }
  .pphoto--inset { left: calc(50% - 250px); bottom: 44px; width: 160px; height: 160px; }
  .pphoto { border-width: 6px; }
  .poster__mascot { width: 112px; right: 0; bottom: 6px; }
  .deco-ring { width: 620px; height: 620px; right: -200px; top: -220px; border-width: 70px; }
  .deco-dots { display: block; }
  .deco-ribbon { bottom: 40px; height: 18px; }
  .deco-star { width: 26px; height: 26px; }
  .deco-star--1 { top: 40px; right: 8%; }
  .deco-star--2 { display: block; top: 46%; left: 50%; width: 16px; height: 16px; }
  .deco-star--2 svg { fill: var(--red); }
  .deco-star--3 { display: block; bottom: 120px; right: 3%; width: 18px; height: 18px; opacity: .7; }
  .poster__tagline { margin-top: 4px; }
}

/* ===== Form ngắn ngay dưới banner ===== */
.quickform { position: relative; z-index: 3; margin-top: -30px; scroll-margin-top: 0; }
.form--top { border-top: 5px solid var(--red); gap: 14px; box-shadow: 0 24px 50px -30px rgba(3,37,90,.65); }
.form__title { font-size: 19px; font-weight: 800; color: var(--navy); text-transform: uppercase; display: grid; gap: 2px; }
.form__title span { font-size: 14.5px; font-weight: 500; color: var(--muted); text-transform: none; }
@media (min-width: 960px) {
  .quickform { margin-top: -56px; }
  .form--top { grid-template-columns: 1fr 1fr 1.25fr auto; column-gap: 16px; row-gap: 12px; align-items: start;
    grid-template-areas: "title title title title" "demo demo demo demo" "name phone program btn" "consent consent consent consent" "result result result result"; }
  .form--top .form__title { grid-area: title; }
  .form--top .demo-note { grid-area: demo; }
  .form--top .qf-name { grid-area: name; }
  .form--top .qf-phone { grid-area: phone; }
  .form--top .qf-program { grid-area: program; }
  .form--top .qf-consent { grid-area: consent; padding-block: 10px; }
  .form--top .qf-btn { grid-area: btn; margin-top: 29px; width: auto; padding-inline: 24px; white-space: nowrap; min-height: 48px; }
  .form--top [data-result] { grid-area: result; }
}

/* Thanh đầu trang hòa vào banner */
.topbar { background: var(--navy) !important; border-bottom: 1px solid rgba(255,255,255,.12) !important; }
.brand { padding: 4px 12px; background: #fff; border-radius: 12px; min-height: 44px; }
.brand img { width: 118px !important; }
.nav a:not(.btn) { color: #fff !important; }
.nav a:not(.btn):hover { color: #ffd2d2 !important; }
.menu-btn span { background: #fff !important; }
.nav .btn--red { border: 2px solid rgba(255,255,255,.85); }
@media (min-width: 860px) { .brand img { width: 140px !important; } }

/* Banner gọn hơn trên điện thoại */
@media (max-width: 599.98px) {
  .poster__in { padding-block: 12px 46px; }
  .poster__copy { gap: 10px; }
  .poster__kicker:not(:has(.poster__offer:not([hidden]))) { display: none; }
  .poster__kicker .poster__brand { display: none; }
  .deco-star--1 { top: auto; bottom: 120px; right: 14px; }
  .pblock { padding: 8px 10px; }
  .pblock__tags { font-size: 14.5px; }
  .poster__art { height: 200px; }
  .poster__art::before { width: 196px; height: 196px; }
  .pphoto--a { left: calc(50% - 136px); width: 126px; height: 178px; }
  .pphoto--b { left: calc(50% + 6px); width: 126px; height: 198px; }
  .pphoto--main { left: calc(50% - 62px); width: 146px; height: 198px; }
  .pphoto--inset { left: calc(50% - 146px); width: 90px; height: 90px; }
  .poster__mascot { width: 58px; }
  .poster__cta { min-height: 54px; font-size: 17px; }
  .poster__benefits { display: block; text-align: center; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.92); }
  .poster__benefits li { display: inline; padding: 0; border: 0; background: none; font-size: 14px; }
  .poster__benefits li > span { display: none; }
  .poster__benefits li + li::before { content: "•"; color: #ff6b6c; padding-inline: 8px; }
}
.pblock__tags b { font-weight: inherit; white-space: nowrap; }
.poster__benefits li { white-space: nowrap; }
@media (max-width: 439.98px) { .poster__benefits, .poster__benefits li { font-size: 13px; } .poster__benefits li + li::before { padding-inline: 5px; } }

/* =====================================================================
   NỘI DUNG DẠNG POSTER: khối màu xen kẽ trắng – xanh nhạt – xanh đậm
   ===================================================================== */
.band-head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 720px; }
.band-head h2 { margin: 0; font-size: clamp(27px, 6.4vw, 42px); font-weight: 800; line-height: 1.12; color: var(--navy); text-transform: uppercase; text-wrap: balance; }
.band-head h2 em, .en-hero h2 em, .res__body h2 em { font-style: normal; color: var(--red); }
.band-head > p:not(.band-head__tag) { color: var(--muted); font-size: 16.5px; }
.band-head__tag { justify-self: start; display: inline-flex; align-items: center; min-height: 30px; padding: 4px 14px; border-radius: 999px; background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.band-head__tag--red { background: var(--red); }
.band-head--light h2 { color: #fff; }
.band-head--light h2 em { color: #ff8f90; }
.band-head--light > p:not(.band-head__tag) { color: #c9d8f0; }

/* Ticks */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 15.5px; line-height: 1.45; }
.ticks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--red); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ticks b { color: var(--navy); }

/* Shapes behind photos */
.shape { position: absolute; z-index: 0; pointer-events: none; }
.shape--red, .shape--navy { inset: 14% -4% -5% 12%; border-radius: 28px; transform: rotate(4deg); }
.shape--red { background: var(--red); }
.shape--navy { background: var(--navy); transform: rotate(-4deg); inset: 14% 12% -5% -4%; }

/* ---- Khóa học tiếng Trung ---- */
.courses { padding: 0; }
.zh-band { padding-block: 56px 40px; background: #fff; }
.features { display: grid; gap: 28px; }
.card.feature { display: grid; gap: 22px; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
.card.feature:hover { box-shadow: none; }
.feature__media { position: relative; margin: 0 6px 0 0; max-width: 420px; width: 100%; justify-self: center; }
.feature__media img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 50% 22%;
  border-radius: 22px; border: 5px solid #fff; box-shadow: 0 22px 40px -26px rgba(3,37,90,.75); background: var(--navy-tint); }
.feature[data-program="hsk"] .feature__media img { object-position: 50% 18%; }
.feature[data-program="giaotiep"] .feature__media img { object-position: 50% 60%; }
.feature__badge { position: absolute; z-index: 2; left: -6px; top: -12px; display: grid; place-items: center; min-width: 62px; height: 62px; padding-inline: 10px; border-radius: 18px;
  background: #fff; color: var(--red); font: 700 22px/1 var(--font-zh); box-shadow: 0 10px 20px -10px rgba(0,0,0,.45); border: 3px solid var(--red); }
.feature__body { display: grid; gap: 14px; align-content: start; padding: 22px 20px; border-radius: 22px; background: var(--navy-tint); min-width: 0; }
.feature__tag { justify-self: start; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); padding: 4px 12px; border-radius: 999px; }
.feature__name { margin: 0; font-size: clamp(22px, 5.4vw, 30px); font-weight: 800; color: var(--navy); line-height: 1.15; }
.feature__desc { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.feature .levels legend, .lvcard .levels legend { font-size: 13.5px; }
.feature .card__cta .btn, .lvcard .card__cta .btn { width: 100%; }
.card.is-focus .feature__body, .card.lvcard.is-focus { box-shadow: 0 0 0 3px var(--red); }
@media (min-width: 860px) {
  .features { gap: 56px; }
  .card.feature { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 48px; }
  .feature--flip .feature__media { order: 2; }
  .feature__media { max-width: none; }
  .feature__media img { aspect-ratio: 5 / 4; }
  .feature__body { padding: 30px 32px; }
  .feature .card__cta .btn { width: auto; min-width: 240px; }
}

/* ---- Khối Cambridge ---- */
.en-band { position: relative; padding-block: 56px 60px; background: var(--navy-tint); overflow: hidden; }
.en-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 48px solid rgba(3,59,134,.06); }
.en-hero { position: relative; display: grid; gap: 22px; margin-bottom: 26px; }
.en-hero__media { position: relative; margin: 0; max-width: 360px; width: 100%; justify-self: center; }
.en-hero__media img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%;
  border-radius: 50% 50% 24px 24px; border: 6px solid #fff; box-shadow: 0 24px 40px -24px rgba(3,37,90,.7); }
.shape--ring { inset: 8% -6% -4% -6%; border-radius: 50%; background: var(--navy); }
.en-hero__body { display: grid; gap: 12px; align-content: start; min-width: 0; }
.en-hero__body .band-head__tag { background: var(--navy); }
.en-hero h2 { margin: 0; font-size: clamp(27px, 6.4vw, 42px); font-weight: 800; color: var(--navy); text-transform: uppercase; line-height: 1.12; }
.en-hero__desc { font-size: 16.5px; font-weight: 600; }
.en-hero__note { font-size: 14.5px; color: var(--navy); background: #fff; border-left: 4px solid var(--red); padding: 8px 12px; border-radius: 8px; }
.levels-row { display: grid; gap: 16px; }
.card.lvcard { display: grid; gap: 14px; align-content: start; padding: 0 18px 20px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 18px 34px -26px rgba(3,37,90,.7); overflow: hidden; }
.lvcard__head { display: flex; align-items: center; gap: 12px; margin-inline: -18px; padding: 14px 18px; color: #fff; background: var(--navy); }
.lvcard--2 .lvcard__head { background: #0a52ad; }
.lvcard--3 .lvcard__head { background: var(--red); }
.lvcard__step { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-weight: 800; font-size: 18px; }
.lvcard--3 .lvcard__step { color: var(--red); }
.lvcard__name { margin: 0; display: grid; font-size: 24px; font-weight: 800; line-height: 1.1; }
.lvcard__name small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.lvcard .ticks li { font-size: 15px; }
.lvcard .card__cta { margin-top: auto; }
@media (min-width: 760px) { .levels-row { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
@media (min-width: 860px) {
  .en-hero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 48px; margin-bottom: 36px; }
  .en-hero__media { order: 2; max-width: 380px; }
  .en-band::before { width: 560px; height: 560px; border-width: 70px; right: -160px; top: -200px; }
}
@media (max-width: 599.98px) {
  .feature__media, .en-hero__media { max-width: 300px; }
  .feature__media img { aspect-ratio: 4 / 3; }
  .en-hero__media img { aspect-ratio: 5 / 4.4; }
}

/* ---- 4Đ: khối xanh đậm, bốn khối màu ---- */
.method { position: relative; overflow: hidden; padding-block: 60px; background: linear-gradient(165deg, #033B86 0%, #022a61 100%); color: #fff; }
.method__deco { position: absolute; inset: auto -10% 0 -10%; height: 12px; background: var(--red); transform: rotate(-1.5deg); bottom: 18px; box-shadow: 0 8px 0 rgba(255,255,255,.85); }
.dd4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: dd; }
.dd4__item { position: relative; display: grid; gap: 8px; align-content: start; padding: 18px 16px 20px; border-radius: 20px; min-width: 0; }
.dd4__item::after { counter-increment: dd; content: "0" counter(dd); position: absolute; right: 14px; top: 10px; font-size: 30px; font-weight: 800; opacity: .18; }
.dd4__item--1 { background: var(--red); color: #fff; }
.dd4__item--2 { background: #fff; color: var(--navy); }
.dd4__item--3 { background: #2f7de1; color: #fff; }
.dd4__item--4 { background: #fff; color: var(--red); }
.dd4__item h3 { margin: 0; font-size: 19px; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.dd4__item p { font-size: 14.5px; line-height: 1.45; color: inherit; opacity: .92; }
.dd4__item--2 p, .dd4__item--4 p { color: var(--ink); opacity: 1; }
.dd4__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.2); }
.dd4__item--2 .dd4__ico { background: var(--navy); color: #fff; }
.dd4__item--4 .dd4__ico { background: var(--red); color: #fff; }
.dd4__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 379.98px) { .dd4 { grid-template-columns: 1fr; } }
@media (min-width: 960px) { .dd4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .dd4__item { padding: 24px 20px; } }
.method .motto { margin-top: 22px; background: #fff; color: var(--navy); }
.method .motto span + span::before { color: var(--red); }
.method .process { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.method .process summary { color: #fff; }
.method .process[open] img { background: #fff; border-radius: 12px; }

/* ---- CTA đỏ ---- */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band__in { display: grid; gap: 14px; padding-block: 26px; align-items: center; }
.cta-band__mascot { display: none; }
.cta-band__btn { background: #fff; color: var(--red); font-weight: 800; border: 0; box-shadow: 0 5px 0 rgba(0,0,0,.2); }
.cta-band__btn:hover { background: var(--navy-tint); }
@media (min-width: 760px) {
  .cta-band__in { grid-template-columns: auto 1fr auto; gap: 24px; }
  .cta-band__mascot { display: block; width: 74px; margin-block: -10px -26px; }
}

/* ---- Ảnh lớp học (nền trắng) + giáo viên (xanh nhạt) ---- */
.gallery { padding-block: 60px 52px; background: #fff; }
.gallery__item { border: 5px solid #fff; box-shadow: 0 0 0 2px var(--navy-tint), 0 18px 34px -24px rgba(3,37,90,.7); }
.gallery__item:nth-child(2) { box-shadow: 0 0 0 2px #fde3e3, 0 18px 34px -24px rgba(3,37,90,.7); }
.team { padding-block: 56px; background: var(--navy-tint); }
.team__grid { justify-content: start; }
.teacher { padding: 10px 10px 14px; border-radius: 22px; background: #fff; box-shadow: 0 16px 30px -24px rgba(3,37,90,.7); }
.teacher img { border-radius: 16px; }
@media (min-width: 860px) { .team__grid { grid-template-columns: repeat(2, 260px); } }

/* ---- Học liệu online (trắng, ảnh + 3 lợi ích) ---- */
.res { padding-block: 60px; background: #fff; }
.res__in { display: grid; gap: 28px; }
.res__media { position: relative; margin: 0; max-width: 320px; width: 100%; justify-self: center; }
.shape--blob { inset: 6% -6% -6% 6%; border-radius: 42% 58% 48% 52% / 52% 44% 56% 48%; background: var(--red); }
.res__media img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 22px 40px -24px rgba(3,37,90,.7); }
.res__sticker { position: absolute; z-index: 2; left: -4px; bottom: 8%; padding: 10px 14px; border-radius: 16px; background: var(--navy); color: #fff; font-weight: 800; font-size: 15px; line-height: 1.15; transform: rotate(-6deg); box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }
.res__body { display: grid; gap: 14px; align-content: start; min-width: 0; }
.res__body h2 { margin: 0; font-size: clamp(26px, 6vw, 40px); font-weight: 800; color: var(--navy); text-transform: uppercase; line-height: 1.12; }
.res__body .band-head__tag { justify-self: start; }
.res .res__list { display: grid; gap: 12px; }
.res .res-card { border: 0; background: var(--navy-tint); border-radius: 18px; padding: 14px 16px; }
.res .res-card:nth-child(2) { background: #fdeced; }
.res .res-card h3 { font-size: 16.5px; color: var(--navy); }
.res .res-card p { font-size: 14.5px; }
.res .scope { margin-left: 4px; }
@media (min-width: 860px) {
  .res__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 56px; }
  .res__media { max-width: 400px; }
}

/* Form cuối trang giữ nền xanh nhạt; chân trang trắng */
.signup { background: linear-gradient(180deg, var(--navy-tint) 0%, #f5f8fc 100%); }

/* Liên hệ: mỗi cơ sở 1 hàng */
.contact__campuses { gap: 8px; }
.campus-line { display: block; white-space: nowrap; overflow: hidden; font-size: 15px; }
.campus-line strong { color: var(--red); font-size: inherit; text-transform: none; letter-spacing: 0; }
@media (max-width: 399.98px) { .contact { padding: 14px 10px; } }

/* Mascot khung "Bạn quan tâm chương trình nào?" không bị form che */
.picker { margin-top: 64px; }
.picker__mascot { top: -50px; right: 12px; width: 70px; z-index: 1; }
@media (min-width: 860px) {
  .picker { margin-top: 56px; }
  .picker__box { min-height: 96px; }
  .picker__mascot { top: -46px; bottom: auto; right: 24px; width: 104px; }
}

/* ===== Chân trang: xanh – đỏ – trắng ===== */
.footer { position: relative; background: linear-gradient(165deg, #033B86 0%, #022a61 100%); color: #fff; border-top: 0; padding: 0; overflow: hidden; }
.footer::before { content: ""; display: block; height: 8px; background: linear-gradient(90deg, var(--red) 0 60%, #fff 60% 64%, var(--red) 64%); }
.footer::after { content: ""; position: absolute; right: -120px; top: -100px; width: 320px; height: 320px; border-radius: 50%; border: 44px solid rgba(255,255,255,.05); pointer-events: none; }
.footer__in { position: relative; z-index: 1; padding-block: 36px 28px; }
.footer__brand { gap: 12px; }
.footer__logo { width: 170px; padding: 8px 14px; background: #fff; border-radius: 14px; box-sizing: content-box; box-shadow: 0 10px 22px -12px rgba(0,0,0,.5); }
.footer__name { color: #fff; }
.footer__info dt { color: #ff9c9d; text-transform: uppercase; letter-spacing: .05em; font-size: 12.5px; }
.footer__info dd, .footer__info dd a { color: #fff; }
.footer__info dd a { text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.footer__info dd a:hover { color: #ffd2d2; }
.footer__info .sep { color: rgba(255,255,255,.7); }
.footer__info .row-addr { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.footer__bar { position: relative; z-index: 1; background: var(--red); }
.footer__copy { margin-block: 0; padding-block: 14px; border: 0; color: #fff; font-size: 13px; }
@media (min-width: 600px) { .footer__info .row-addr { align-items: start; } }
@media (max-width: 859.98px) { .footer__brand { justify-self: center; } }

/* ===== Khối đăng ký cuối trang: nổi bật (xanh đậm + mảng đỏ + thẻ trắng) ===== */
.signup { position: relative; overflow: hidden; isolation: isolate; padding-block: 64px 72px;
  background: linear-gradient(160deg, #033B86 0%, #022a61 100%) !important; color: #fff; }
.signup::before { content: ""; position: absolute; z-index: -1; left: -12%; top: -8%; width: 70%; height: 46%; background: var(--red);
  transform: skewY(-8deg); transform-origin: top left; opacity: .95; }
.signup::after { content: ""; position: absolute; z-index: -1; right: -140px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 56px solid rgba(255,255,255,.06); }
.signup .eyebrow { display: inline-block; justify-self: start; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--red); letter-spacing: .06em; }
.signup h2 { color: #fff !important; text-shadow: 0 3px 0 rgba(0,0,0,.18); }
.signup__side > p:not(.eyebrow) { color: rgba(255,255,255,.9) !important; font-size: 16.5px; }
.signup__mascot { filter: drop-shadow(0 10px 14px rgba(0,0,0,.4)); }
.signup .contact { background: #fff; border: 0; border-top: 5px solid var(--red); box-shadow: 0 22px 40px -24px rgba(0,0,0,.6); color: var(--ink); }
.signup .contact__title { font-size: 17px; }
.signup .form { position: relative; border: 0; border-top: 6px solid var(--red); border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.65), 0 0 0 6px rgba(255,255,255,.12); }
.signup .form::before { content: "NHẬN TƯ VẤN LỘ TRÌNH"; justify-self: start; display: inline-flex; align-items: center; min-height: 34px; padding: 4px 16px;
  margin-top: -40px; border-radius: 999px; background: var(--red); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .04em;
  box-shadow: 0 6px 14px -6px rgba(209,6,7,.7); border: 3px solid #fff; }
.signup .form .btn--red { min-height: 54px; font-size: 17px; box-shadow: 0 5px 0 #8f0405, 0 14px 26px -12px rgba(209,6,7,.7); }
.signup .more { background: var(--navy-tint); border-color: #cfdcf0; }
@media (min-width: 900px) {
  .signup::before { width: 52%; height: 70%; }
  .signup__in { gap: 56px; }
}
.signup .form, .signup .contact { color: var(--ink); }
@media (max-width: 899.98px) {
  .signup::before { left: 0; top: 0; width: 100%; height: 300px; transform: skewY(-6deg); transform-origin: bottom left; }
}

/* Đầu form cuối trang: khối đỏ nổi bật */
.signup .form::before { content: none; }
.signup .form { overflow: hidden; border-top: 0; }
.form__head { position: relative; display: flex; align-items: center; gap: 14px; margin: -20px -20px 4px; padding: 20px 20px 22px;
  background: linear-gradient(120deg, #e3171a 0%, var(--red) 55%, #a90405 100%); color: #fff; overflow: hidden; }
.form__head::before { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(255,255,255,.12); }
.form__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, #fff 0 10px, var(--navy) 10px 20px); }
.form__head > div { position: relative; min-width: 0; }
.form__head-ico { position: relative; flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--red);
  box-shadow: 0 0 0 6px rgba(255,255,255,.25); animation: ring 2.4s ease-in-out infinite; }
.form__head-ico svg { width: 26px; height: 26px; fill: currentColor; }
.form__head-title { margin: 0; font-size: clamp(21px, 5.6vw, 28px); font-weight: 800; letter-spacing: .01em; line-height: 1.15; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.form__head-sub { margin: 4px 0 0; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.92); }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
@media (min-width: 600px) { .form__head { margin: -28px -28px 6px; padding: 24px 28px 26px; } .form__head-ico { width: 60px; height: 60px; } }
.form__head-title { white-space: nowrap; }
@media (max-width: 599.98px) {
  .form__head { gap: 12px; padding: 18px 16px 20px; }
  .form__head-ico { width: 44px; height: 44px; box-shadow: 0 0 0 5px rgba(255,255,255,.25); }
  .form__head-ico svg { width: 22px; height: 22px; }
  .form__head-title { font-size: clamp(17px, 5vw, 21px); }
  .form__head-sub { font-size: 13.5px; }
}

/* =====================================================================
   BẢN CHẠY QUẢNG CÁO: quyền lợi tuyển sinh, nhu cầu, thu gọn khoảng trống
   ===================================================================== */
.poster__copy { grid-template-areas: "tabs" "kicker" "title" "tag" "perks" "progs" "art" "ben"; }
.poster .perks--hero { grid-area: perks; }
@media (min-width: 960px) {
  .poster__copy { grid-template-areas: "tabs art" "kicker art" "title art" "tag art" "perks art" "progs art" "ben art"; }
}
/* Khối quyền lợi */
.perks { position: relative; display: grid; gap: 12px; padding: 16px 16px 14px; border-radius: 20px; background: #fff; color: var(--ink);
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--red), 0 22px 40px -22px rgba(0,0,0,.6); min-width: 0; }
.perks__head { margin: -16px -16px 2px; padding: 12px 16px; border-radius: 17px 17px 0 0; background: linear-gradient(110deg, #e3171a, var(--red) 60%, #a90405);
  color: #fff; font-weight: 800; font-size: clamp(15.5px, 4.3vw, 19px); line-height: 1.25; letter-spacing: .01em; text-shadow: 0 2px 0 rgba(0,0,0,.18); }
.perks__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks__list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.perks__list svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--red); fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.perks__list b { display: block; font-size: 16.5px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.perks__list small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.perks__actions { display: grid; gap: 10px; margin-top: 2px; }
.perks__main { min-height: 54px; background: var(--red); color: #fff; font-size: 17px; font-weight: 800; border: 0;
  box-shadow: 0 5px 0 #8f0405, 0 14px 26px -12px rgba(209,6,7,.7); }
.perks__main:hover { background: #e00a0b; }
.perks__zalo { min-height: 48px; background: #fff; color: #0068ff; border: 2px solid #0068ff; font-weight: 800; }
.perks__zalo:hover { background: #eef5ff; }
.perks__note { font-size: 12.5px; color: var(--muted); font-style: italic; line-height: 1.4; }
@media (min-width: 600px) { .perks__actions { grid-template-columns: 1.4fr 1fr; } }
@media (min-width: 960px) { .perks { padding: 18px 20px 16px; } .perks__head { margin: -18px -20px 2px; padding: 12px 20px; } }
.perks--side { margin-bottom: 4px; }
@media (min-width: 900px) and (max-width: 1100px) { .perks--side .perks__actions { grid-template-columns: 1fr; } }

/* Trường "Nhu cầu" */
.need { border: 0; margin: 0; padding: 0; min-width: 0; }
.need legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.need__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.need__opt { position: relative; }
.need__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.need__opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.need__opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.need__opt input:focus-visible + span { outline: 3px solid #f5a300; outline-offset: 2px; }
.need.has-error .need__opt span { border-color: var(--red); }
@media (min-width: 960px) {
  .form--top { grid-template-areas: "title title title title" "demo demo demo demo" "name phone program btn" "need need need need" "consent consent consent consent" "result result result result"; }
  .form--top .qf-need { grid-area: need; }
}
.level-pick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; padding: 6px 6px 6px 12px; border-radius: 12px; background: var(--navy-tint); font-size: 14.5px; }
.level-pick strong { color: var(--navy); }
.level-pick__x { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; }

/* Chuyển nhóm chương trình */
.switch-group { background: #fff; border-top: 1px solid var(--line); }
.switch-group__in { display: grid; gap: 10px; padding-block: 18px; }
.switch-group p { font-weight: 800; color: var(--navy); }
.switch-group__links { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--navy); color: var(--navy); }
.sg-link--zh { border-color: var(--red); color: var(--red); }
.sg-link:hover { background: var(--navy-tint); }
@media (min-width: 760px) { .switch-group__in { grid-template-columns: auto 1fr; align-items: center; } .switch-group__links { justify-content: flex-end; } }

/* Thu gọn khoảng trống */
.picker { margin-top: 24px; }
@media (min-width: 860px) { .picker { margin-top: 28px; } }
.zh-band { padding-block: 40px 28px; }
.en-band { padding-block: 40px 44px; }
.method { padding-block: 44px 52px; }
.gallery { padding-block: 44px 36px; }
.team { padding-block: 40px; }
.res { padding-block: 44px; }
.signup { padding-block: 48px 52px; }
.band-head { margin-bottom: 20px; }
.features { gap: 24px; }
@media (min-width: 860px) {
  .zh-band { padding-block: 52px 36px; } .en-band { padding-block: 52px 56px; }
  .method, .res { padding-block: 56px; } .gallery { padding-block: 56px 44px; } .team { padding-block: 48px; }
  .features { gap: 44px; }
}
.motto { padding-right: 18px; }
@media (max-width: 599.98px) {
  .poster__benefits { display: none; }
  .poster__art { height: 176px; }
  .poster__art::before { width: 172px; height: 172px; }
  .pphoto--a { left: calc(50% - 124px); width: 114px; height: 160px; }
  .pphoto--b { left: calc(50% + 6px); width: 114px; height: 176px; }
  .pphoto--main { left: calc(50% - 56px); width: 132px; height: 176px; }
  .pphoto--inset { left: calc(50% - 134px); width: 80px; height: 80px; }
  .poster__mascot { width: 52px; }
  .perks { gap: 10px; padding: 14px 14px 12px; }
  .perks__head { margin: -14px -14px 2px; padding: 10px 14px; }
  .perks__list { gap: 8px; }
  .perks__list b { font-size: 15.5px; }
  .perks__list small { font-size: 13px; }
}
.perks--side .perks__actions { grid-template-columns: 1fr !important; }

/* Banner máy tính: quyền lợi bên phải, ảnh học viên xuống dưới cột trái (cân đối, không trống) */
@media (min-width: 960px) {
  .poster__copy { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); column-gap: 44px; row-gap: 12px;
    grid-template-areas: "tabs perks" "kicker perks" "title perks" "tag perks" "progs perks" "art perks" "art ben"; }
  .poster .perks--hero { align-self: start; margin-top: 6px; padding: 22px 24px 18px; gap: 14px; }
  .poster .perks--hero .perks__head { margin: -22px -24px 4px; padding: 16px 24px; font-size: 21px; }
  .poster .perks--hero .perks__list { gap: 14px; }
  .poster .perks--hero .perks__list li { grid-template-columns: 34px 1fr; }
  .poster .perks--hero .perks__list svg { width: 34px; height: 34px; padding: 6px; }
  .poster .perks--hero .perks__list b { font-size: 19px; }
  .poster .perks--hero .perks__list small { font-size: 14.5px; }
  .poster .perks--hero .perks__actions { grid-template-columns: 1fr; gap: 12px; margin-top: 6px; }
  .poster .perks--hero .perks__main { min-height: 60px; font-size: 19px; }
  .poster .perks--hero .perks__zalo { min-height: 52px; font-size: 17px; }
  .poster__benefits { align-self: end; justify-content: center; }
  .poster__art { min-height: 0; height: 330px; align-self: end; margin-top: 8px; }
  .poster__art::before { width: 300px; height: 300px; bottom: 0; }
  .pphoto--a { left: calc(50% - 196px); width: 176px; height: 270px; bottom: 14px; }
  .pphoto--b { left: calc(50% + 14px); width: 176px; height: 300px; bottom: 14px; }
  .pphoto--main { left: calc(50% - 90px); width: 210px; height: 310px; bottom: 14px; }
  .pphoto--inset { left: calc(50% - 210px); bottom: 24px; width: 130px; height: 130px; }
  .poster__mascot { width: 92px; right: 4%; bottom: 0; }
  .deco-dots { left: auto; right: 4%; top: auto; bottom: 120px; }
}
.poster__side { display: contents; }
@media (min-width: 960px) {
  .poster__copy { grid-template-areas: "tabs side" "kicker side" "title side" "tag side" "progs side" "art side"; }
  .poster__side { grid-area: side; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
  .poster__side .perks--hero { margin-top: 0; }
  .poster__side .poster__benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .poster__side .poster__benefits li { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border-radius: 16px; font-size: 15px; text-align: center; }
  .poster__side .poster__benefits li > span { width: 40px; height: 40px; font-size: 14px; }
}
@media (min-width: 960px) { .poster__side { align-self: stretch; padding-block: 8px; } }
