/* =====================================================================
   theme.css — giao diện mới của cvtech.vn (phong cách Funix, giữ bảng màu CVTECH). Nạp SAU site.css và inner.css.
   Muốn quay về giao diện cũ: bỏ dòng link theme.css trong base.njk (xem giao-dien-cu/2026-10-10/README.md).
   Mục lục: 1. Biến  2. Toàn cục  3. Nút  4. Mục và thẻ  5. Tiêu đề mục  6. Trang trong  7. Đầu trang, mega menu
            8. Chân trang  9. Nút liên hệ nổi  10. Việc làm  11. Lộ trình, pháp lý
   ===================================================================== */

/* ---------- 1. BIẾN ---------- */
:root {
  --green: #0E7839; --dark: #0E7839; --dark-2: #0A5A2B; --dark-3: #2F8F59;
  --soft: #F2F8F4; --soft-blue: #EEF6FB; --soft-red: #FDF1F0;
  --radius: 0; --radius-sm: 0;
  --shadow-soft: none; --shadow-hover: 0 10px 24px rgba(0, 60, 30, .14);
  --edge: #E3ECE6;
  --paper: #F2F8F4;
}
html { scroll-padding-bottom: 88px; }

/* ---------- 2. TOÀN CỤC ---------- */
.hazard { display: none; }
.kicker { font-family: var(--font-body); }
.kicker::before { background: var(--red); height: 4px; width: 44px; }
.link-u:hover { color: var(--green); }

/* ---------- 3. NÚT ---------- */
.hdr .btn { border-radius: 10px; clip-path: none; }
.field__label { color: var(--ink); }

/* ---------- 4. MỤC VÀ THẺ ---------- */
.sec__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.jcard, .stat, .tm__card, .itile, .fcard, .qp__feat, .qp__aud-card, .legal__table, .jdetail__card { border: 1px solid var(--line-2); }
.num-outline { display: none; }
.tag--sample { background: #FFF4C7; color: var(--ink); border: 1px dashed var(--input-border); }
.tag--expired { background: #55616A; color: #FFFFFF; }
a.jcard:hover, .jcard:hover { border-color: var(--green-dark); box-shadow: var(--shadow-hover); }

/* ---------- 5. TIÊU ĐỀ MỤC (như bản cũ: căn trái, chữ to, lời dẫn bên phải) ---------- */
.shead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 40px; align-items: end; margin: 0 0 32px; }
.shead__kicker { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 500; font-size: 15px; margin: 0; }
.shead__kicker::before { content: ""; flex: 0 0 auto; width: 44px; height: 4px; background: var(--red); }
.shead__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.12; letter-spacing: 0; color: var(--ink); overflow-wrap: anywhere; }
.shead__text { color: var(--muted); max-width: 560px; margin: 0; font-size: 16px; }
.shead--light .shead__kicker, .shead--light .shead__text { color: var(--on-dark); }
.shead--light .shead__title { color: var(--white); }
.shead { padding-bottom: 16px; border-bottom: 3px solid var(--ink); }
.shead--light { border-bottom-color: rgba(255,255,255,.4); }
.site--home .shead { margin-bottom: 28px; }
@media (min-width: 900px) {
  .shead { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
  .shead:not(:has(.shead__text)) { grid-template-columns: minmax(0, 1fr); }
  .shead__kicker { grid-column: 1 / -1; }
  .shead__title { grid-column: 1; }
  .shead__text { grid-column: 2; padding-bottom: 8px; }
}
@media (max-width: 639px) { .shead { margin-bottom: 24px; } }
.shead:not(:has(.shead__text)) { grid-template-columns: minmax(0, 1fr); }
.bg-grid-dark { --dark: #006030; --dark-2: #00451F; --dark-3: #2F8459; }

/* ---------- 6. TRANG TRONG (đầu trang sáng, thẻ bo góc) ---------- */
.ihero.bg-grid-dark, .phero, .phero--img {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--soft) 100%); color: var(--ink); --accent: var(--red); --on-accent: #FFFFFF;
}
.phero__img, .phero__shade { display: none; }
.ihero .crumbs, .phero--img .crumbs { color: var(--muted); }
.ihero .t-h1 { color: var(--ink); }
.ihero__intro, .phero--img .phero__intro { color: var(--muted); }
.ihero .kicker--light { color: var(--green); }
.ihero__chip { border-color: var(--edge); background: var(--white); color: var(--ink); border-radius: 0; }
.ihero__chip b { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--green-dark); }
.ihero .kg-inline { border-color: var(--edge); background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.ihero .kg-inline__label { color: var(--muted); border-right-color: var(--edge); }
.ihero .kg-inline__value { color: var(--green-dark); }
.ihero .btn--ghost, .ihero .btn--ghost:hover { color: var(--green-dark); border-color: var(--green); }
.ihero .btn--ghost:hover { background: var(--soft); }
.ihero__fig img { border-radius: var(--radius); box-shadow: var(--shadow-soft); --ch: 0px; }
.ihero__fig .dim--caption { color: var(--muted); }
.ihero__fig .stamp-tile { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.ihero__num { -webkit-text-stroke-color: var(--green); }
.ihero__icon { border-color: var(--green); color: var(--green); }
.kg-box { border-radius: var(--radius); }
.ptable thead th { background: var(--green); }
.rich--light a { color: #FFFFFF; }

/* ---------- 7. ĐẦU TRANG, MEGA MENU ---------- */
.hdr { background: var(--white); border-bottom: 1px solid var(--edge); position: relative; z-index: 40; }
.nav { font-size: 15px; font-weight: 700; letter-spacing: .4px; }
.nav__link { color: var(--ink); }
.nav__link:hover { color: var(--green); }
.nav__link.is-active { color: var(--green-dark); box-shadow: inset 4px 0 0 var(--green); }
.nav__subbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; flex: 0 0 44px; background: transparent; border: 0; color: var(--muted); }
.nav__subbtn .icon { transform: rotate(90deg); transition: transform .15s; }
.is-sub-open > .nav__subbtn .icon { transform: rotate(-90deg); }
.hdr__actions { display: flex; flex-direction: column; gap: 10px; padding: 14px 8px 4px; }
.hdr__learn { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); font-weight: 600; text-decoration: none; text-transform: none; padding: 10px 0; }
.hdr__learn:hover { color: var(--green); }
.hdr__actions .nav__cta { margin: 0; align-self: stretch; text-transform: none; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.hdr__actions .btn--accent { --accent: var(--red); --on-accent: #FFFFFF; }

/* mục con và mega menu trên điện thoại: chỉ mở khi bấm mũi tên */
.nav__item { flex-direction: row; flex-wrap: wrap; align-items: center; }
.nav__item > .nav__link { flex: 1 1 auto; }
.nav__item > .nav__sub, .nav__item > .mega { flex: 0 0 100%; display: none; }
.nav__item.is-sub-open > .nav__sub { display: flex; }
.nav__item.is-sub-open > .mega { display: block; }
.mega { text-transform: none; letter-spacing: 0; font-weight: 400; }
.mega__in { display: grid; gap: 4px 24px; padding: 0 0 12px 12px; }
.mega__head { font-size: 13px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; padding: 10px 8px 4px; }
.mega__link { display: flex; flex-direction: column; text-decoration: none; padding: 8px; border-radius: var(--radius-sm); color: var(--ink); }
.mega__link:hover { background: var(--soft); color: var(--green-dark); }
.mega__name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.mega__meta { font-size: 13px; color: var(--muted); }
.mega__promo { background: var(--soft); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mega__kg { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.mega__kg b { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--green-dark); }
.mega__quiz { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 600; text-decoration: none; }
.mega__quiz:hover { text-decoration: underline; }

@media (min-width: 760px) {
  .hdr__in { padding-top: 0; padding-bottom: 0; }
  .nav { align-items: center; overflow: visible; max-height: none; }
  .nav__item { position: relative; flex-wrap: nowrap; border-bottom: 0; }
  .nav__item--mega { position: static; }
  .nav__item > .nav__link { flex: 0 0 auto; }
  .nav__subbtn { display: none; }
  .nav__item > .nav__sub { display: flex; }
  .nav__item > .mega {
    display: block; position: absolute; left: 50%; top: 100%; z-index: 60; width: min(1100px, calc(100vw - 32px)); flex: none;
    transform: translate(-50%, 6px); background: var(--white); border: 1px solid var(--edge); border-top: 3px solid var(--green); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-hover);
    visibility: hidden; opacity: 0; transition: opacity .14s, transform .14s, visibility 0s .14s;
  }
  .nav__item--mega:hover > .mega, .nav__item--mega:focus-within > .mega, .nav__item--mega.is-sub-open > .mega { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
  .mega__in { grid-template-columns: 1.15fr 1fr .9fr; padding: 24px; gap: 8px 28px; }
  .nav__sub { border-top-color: var(--green); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .nav__sublink:hover, .nav__sublink[aria-current] { box-shadow: inset 4px 0 0 var(--green); }
  .hdr__actions { flex-direction: row; align-items: center; gap: 14px; padding: 0; }
  .hdr__actions .nav__cta { align-self: auto; }
  .nav__link.is-active { box-shadow: inset 0 -3px 0 var(--green); }
}
@media (min-width: 1200px) {
  .hdr__in { gap: 20px; min-height: 80px; }
  .hdr__logo { margin: 10px 0; }
  .nav { flex: 1 1 auto; align-self: stretch; display: flex; justify-content: flex-start; }
  .nav__item { align-self: stretch; align-items: stretch; }
  .nav__link { padding: 0 11px; min-height: 80px; white-space: nowrap; }
  .nav__link.is-active { padding-left: 11px; }
  .hdr__actions { margin-left: auto; align-self: center; }
}
@media (min-width: 1320px) { .nav__link { padding: 0 13px; } }
@media (min-width: 760px) and (max-width: 1199px) {
  .hdr__logo img { height: 48px; }
  .hdr__in { padding-top: 8px; }
  .nav > .hdr__actions { order: 2; margin-left: 12px; }
  .nav > .nav__item { font-size: 15px; }
  .nav__link { padding: 13px 12px; }
  .nav > .nav__item:first-child .nav__link, .nav > .nav__item:first-child .nav__link.is-active { padding-left: 0; }
}
@media (max-width: 759px) {
  .nav { border-top: 1px solid var(--edge); }
  .mega__in { grid-template-columns: 1fr; padding-left: 4px; }
  .mega__promo { margin: 8px 0 4px 8px; }
  .nav__item.is-sub-open > .nav__sub { padding-bottom: 10px; }
}

/* ---------- 8. CHÂN TRANG ---------- */
.ftr { background: var(--dark-2); color: var(--on-dark-2); }
.ftr__in { padding-top: 64px; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.ftr__about { grid-column: 1 / -1; gap: 6px; }
.ftr__logo { border-radius: var(--radius-sm); }
.ftr__row b { color: var(--white); font-weight: 600; }
.ftr__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ftr__social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--dark-3); border-radius: 999px; }
.ftr__social a:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; border-top-color: var(--dark-3); }
.ftr__legal-text { flex: 1 1 420px; min-width: 0; }
.ftr__bct img { height: 57px; width: auto; border-radius: 6px; }
@media (min-width: 700px) { .ftr__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ftr__cols { grid-template-columns: 1.7fr repeat(5, minmax(0, 1fr)); gap: 32px 24px; } .ftr__about { grid-column: auto; } }
@media (max-width: 759px) { .ftr__in { padding-bottom: 96px; } }

/* ---------- 9. NÚT LIÊN HỆ NỔI ---------- */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
.fab__list { display: flex; flex-direction: column; gap: 10px; }
.fab__btn, .fab__toggle { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; text-decoration: none; border: 0; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.fab__btn:hover { color: #FFFFFF; filter: brightness(1.08); }
.fab__btn--zalo { background: #0068FF; } .fab__btn--fb { background: #1877F2; } .fab__btn--tel, .fab__toggle { background: var(--green); }
.fab .icon { stroke-width: 2.2; }
.fab__btn--fb .icon { fill: currentColor; }
.fab__toggle { display: none; }
@media (max-width: 759px) {
  .fab__toggle { display: grid; }
  .fab__list { display: none; }
  .fab.is-open .fab__list { display: flex; }
}

/* ---------- 10. VIỆC LÀM ---------- */
.jgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 700px) { .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .jgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jcard { display: flex; flex-direction: column; background: var(--white); color: var(--ink); min-width: 0; }
.jcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.jcard__media img { width: 100%; height: 100%; object-fit: cover; }
.jcard__media .tag { position: absolute; top: 12px; left: 12px; }
.jcard__media .tag + .tag { left: auto; right: 12px; }
.jcard__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; flex: 1 1 auto; }
.jcard__title { font-size: 19px; line-height: 1.35; font-weight: 700; }
.jcard__title a { color: inherit; text-decoration: none; }
.jcard__title a:hover { color: var(--green-dark); }
.jcard__facts, .jfacts { margin: 0; display: grid; gap: 6px; font-size: 14.5px; }
.jcard__facts > div, .jfacts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
.jcard__facts dt, .jfacts dt { color: var(--muted); }
.jcard__facts dd, .jfacts dd { margin: 0; font-weight: 600; }
.jcard__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.jcard--closed .jcard__media img { filter: grayscale(.8); opacity: .8; }
.jcard--closed .jcard__title a { color: var(--muted); }
.jempty { text-align: center; padding: 36px 20px; border: 2px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); background: var(--white); }
.jclosed__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1.08; margin: 56px 0 20px; text-align: center; color: var(--muted); }
.jhero { background: linear-gradient(180deg, #FFFFFF 0%, var(--soft) 100%); padding: 28px 0 36px; }
.jhero__tags { margin: 18px 0 10px; display: flex; gap: 8px; }
.jhero__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; max-width: 880px; }
.jhero__meta { margin-top: 12px; color: var(--muted); font-size: 17px; font-weight: 500; }
.jdetail__in { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .jdetail__in { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; } }
@media (min-width: 1000px) { .jdetail__aside { position: sticky; top: 24px; } }
.jdetail__main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jdetail__summary { font-size: 19px; line-height: 1.6; font-weight: 500; }
.jdetail__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.jdetail__h { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1.08; margin-top: 12px; }
.jdetail__list { padding-left: 1.3em; display: grid; gap: 8px; list-style: disc; }
.jdetail__steps { padding-left: 1.5em; display: grid; gap: 8px; list-style: decimal; }
.jdetail__aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.jdetail__card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 22px; scroll-margin-top: 16px; }
.jdetail__card-title { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.jdetail__card .lead-form { box-shadow: none; border: 0; padding: 0; border-radius: 0; }
.jdetail__closed { font-weight: 600; margin-bottom: 12px; }
.jfacts > div { grid-template-columns: 118px minmax(0, 1fr); }

/* ---------- 11. LỘ TRÌNH, PHÁP LÝ ---------- */
.road__list { list-style: none; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
.road__step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 8px; }
.road__no { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #FFFFFF; font-family: var(--font-display); font-weight: 800; font-size: 24px; display: grid; place-items: center; position: relative; z-index: 1; }
.road__icon { color: var(--green); }
.road__title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.road__text { color: var(--muted); font-size: 15px; }
@media (min-width: 700px) and (max-width: 999px) { .road__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .road__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; gap: 24px; }
  .road__step:not(:last-child)::before { content: ""; position: absolute; top: 22px; left: calc(50% + 30px); width: calc(100% - 60px + 24px); border-top: 2px dashed var(--green); opacity: .45; }
}
.legal__table { display: grid; gap: 0; max-width: 820px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.legal__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 20px; border-top: 1px solid var(--line-2); }
.legal__row:first-child { border-top: 0; }
.legal__row dt { color: var(--muted); font-size: 14px; }
.legal__row dd { margin: 0; font-weight: 600; }
@media (min-width: 700px) { .legal__row { grid-template-columns: 240px minmax(0, 1fr); gap: 16px; } }

/* ---------- 12. TRANG CHỦ MỚI: bìa, hai mảng chính, khóa học, dải online, thẻ đặc điểm, trắc nghiệm, form cuối trang ---------- */
.bg-soft-blue { background: var(--soft-blue); }
.btn__arrow { flex: 0 0 auto; }
.hb { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, var(--soft) 100%); }
.hb__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 32px; padding-bottom: 52px; }
.hb__text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hb__kicker { display: flex; align-items: center; gap: 12px; align-self: flex-start; max-width: 100%; color: var(--muted); font-weight: 500; font-size: 15px; line-height: 1.35; }
.hb__dot { flex: 0 0 auto; width: 44px; height: 4px; border-radius: 0; background: var(--red); }
.hb__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; color: var(--ink); letter-spacing: .3px; text-wrap: balance; overflow-wrap: anywhere; }
.hb__lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; color: var(--muted); max-width: 580px; }
.hb__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hb__actions .btn { padding: 14px 24px; }
.hb__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hb__chip { display: flex; flex-direction: column; gap: 2px; min-width: 0; background: #FFFFFF; border: 1px solid var(--line-2); border-left: 4px solid var(--green); border-radius: 0; padding: 9px 16px 10px 14px; box-shadow: var(--shadow-soft); }
.hb__chip:nth-child(2) { border-left-color: var(--blue); } .hb__chip:nth-child(3) { border-left-color: var(--red); }
.hb__chip span { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.hb__chip b { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--green-dark); }
.hb__media { position: relative; min-width: 0; padding: 0 8px 12px 0; }
.hb__img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; box-shadow: 0 24px 56px rgba(14, 60, 35, .22); background: var(--soft); }
.hb__deco { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.hb__deco--red { width: 92px; height: 92px; right: -14px; top: -16px; background: var(--red); opacity: .92; }
.hb__deco--blue { width: 60px; height: 60px; left: -12px; bottom: 36px; background: var(--blue); opacity: .9; z-index: 2; }
.hb__deco--dots { width: 150px; height: 150px; right: 14px; bottom: -22px; background-image: radial-gradient(var(--green) 2.2px, transparent 2.8px); background-size: 16px 16px; opacity: .4; }
@media (min-width: 900px) {
  .hb__in { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 56px; padding-top: 52px; padding-bottom: 88px; }
  .hb__media { padding-right: 14px; }
  .hb__deco--red { width: 120px; height: 120px; right: -16px; top: -22px; }
  .hb__deco--blue { width: 76px; height: 76px; left: -24px; bottom: 48px; }
}

/* hai mảng chính: thẻ trắng bo góc, viền trên màu */
.duo { background: var(--white); padding: 40px 0 8px; }
@media (min-width: 900px) { .site--home .cover + .duo { margin-top: -44px; position: relative; z-index: 3; padding-top: 0; } }
.duo__card, .duo__card--blue { background: var(--white); color: var(--ink); clip-path: none; border-radius: 0; border: 1px solid var(--line-2); border-top: 5px solid var(--green); box-shadow: none; overflow: hidden; --accent: var(--red); --on-accent: #FFFFFF; }
.duo__card--blue { border-top-color: var(--blue); }
.duo__media { background: var(--soft); }
.duo__body { padding: 24px 26px 28px; gap: 12px; }
.duo__kicker { color: var(--muted); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 500; gap: 12px; }
.duo__kicker::before { background: var(--red); height: 4px; width: 44px; }
.duo__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.04; text-wrap: balance; }
.duo__text { color: var(--muted); font-size: 16.5px; }
.duo__kg { border-color: var(--edge); background: var(--soft); border-radius: 0; overflow: hidden; }
.duo__kg span { color: var(--muted); border-right-color: var(--edge); }
.duo__kg b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--green-dark); }
.duo__actions .link-u, .duo__actions .link-u--light { color: var(--green-dark); }
.duo__actions .link-u:hover { color: var(--green); }
.duo__card--blue .duo__actions .link-u { color: var(--blue-dark); }

.ucard__foot { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ucard__foot .ucard__more { margin-top: 0; padding-top: 0; }

/* ô biểu tượng nhỏ và thẻ đặc điểm */
.itiles { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .itiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .itiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .itiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.itile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-soft); color: var(--ink); text-decoration: none; min-width: 0; }
a.itile:hover { box-shadow: var(--shadow-hover); }
.itile__icon { flex: 0 0 auto; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #E1F1E7; color: var(--green); }
.itile__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.itile__title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.itile__text { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.fcards { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fcards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fcard { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 24px 28px; min-width: 0; background: var(--white); border: 1px solid var(--line-2); border-radius: 0; box-shadow: var(--shadow-soft); color: var(--ink); text-decoration: none; position: relative; overflow: hidden; }
.fcard::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--green); }
.fcard:nth-child(2)::after { background: var(--blue); } .fcard:nth-child(3)::after { background: var(--red); } .fcard:nth-child(4)::after { background: var(--green-dark); }
.fcard__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 0; background: #E1F1E7; color: var(--green); margin-bottom: 4px; }
.fcard:nth-child(2) .fcard__icon { background: #E3F1FA; color: var(--blue-dark); } .fcard:nth-child(3) .fcard__icon { background: var(--soft-red); color: var(--red); }
.fcard__title { font-size: 19px; line-height: 1.3; font-weight: 700; }
.fcard__text { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* mời làm trắc nghiệm */
.qp__features { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .qp__features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qp__feat { background: var(--white); border: 1px solid var(--line-2); border-radius: 0; box-shadow: var(--shadow-soft); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.qp__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 0; background: #E3F1FA; color: var(--blue-dark); margin-bottom: 4px; }
.qp__feat:nth-child(2) .qp__icon { background: #E1F1E7; color: var(--green); } .qp__feat:nth-child(3) .qp__icon { background: var(--soft-red); color: var(--red); }
.qp__feat-title { font-size: 19px; line-height: 1.3; font-weight: 700; }
.qp__feat-text { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.qp__aud-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; text-align: center; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; margin: 48px 0 24px; }
.qp__aud { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .qp__aud { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qp__aud-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; background: var(--white); border: 1px solid var(--line-2); border-radius: 0; color: var(--ink); text-decoration: none; min-width: 0; transition: transform .2s, box-shadow .2s; }
a.qp__aud-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--blue); }
.qp__aud-icon { color: var(--blue-dark); margin-bottom: 4px; }
.qp__aud-name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.qp__aud-text { color: var(--muted); font-size: 15px; line-height: 1.55; }
.qp__aud-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blue-dark); }
@media (prefers-reduced-motion: reduce) { a.qp__aud-card:hover { transform: none; } }

/* form tư vấn cuối trang: lời dẫn, ảnh, số điện thoại bên trái; form trắng bo góc bên phải */
.ask2 { padding: 56px 0; }
@media (min-width: 900px) { .ask2 { padding: 80px 0; } }
.ask2__in { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .ask2__in { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: center; } }
.ask2__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ask2__kicker { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 500; font-size: 15px; }
.ask2__kicker::before { content: ""; flex: 0 0 auto; width: 44px; height: 4px; background: var(--red); }
.ask2__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.04; }
.ask2__text { color: var(--muted); font-size: 17px; max-width: 540px; }
.ask2__fig { margin: 4px 0; }
.ask2__fig img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 0; box-shadow: var(--shadow-soft); display: block; }
.ask2 .contact__phones { flex-direction: row; flex-wrap: wrap; gap: 8px 32px; }
.ask2 .contact__phone { flex-direction: column; align-items: flex-start; gap: 0; }
.ask2 .contact__phone .t-num { color: var(--green-dark); }
.ask2 .contact__phone .t-num:hover { color: var(--red); }
.ask2 .contact__phone-name { color: var(--muted); }
.ask2__more { color: var(--muted); font-size: 15px; line-height: 1.7; }
.ask2__more a { color: var(--green-dark); text-decoration: none; font-weight: 600; }
.ask2__more a:hover { text-decoration: underline; }
.ask2 .lead-form { padding: 28px 24px; }
@media (min-width: 640px) { .ask2 .lead-form { padding: 32px; } }

/* trang chủ gọn hơn: khoảng cách giữa các mục vừa phải */
.site--home .sec { padding: 48px 0; }
@media (min-width: 900px) { .site--home .sec { padding: 64px 0; } }
.site--home .sec__in { gap: 28px; }
@media (max-width: 639px) {
  .fcard, .qp__feat { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 18px 18px 20px; align-items: start; }
  .fcard__icon, .qp__icon { grid-row: 1 / span 2; width: 52px; height: 52px; margin: 0; }
  .fcard__text, .qp__feat-text { grid-column: 2; }
  .fcard__title, .qp__feat-title { align-self: end; }
}
.ihero .contact__phone-name { color: var(--muted); }
.ihero .contact__phone .t-num { color: var(--green-dark); }
.ihero .contact__phone .t-num:hover { color: var(--red); }

/* điện thoại: trang chủ gọn hơn. Lưới thẻ thành dải vuốt ngang (mỗi thẻ rộng 82% để lộ thẻ kế), lộ trình xếp dạng danh sách có số */
@media (max-width: 699px) {
  .site--home .ugrid { position: relative; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site--home .ugrid::-webkit-scrollbar { display: none; }
  .site--home .ugrid > * { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; }
  .site--home .road__list { gap: 18px; }
  .site--home .road__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; text-align: left; align-items: start; padding: 0; }
  .site--home .road__no { grid-row: 1 / span 2; }
  .site--home .road__icon { display: none; }
  .site--home .road__title { align-self: center; }
  .site--home .road__text { grid-column: 2; }
}

/* ===== 13. Trang chính sách (chặng E) ===== */
.note--pre { white-space: pre-line; }
.fab__zalo-text { font: 800 13px/1 var(--font-body, system-ui, sans-serif); letter-spacing: 0; }
.field--consent .check { color: var(--text, inherit); font-size: 14px; line-height: 1.45; }
.field--consent .check a { text-decoration: underline; }
.field--consent .check { display: flex; gap: 10px; align-items: flex-start; }
.field--consent .check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--green); }

/* ---------- 13. GIÃN DÒNG TIÊU ĐỀ DISPLAY (dấu hoa tiếng Việt không chạm dòng kề) ---------- */
.hb__title, .t-hero, .t-h1, .shead__title, .duo__title, .ask2__title, .jhero__title, .qp__aud-title, .feature__title, .quote-band__title, .feat-post__title { line-height: 1.14; }
.t-h2, .t-h3, .t-h3-lg, .t-card, .tile__title, .entry__title, .commit__title, .pcard__title, .post-card__title, .ocard__title, .online-card__title, .lead-form__title, .side-cta__title, .route__t, .co__h, .jclosed__title, .jdetail__h, .rich h2, .prose h2, .form-card__head, .cat-nav__link { line-height: 1.12; }

/* ---------- 14. TRANG CHỦ 15 MỤC: bìa như bản cũ, con số, cảm nhận, bản đồ ---------- */
/* bìa: trả về diện mạo bản cũ (xanh #006030, lưới, ảnh vát góc, nút vát góc) */
.cover { --dark: #006030; --dark-2: #00451F; --dark-3: #2F8459; --ch: 14px; }
.cover.bg-grid-dark { background-color: #006030; background-size: 48px 48px;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); }
.cover .cover__img { --ch: 44px; border-radius: 0; box-shadow: none; clip-path: polygon(0 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% 100%, 0 100%) !important; }
.cover .btn { border-radius: 0; clip-path: polygon(0 0, calc(100% - var(--ch)) 0, 100% var(--ch), 100% 100%, 0 100%); }
.cover .btn--ghost { clip-path: none; border-radius: 0; }
/* những con số biết nói */
.stats__accent { color: var(--green); }
.stats__date { margin-top: 14px; color: var(--muted); font-weight: 600; font-size: 17px; }
.stats__date b { color: var(--ink); font-weight: 700; }
.stats__grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; }
.stat { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 22px 20px 22px 24px; }
.stat__body { min-width: 0; }
.stat__num { font-family: var(--font-display); font-weight: 800; color: var(--green); font-size: clamp(56px, 15vw, 88px); line-height: 1.06; letter-spacing: .5px; margin: 0 0 6px; overflow-wrap: anywhere; }
.stat__suf { font-size: .55em; margin-left: 2px; }
.stat__label { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.45; }
.stat__art { flex: 0 0 auto; color: var(--green); line-height: 0; }
.stat__svg { width: 72px; height: 72px; display: block; }
.stat--empty { background: #FFFBEA; border: 1px dashed #D9B84A; box-shadow: none; }
.stat__val--empty { font-family: var(--font-body); font-weight: 700; font-size: 22px; color: var(--ink); line-height: 1.4; }
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .stat__svg { width: 96px; height: 96px; } }
@media (min-width: 900px) {
  .stats__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .stats__grid > .stat { grid-column: span 2; }
  .stats__grid--4 > .stat, .stats__grid--2 > .stat { grid-column: span 3; }
  .stats__grid--5 > .stat:nth-child(n+4) { grid-column: span 3; }
  .stats__grid--1 > .stat { grid-column: 2 / span 4; }
  .stat { padding: 26px 22px 26px 30px; }
  .stat__svg { width: 120px; height: 120px; }
}
/* cảm nhận */
.tm__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) { .tm__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.tm__card { margin: 0; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line-2); border-top: 4px solid var(--green); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 26px 24px 24px; min-width: 0; }
.tm__card--sample { border-style: dashed; border-top-style: solid; }
.tm__stars { color: #E8A317; font-size: 20px; letter-spacing: 2px; }
.tm__quote { margin: 0; position: relative; padding-top: 34px; color: var(--ink); font-size: 17px; line-height: 1.65; }
.tm__quote::before { content: "\201C"; position: absolute; left: -2px; top: -10px; font-family: var(--font-display); font-weight: 900; font-size: 84px; line-height: 1; color: var(--red); }
.tm__who { margin-top: auto; min-height: 104px; box-sizing: content-box; display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.tm__avatar { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.tm__avatar--empty { display: grid; place-items: center; color: var(--green); }
.tm__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tm__name { font-size: 16px; line-height: 1.35; }
.tm__role { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.tm__kind { align-self: flex-start; margin-top: 4px; border-radius: 0; padding: 2px 10px; font-size: 12.5px; font-weight: 700; line-height: 1.6; }
.tm__kind--hv { background: #E3F3E9; color: var(--green-dark); } .tm__kind--dn { background: #E4F0FA; color: var(--blue-dark); }
/* bản đồ */
.mapbox { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mapbox__frame { aspect-ratio: 16 / 10; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.mapbox__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.mapbox--wide .mapbox__frame { aspect-ratio: 4 / 3; }
.mapbox__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.mapbox__addr { display: flex; align-items: flex-start; gap: 8px; flex: 1 1 260px; min-width: 0; font-size: 15px; line-height: 1.5; }
.mapbox__addr .icon { flex: 0 0 22px; color: var(--red); margin-top: 1px; }
.mapbox__btn { min-height: 48px; }
.cinfo-map { padding-top: 32px; }
@media (min-width: 760px) { .mapbox--wide .mapbox__frame { aspect-ratio: 21 / 8; } }
.ask2__map { min-width: 0; }
.ask2__map .mapbox__cap { color: var(--muted); }
@media (min-width: 900px) {
  .ask2--map .ask2__in { grid-template-areas: "info form" "map form"; grid-template-rows: auto 1fr; align-items: start; }
  .ask2--map .ask2__info { grid-area: info; } .ask2--map .lead-form { grid-area: form; } .ask2--map .ask2__map { grid-area: map; }
}
.ask2__map .mapbox__addr { display: none; }
