/* =====================================================================
   inner.css — khối dùng cho các trang trong của cvtech.vn (nạp sau site.css ở mọi trang).
   Cùng hệ thiết kế với trang chủ: nền tối kẻ ô bản vẽ, góc vát, sọc cảnh báo, đường kích thước, số viền.
   Mục lục:
     A. Dải "bản xem thử"            F. Khối nội dung (split, plist, steps, feature, note, pcard)
     B. Trình đơn con                G. Bảng giá, bảng ưu đãi
     C. Đầu trang trong (.ihero)     H. Chia sẻ: thẻ bài, trang bài viết, mục lục
     D. Trình đơn mục (.secnav)      I. Liên hệ, dải gửi yêu cầu (.ask)
     E. Khung thông số (.spec)       J. Tin hoạt động (danh sách), tiện ích
   ===================================================================== */

/* ---------- A. DẢI BẢN XEM THỬ ---------- */
.pbar { background: #FFF4C7; color: var(--ink); font-size: 13px; line-height: 1.45; text-align: center; padding: 7px 16px; border-bottom: 1px dashed var(--input-border); }

/* ---------- B. TRÌNH ĐƠN CON ---------- */
.nav__item { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.nav__item .nav__link { border-bottom: 0; }
.nav__sub { display: flex; flex-direction: column; padding: 0 0 10px 12px; }
.nav__sublink { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; padding: 9px 8px; border-left: 2px solid var(--line); }
.nav__sublink:hover, .nav__sublink[aria-current] { color: var(--green); border-left-color: var(--green); }
.nav__caret { display: none; }
@media (min-width: 760px) {
  .nav__item { position: relative; border-bottom: 0; flex-direction: row; }
  .nav__caret { display: inline-block; width: 0; height: 0; margin-left: 2px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: 0.6; }
  .nav__sub {
    position: absolute; left: 0; top: 100%; z-index: 60; min-width: 300px; padding: 8px 0; background: var(--white);
    border-top: 4px solid var(--accent); box-shadow: 0 18px 30px rgba(22,33,43,0.2);
    visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s, visibility 0s .12s;
  }
  .nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__sublink { border-left: 0; padding: 11px 20px; font-size: 15px; color: var(--ink); white-space: nowrap; }
  .nav__sublink:hover, .nav__sublink[aria-current] { background: var(--paper); color: var(--green); box-shadow: inset 4px 0 0 var(--green); }
}

/* ---------- C. ĐẦU TRANG TRONG ---------- */
.ihero { position: relative; overflow: hidden; }
.ihero__in { position: relative; padding-top: 28px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.ihero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ihero .crumbs { color: var(--on-dark-2); margin-bottom: 6px; }
.ihero .t-h1 { color: var(--white); }
.ihero__intro { font-size: 18px; color: var(--on-dark); max-width: 640px; }
.ihero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.ihero__fig { flex: 1 1 380px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ihero__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; --ch: 48px; box-shadow: var(--shadow-hero); }
.ihero__fig .dim--caption { color: var(--on-dark-2); }
.ihero__fig .dim--caption .dim__tick, .ihero__fig .dim--caption .dim__line { background: var(--accent); }
.ihero__num { flex: 0 1 auto; font-family: var(--font-display); font-weight: 900; line-height: 0.85; letter-spacing: 2px; color: transparent; -webkit-text-stroke: 2px var(--accent); font-size: clamp(120px, 18vw, 240px); user-select: none; }
.ihero__meta { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ihero__chip { border: 1.5px solid rgba(255,255,255,0.45); color: var(--white); font-size: 14px; font-weight: 600; padding: 5px 12px; }
.ihero__chip b { color: var(--accent); font-family: var(--font-display); font-size: 20px; font-weight: 800; margin-left: 4px; }
@media (min-width: 900px) { .ihero__in { padding-top: 36px; padding-bottom: 64px; } }

/* ---------- D. TRÌNH ĐƠN MỤC ---------- */
.secnav { background: var(--white); border-bottom: 2px solid var(--ink); }
.secnav__in { display: flex; flex-wrap: wrap; gap: 0 28px; }
.secnav__link { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--ink); text-decoration: none; padding: 14px 0 10px; border-bottom: 4px solid transparent; margin-bottom: -2px; }
.secnav__link:hover { color: var(--green); border-bottom-color: var(--line-2); }
.secnav__link[aria-current] { border-bottom-color: var(--accent); color: var(--green); }

/* ---------- E. KHUNG THÔNG SỐ (kiểu khung tên bản vẽ) ---------- */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid var(--ink); background: var(--white); color: var(--ink); }
.spec__cell { padding: 14px 16px 16px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); min-width: 0; display: flex; flex-direction: column; gap: 4px; margin: 0 -1.5px -1.5px 0; }
.spec__k { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; }
.spec__v { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.spec__v--text { font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1.35; }
.spec__cell--accent { background: var(--accent); color: var(--on-accent); }
.spec__cell--accent .spec__k { color: inherit; opacity: 0.9; }
.spec__cell--accent .spec__k { color: var(--ink); }
.spec__cell--wide { grid-column: 1 / -1; }
.spec { overflow: hidden; }
@media (min-width: 780px) { .spec--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .spec--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .spec--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- F. KHỐI NỘI DUNG ---------- */
.sec { padding: 56px 0; }
.sec--tight { padding: 40px 0; }
.sec__in { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 900px) { .sec { padding: 80px 0; } .sec--tight { padding: 56px 0; } .sec__in { gap: 40px; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
.sec-head__main { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; flex: 1 1 420px; min-width: 0; }
.sec-head__text { flex: 1 1 320px; max-width: 560px; color: var(--muted); }
.bg-ink .sec-head__text, .bg-grid-dark .sec-head__text { color: var(--on-dark); }
.bg-green .sec-head__text { color: var(--green-pale); }
.bg-ink .num-outline, .bg-grid-dark .num-outline, .bg-green .num-outline { -webkit-text-stroke-color: var(--accent); }
.lead-p { font-size: 18px; color: var(--muted); max-width: 720px; }
.body-p { color: var(--muted); max-width: 680px; }
.body-p + .body-p { margin-top: 12px; }

.split { display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 0; }
.split--center { align-items: center; }
.split__narrow { flex: 1 1 300px; max-width: 460px; }
.split__wide { flex: 2 1 480px; }
.col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* Danh sách có ô vuông xanh */
.plist { list-style: none; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.plist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; line-height: 1.45; }
.plist li::before { content: ""; flex: 0 0 auto; width: 12px; height: 12px; margin-top: 7px; background: var(--green); clip-path: polygon(0 0, 100% 0, 100% 100%, 4px 100%, 0 calc(100% - 4px)); }
.plist--light { border-top-color: rgba(255,255,255,0.6); }
.plist--light li { border-bottom-color: rgba(255,255,255,0.25); color: var(--white); }
.plist--light li::before { background: var(--accent); }
.plist--num { counter-reset: pl; }
.plist--num li { counter-increment: pl; }
.plist--num li::before { content: counter(pl, decimal-leading-zero); width: auto; height: auto; margin-top: 0; background: none; clip-path: none; font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 1.1; color: var(--green); min-width: 30px; }

/* Các bước */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: st; }
.step { counter-increment: st; padding: 22px 0 24px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 8px; position: relative; }
.step::before { content: counter(st, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--green); }
.step__title { font-weight: 700; font-size: 20px; line-height: 1.3; }
.step__text { color: var(--muted); font-size: 15px; }
.bg-ink .step, .bg-grid-dark .step { border-top-color: rgba(255,255,255,0.5); }
.bg-ink .step::before, .bg-grid-dark .step::before { -webkit-text-stroke-color: var(--accent); }
.bg-ink .step__text, .bg-grid-dark .step__text { color: var(--on-dark); }
@media (min-width: 780px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Hàng ảnh + chữ so le */
.feature { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; }
.feature__media { flex: 1 1 400px; min-width: 0; position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__body { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feature__no { position: absolute; left: 0; bottom: 0; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; padding: 10px 16px 8px; }
.feature__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.05; text-transform: uppercase; }
.feature__title a { color: inherit; text-decoration: none; }
.feature__title a:hover { color: var(--green); }
.feature__text { color: var(--muted); font-size: 17px; }
.feature__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.feature__meta .t-num { color: var(--green); }
@media (min-width: 900px) { .feature--rev .feature__media { order: 2; } }
.feature-list { display: flex; flex-direction: column; gap: 56px; }
@media (min-width: 900px) { .feature-list { gap: 72px; } }

/* Ghi chú */
.note { border-left: 5px solid var(--accent); background: var(--paper); padding: 16px 20px; color: var(--ink); font-size: 15px; }
.note b, .note strong { font-weight: 700; }
.bg-paper .note, .bg-grid-light .note { background: var(--white); }
.note--dark { background: rgba(255,255,255,0.08); color: var(--on-dark); }

/* Thẻ liên kết có ảnh */
.pgrid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pgrid--1 { grid-template-columns: 1fr; } }
@media (min-width: 1000px) { .pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { background: var(--white); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--ink); position: relative; }
.pcard:hover { color: var(--ink); }
.pcard:hover .pcard__title { color: var(--green); }
.pcard__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 2px solid var(--ink); }
.pcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.pcard__kicker { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--green); text-transform: uppercase; }
.pcard__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.06; text-transform: uppercase; transition: color .15s; }
.pcard__text { color: var(--muted); font-size: 15px; }
.pcard__more { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.pcard__more::after { content: ""; width: 22px; height: 2px; background: currentColor; box-shadow: 0 0 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.pcard--dark { background: var(--dark); color: var(--white); border-color: var(--ink); }
.pcard--dark:hover { color: var(--white); }
.pcard--dark:hover .pcard__title { color: var(--accent); }
.pcard--dark .pcard__text { color: var(--on-dark); }
.pcard--dark .pcard__more { color: var(--accent); }
.pcard--green { background: var(--green); color: var(--white); border-color: var(--green); }
.pcard--green:hover { color: var(--white); }
.pcard--green:hover .pcard__title { color: var(--accent); }
.pcard--green .pcard__text { color: var(--green-pale); }
.pcard--green .pcard__more { color: var(--accent); }
.pcard--green .pcard__kicker, .pcard--dark .pcard__kicker { color: var(--accent); }
.pcard__no { position: absolute; right: 14px; top: 8px; font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); }

/* Dải ảnh xưởng có chú thích */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shots figure { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shots figcaption { font-size: 13px; color: var(--muted); font-weight: 500; }
.bg-ink .shots figcaption, .bg-grid-dark .shots figcaption { color: var(--on-dark-2); }
.shots__big { grid-column: 1 / -1; }
.shots__big img { aspect-ratio: 16 / 8; }
@media (min-width: 900px) {
  .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .shots__big { grid-column: span 2; grid-row: span 2; }
  .shots__big img { aspect-ratio: auto; height: 100%; min-height: 0; flex: 1 1 auto; }
}

/* Ô "khai giảng" trong trang trong */
.kg-box { background: var(--accent); color: var(--on-accent); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; --ch: 28px; }
.kg-box__label { font-weight: 600; font-size: 15px; }
.kg-box__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(38px, 5vw, 56px); line-height: 1.05; }
.kg-box__note { font-size: 14px; }

/* ---------- G. BẢNG GIÁ ---------- */
.ptable { width: 100%; border-collapse: collapse; background: var(--white); border: 2px solid var(--ink); font-size: 16px; }
.ptable th, .ptable td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.ptable thead th { background: var(--dark); color: var(--white); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 0; }
.ptable tbody th { font-weight: 700; }
.ptable tbody th a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.ptable tbody th a:hover { color: var(--green); }
.ptable .num { font-family: var(--font-display); font-weight: 800; font-size: 26px; white-space: nowrap; }
.ptable .num--green { color: var(--green); }
.ptable .sub { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.ptable tr.is-combo th, .ptable tr.is-combo td { background: var(--paper); }
.ptable tr.is-best th, .ptable tr.is-best td { background: #FFF4C7; }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }
.ptable caption { caption-side: bottom; text-align: left; font-size: 14px; color: var(--muted); padding-top: 10px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .ptable { min-width: 560px; }

/* ---------- H. CHIA SẺ ---------- */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 28px 24px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.post-card:hover { color: var(--ink); }
.post-card:hover .post-card__title { color: var(--green); }
.post-card__media { position: relative; }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__cat { position: absolute; left: 0; bottom: 0; }
.post-card__title { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.06; text-transform: uppercase; transition: color .15s; }
.post-card__text { color: var(--muted); font-size: 15px; }
.post-card__meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post-card--soon .post-card__img { filter: grayscale(0.7); opacity: 0.75; }
.post-card--soon { cursor: default; }
.cat-nav--page { border-bottom: 0; }
.cat-block { display: flex; flex-direction: column; gap: 24px; }
.cat-block__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.cat-block__intro { color: var(--muted); max-width: 640px; }

.article { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.article__main { flex: 3 1 560px; min-width: 0; }
.article__aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1000px) { .article__aside { position: sticky; top: 24px; } }
.article__cover { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; margin-bottom: 32px; --ch: 48px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--on-dark-2); font-size: 14px; }
.prose { color: var(--ink); }
.prose p { color: #2B3942; }
.prose a { text-underline-offset: 3px; }
.prose h2 { scroll-margin-top: 20px; padding-top: 0.2em; border-top: 2px solid var(--ink); padding-top: 18px; }
.prose > h2:first-child { margin-top: 0; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose table { border: 2px solid var(--ink); font-size: 16px; }
.prose th { background: var(--paper); border-bottom: 2px solid var(--ink); }
.prose .lede { font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.toc { border: 2px solid var(--ink); padding: 18px 20px 20px; background: var(--white); }
.toc__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.toc ul { list-style: none; display: flex; flex-direction: column; }
.toc li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.4; }
.toc li:last-child a { border-bottom: 0; }
.toc li a:hover { color: var(--green); }
.toc ul ul { display: none; }
.side-cta { background: var(--green); color: var(--white); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; --ch: 28px; }
.side-cta__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.side-cta p { color: var(--green-pale); font-size: 15px; }
.side-cta .btn { align-self: flex-start; }
.author { display: flex; gap: 14px; align-items: center; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 16px 0; margin-top: 40px; font-size: 15px; color: var(--muted); }
.author__logo { flex: 0 0 auto; width: 84px; background: var(--white); border: 1px solid var(--line); padding: 6px 8px; }

/* ---------- I. LIÊN HỆ, DẢI GỬI YÊU CẦU ---------- */
.ask { position: relative; background: var(--dark); color: var(--white); overflow: hidden; }
.ask__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ask__shade { position: absolute; inset: 0; background: rgba(0,52,26,0.82); }
.ask__in { position: relative; padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: stretch; }
.ask__info { flex: 1 1 380px; min-width: 0; background: var(--green); padding: 32px 22px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.ask__info p { color: var(--green-pale); max-width: 460px; }
.ask__info .t-h2 { color: var(--white); font-size: clamp(34px, 4vw, 52px); }
.ask .lead-form { flex: 1 1 440px; }
@media (min-width: 640px) { .ask__info { padding: 40px 36px; } }
@media (min-width: 900px) { .ask__in { padding-top: 80px; padding-bottom: 80px; } }

.cinfo { display: grid; grid-template-columns: 1fr; gap: 0; border: 2px solid var(--ink); background: var(--white); }
.cinfo__item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-bottom: 1.5px solid var(--ink); }
.cinfo__item:last-child { border-bottom: 0; }
.cinfo__icon { flex: 0 0 auto; width: 48px; height: 48px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; }
.cinfo__k { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; }
.cinfo__v { font-weight: 700; font-size: 18px; line-height: 1.4; }
.cinfo__v a { color: var(--ink); text-decoration: none; }
.cinfo__v a:hover { color: var(--green); text-decoration: underline; }
.cinfo__v .t-num { font-size: 32px; color: var(--green); }
.cinfo__sub { font-size: 14px; color: var(--muted); font-weight: 400; }

/* ---------- J. TIN HOẠT ĐỘNG (danh sách), TIỆN ÍCH ---------- */
.news-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-item { background: var(--white); display: flex; flex-direction: column; border-bottom: 5px solid var(--green); min-width: 0; }
.news-item__media { position: relative; }
.news-item__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 20%; }
.news-item__date { position: absolute; left: 0; bottom: 0; }
.news-item__title { padding: 18px 22px 6px; font-weight: 700; font-size: 19px; line-height: 1.35; }
.news-item__summary { padding: 0 22px 22px; color: var(--muted); font-size: 15px; }
.mt-0 { margin-top: 0 !important; }
.center-x { align-self: center; }
.hide { display: none !important; }
.quote-band { background: var(--green); color: var(--white); }
.quote-band__in { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.quote-band__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; text-transform: uppercase; flex: 1 1 420px; min-width: 0; }
.quote-band__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.quote-band__phone { color: var(--green-pale); font-size: 15px; }
.quote-band__phone .t-num { color: var(--white); vertical-align: -3px; }
.tag--soon { background: var(--tag-grey); color: var(--muted); }
.draft-banner { background: #FFF4C7; border: 2px dashed var(--input-border); padding: 14px 18px; font-size: 15px; font-weight: 600; }

/* Ô minh họa sáu khóa online (thay ảnh) */
.otile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); aspect-ratio: 4 / 3; }
.otile__cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 10px; color: var(--accent); border-right: 1px solid rgba(255,255,255,0.16); border-bottom: 1px solid rgba(255,255,255,0.16); }
.otile__cell span { color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.1; text-transform: uppercase; }
.otile__cell:nth-child(3n) { border-right: 0; }
.otile__cell:nth-child(n+4) { border-bottom: 0; }

/* Đầu trang: giữ một hàng từ 1200px trở lên */
.nav__cta { white-space: nowrap; }
.nav__link .icon { flex: 0 0 auto; }
@media (min-width: 760px) {
  .nav { font-size: 14px; letter-spacing: 0.3px; }
  .nav__link { padding: 12px 8px; }
  .nav__link.is-active { padding-left: 8px; }
  .nav__cta { margin-left: 8px; padding-left: 18px; padding-right: 18px; }
}
@media (min-width: 1320px) {
  .nav { font-size: 15px; letter-spacing: 0.4px; }
  .nav__link { padding: 12px 10px; }
  .nav__link.is-active { padding-left: 10px; }
}
@media (max-width: 779px) { .spec--5 .spec__cell:last-child, .spec--3 .spec__cell:last-child { grid-column: 1 / -1; } }
/* Thẻ khóa online cỡ lớn (trang danh mục) */
.ocard { background: var(--white); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 26px; border: 2px solid var(--ink); border-top: 8px solid var(--green); min-width: 0; position: relative; }
.ocard:hover { color: var(--ink); background: var(--paper); }
.ocard:hover .ocard__title { color: var(--green); }
.ocard--soon { border-top-color: var(--line-2); }
.ocard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ocard__icon { color: var(--green); }
.ocard--soon .ocard__icon { color: var(--muted); }
.ocard__title { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.05; text-transform: uppercase; transition: color .15s; }
.ocard__text { color: var(--muted); font-size: 15px; }
.ocard__more { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--green); }
.ocard .tag { font-size: 13px; padding: 4px 10px; }
.ihero__icon { flex: 0 1 auto; width: clamp(180px, 22vw, 280px); aspect-ratio: 1; border: 3px dashed var(--accent); border-radius: 50%; display: grid; place-items: center; color: var(--accent); transform: rotate(-8deg); margin: 0 auto; }
.ihero__icon .icon { width: 52%; height: 52%; transform: rotate(8deg); }
[data-cv-online-show] { display: none; }
[data-cv-online-show].is-on { display: block; }
.hnum { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; }
.pgrid .online-card { flex: none; }

/* Ô minh họa hồ sơ (không dùng ảnh người) */
.stamp-tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.stamp-tile__stamp { position: absolute; right: 9%; top: 12%; width: 34%; aspect-ratio: 1; border: 3px dashed var(--accent); border-radius: 50%; display: grid; place-items: center; transform: rotate(-12deg); color: var(--accent); }
.stamp-tile__stamp .icon { width: 52%; height: 52%; }
.stamp-tile__lines { position: absolute; left: 9%; top: 16%; width: 42%; display: flex; flex-direction: column; gap: 18px; }
.stamp-tile__lines span { height: 4px; background: rgba(255,255,255,0.35); }
.stamp-tile__lines span:nth-child(1) { width: 60%; } .stamp-tile__lines span:nth-child(2) { width: 90%; } .stamp-tile__lines span:nth-child(3) { width: 72%; } .stamp-tile__lines span:nth-child(4) { width: 40%; background: var(--accent); }
.stamp-tile__docs { position: absolute; left: 9%; right: 9%; bottom: 12%; display: flex; flex-wrap: wrap; gap: 8px; }
.stamp-tile__docs span { border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: clamp(15px, 1.7vw, 20px); text-transform: uppercase; padding: 4px 12px; }
.ihero__fig .stamp-tile { box-shadow: var(--shadow-hero); border: 1px solid rgba(255,255,255,0.18); }
/* Dải ảnh chi tiết trong trang trong */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.parts img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 780px) { .parts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 779px) { .parts img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
.jobs-link { background: var(--dark); color: var(--white); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; --ch: 28px; }
.jobs-link__title { font-weight: 700; font-size: 18px; }
.jobs-link__sub { color: var(--on-dark-2); font-size: 15px; }
.prose pre { background: var(--ink); color: #E8EEF0; padding: 18px 20px; overflow-x: auto; font-size: 15px; line-height: 1.6; border-left: 6px solid var(--accent); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.prose img { width: 100%; height: auto; }
.prose ol > li::marker { font-weight: 700; color: var(--green); }
.prose td:first-child { font-weight: 700; }
.prose img { max-height: 480px; object-fit: cover; }
/* Trang liên hệ */
.route { display: grid; grid-template-columns: 1fr; gap: 0; border: 2px solid var(--ink); background: var(--white); }
.route a { display: flex; gap: 16px; align-items: center; padding: 18px 20px; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--ink); }
.route a:last-child { border-bottom: 0; }
.route a:hover { background: var(--paper); color: var(--ink); }
.route a:hover .route__t { color: var(--green); }
.route__icon { flex: 0 0 auto; color: var(--green); }
.route__t { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.route__s { color: var(--muted); font-size: 14px; }
@media (min-width: 780px) { .route { grid-template-columns: repeat(2, minmax(0, 1fr)); } .route a:nth-child(odd) { border-right: 1.5px solid var(--ink); } .route a:nth-last-child(-n+2) { border-bottom: 0; } }
.form-card { border: 2px solid var(--ink); background: var(--white); }
.form-card .lead-form { clip-path: none; }
.form-card__head { background: var(--dark); color: var(--white); padding: 16px 20px; font-family: var(--font-display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1.05; }
@media (min-width: 640px) { .form-card__head { padding: 18px 32px; } }
.about-photos { position: relative; padding-bottom: 56px; }
.about-photos__main { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; --ch: 56px; }
.about-photos__inset { position: absolute; right: 0; bottom: 0; width: 46%; background: var(--white); padding: 6px; box-shadow: var(--shadow-card); }
.about-photos__inset img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-photos__cap { font-size: 13px; font-weight: 600; padding: 6px 6px 2px; color: var(--ink); }
@media (max-width: 699px) { .pbar__more { display: none; } }
@media (max-width: 759px) { .nav { max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; } }
/* Bảng giá trên điện thoại: mỗi khóa một khối, không phải cuộn ngang mới thấy học phí */
@media (max-width: 639px) {
  .table-scroll .ptable--stack, .table-scroll .ptable--fit { min-width: 0; }
  .ptable--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable--stack, .ptable--stack tbody { display: block; }
  .ptable--stack tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ptable--stack tr:last-child { border-bottom: 0; }
  .ptable--stack tbody th, .ptable--stack td { padding: 0; border: 0; background: transparent !important; }
  .ptable--stack tbody th { flex: 1 1 100%; }
  .ptable--stack td { color: var(--muted); font-size: 15px; }
  .ptable--stack td:last-child { margin-left: auto; color: var(--ink); text-align: right; }
  .ptable--stack tr.is-combo { background: var(--paper); }
  .ptable--stack tr.is-best { background: #FFF4C7; }
  .ptable--fit th, .ptable--fit td { padding: 12px 10px; }
  .ptable--fit .num { font-size: 22px; }
  .ptable--fit thead th { font-size: 12px; }
}
@media (min-width: 1000px) { .article__aside { top: calc(env(safe-area-inset-top, 0px) + 24px); } }

/* Chữ có định dạng trong các khối (soạn bằng trình soạn thảo ở trang quản trị) */
.rich { font-size: 17px; line-height: 1.7; max-width: 720px; }
.rich > * + * { margin-top: 0.9em; }
.rich h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.12; text-transform: uppercase; margin-top: 1.3em; }
.rich h3 { font-weight: 700; font-size: 19px; line-height: 1.35; margin-top: 1.2em; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich ul { list-style: square; } .rich ol { list-style: decimal; }
.rich li + li { margin-top: 0.35em; }
.rich a { text-decoration: underline; text-underline-offset: 3px; }
.rich strong { font-weight: 700; }
.rich blockquote { border-left: 6px solid var(--accent); padding: 4px 0 4px 18px; font-weight: 500; }
.rich img { width: 100%; height: auto; }
.rich table { width: 100%; border-collapse: collapse; border: 2px solid currentColor; font-size: 16px; }
.rich th, .rich td { padding: 8px 12px; border-top: 1px solid rgba(22, 33, 43, 0.25); text-align: left; }
.rich--light { color: #E3EAEC; } .rich--light strong, .rich--light h2, .rich--light h3 { color: #fff; } .rich--light a { color: var(--accent); }
.rich--light th, .rich--light td { border-top-color: rgba(255, 255, 255, 0.25); }

/* =====================================================================
   BẢNG MÀU 2 (10/2026): trắng, đen và ba màu của logo. Nền chủ đạo xanh lá đậm (--dark).
   Trên nền xanh, màu nhấn là trắng; trên nền sáng, màu nhấn là đỏ của logo. Xanh dương dùng cho nhãn và link phụ.
   ===================================================================== */
.hero, .ihero, .bg-ink, .bg-grid-dark, .bg-green, .topbar, .ftr, .ask-box, .tile, .pricing__combo2, .ent-card, .jobs, .jobs__foot, .faq__more, .contact, .phero--img,
.pcard--dark, .pcard--green, .ask, .jobs-link, .form-card__head, .cta-band, .commit__panel, .auth, .otile, .stamp-tile, .ptable thead, .cover, .cat--dark, .feat-band {
  --accent: #FFFFFF; --on-accent: var(--dark);
}
/* thẻ sáng nằm trong vùng nền xanh: trả màu nhấn về đỏ */
.lead-form, .jobs__list, .spec-card, .auth__card, .form-card__body, .faq-card, .card, .pcard:not(.pcard--dark):not(.pcard--green), .kg-chip, .cat__tile, .cover__photo, .cinfo {
  --accent: var(--red); --on-accent: #FFFFFF;
}
.jobs__list .jobs__foot { --accent: #FFFFFF; --on-accent: var(--dark); }
.tile--green { background: var(--blue-dark); }
.tag--ink { background: var(--blue-dark); }
.link-u:hover { color: var(--blue-dark); }
.prose a, .rich a { color: var(--blue-dark); }
.rich--light a { color: #FFFFFF; }
.rich--light { color: var(--on-dark); }
.nav__link--login, .nav__ext-icon { color: var(--blue-dark); }
.nav__link.is-active { color: var(--green-dark); }
.btn--ghost { border-color: rgba(255,255,255,0.85); }
.btn--outline:hover, .btn--outline.is-active { background: var(--dark); border-color: var(--dark); }
.kg-inline { border-color: rgba(255,255,255,0.6); }
.bg-grid-dark { background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px); }
.bg-green { background: var(--green); }
.ptable thead th { background: var(--dark); }
.secnav__link[aria-current] { border-bottom-color: var(--red); color: var(--green-dark); }
.commit__panel { background: var(--dark); }
.check-item__box { color: var(--on-accent); }

/* Trình đơn lớn hiện sẵn từ 760px. Từ 760 đến 1199px: trình đơn nằm hàng riêng dưới logo, tự xuống dòng. */
@media (min-width: 760px) and (max-width: 1199px) {
  /* hàng 1: logo, Đăng nhập, nút Gửi yêu cầu. Hàng 2: các mục trình đơn. */
  .hdr__in { flex-wrap: wrap; justify-content: flex-start; gap: 0; padding-bottom: 0; }
  .hdr__logo { order: 1; margin-right: auto; }
  .hdr__logo img { height: 50px; }
  .nav { display: contents; }
  .nav > .nav__item:has(.nav__link--login) { order: 2; }
  .nav > .nav__cta { order: 3; margin: 0 0 0 12px; }
  .hdr__in::after { content: ""; order: 4; flex: 0 0 100%; height: 0; margin-top: 10px; border-top: 1px solid var(--line); }
  .nav > .nav__item { order: 5; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.4px; }
  .nav__link { padding: 13px 14px; }
  .nav > .nav__item:first-child .nav__link, .nav > .nav__item:first-child .nav__link.is-active { padding-left: 0; }
  .nav > .nav__item:first-child .nav__link.is-active { box-shadow: inset 0 -3px 0 var(--accent); }
}

/* ---------- BÌA TRANG CHỦ (kiểu bìa catalog) ---------- */
.cover { position: relative; color: var(--white); overflow: hidden; }
.cover__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
.cover__text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cover__company { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); display: flex; align-items: center; gap: 12px; }
.cover__company::before { content: ""; flex: 0 0 auto; width: 44px; height: 4px; background: var(--white); }
.cover__title { font-size: clamp(42px, 5.4vw, 74px); line-height: 1.03; text-wrap: balance; }
.cover__lines { list-style: none; display: grid; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 25px); line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; color: var(--white); border-left: 4px solid var(--red); padding-left: 16px; }
.cover .hero__lead { color: var(--on-dark); }
.cover__photo { position: relative; min-width: 0; margin: 0; }
.cover__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% center; background: var(--dark-2); }
.cover__index { position: relative; background: var(--dark-2); border-top: 1px solid var(--dark-3); }
.cover__index-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cover__entry { display: flex; gap: 12px; align-items: flex-start; padding: 16px 14px 18px 0; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.14); min-width: 0; }
.cover__entry:hover { color: var(--white); }
.cover__entry:hover .cover__entry-title { text-decoration: underline; text-underline-offset: 4px; }
.cover__entry-no { font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 0.95; color: transparent; -webkit-text-stroke: 1.5px var(--white); flex: 0 0 auto; }
.cover__entry-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cover__entry-title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.cover__entry-text { font-size: 13px; line-height: 1.4; color: var(--on-dark-3); }
@media (min-width: 760px) { .cover__index-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cover__entry { padding-right: 18px; } }
@media (min-width: 860px) {
  .cover__in { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 40px; padding-top: 52px; padding-bottom: 52px; }
}
@media (min-width: 1200px) {
  .cover__index-in { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cover__entry { border-bottom: 0; padding: 18px 16px 20px 0; }
  .cover__entry + .cover__entry { padding-left: 16px; border-left: 1px solid rgba(255,255,255,0.16); }
}

/* ---------- TRANG CATALOG: số trang, tiêu đề, sơ đồ bước, lưới ảnh có chú thích ---------- */
.cat { padding: 60px 0; scroll-margin-top: 12px; }
.cat + .cat:not(.cat--dark):not(.bg-paper):not(.bg-grid-light) { border-top: 1px solid var(--line); }
.cat__in { display: flex; flex-direction: column; gap: 30px; }
.cat__intro { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cat__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.cat__head { display: flex; align-items: flex-end; gap: 18px; padding-bottom: 16px; border-bottom: 3px solid var(--ink); }
.cat--dark .cat__head { border-bottom-color: var(--white); }
.cat__no { font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 7vw, 96px); line-height: 0.8; letter-spacing: 1px; color: transparent; -webkit-text-stroke: 2px var(--green); flex: 0 0 auto; }
.cat--dark .cat__no { -webkit-text-stroke-color: var(--white); }
.cat__titles { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cat__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-dark); }
.cat--dark .cat__kicker { color: var(--on-dark); }
.cat__title { font-size: clamp(32px, 3.8vw, 50px); text-wrap: balance; }
.cat__text { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 720px; }
.cat--dark .cat__text { color: var(--on-dark); }
.cat__flow { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; counter-reset: none; }
.cat__flow li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 2px solid var(--green); background: var(--white); font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--ink); min-width: 0; }
.cat__flow-no { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; background: var(--green); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; }
.cat__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cat__tile { margin: 0; min-width: 0; background: var(--white); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.cat--dark .cat__tile { border-color: transparent; }
.cat__tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cat__tile figcaption { padding: 9px 12px 10px; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--ink); border-top: 3px solid var(--green); }
.cat__foot { display: flex; }
@media (min-width: 620px) {
  .cat__grid--3, .cat__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat__flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .cat__flow li + li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--red); clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%); }
}
@media (min-width: 900px) {
  .cat__grid { gap: 18px; }
  .cat__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat__grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cat__grid--6 .cat__tile figcaption { font-size: 12.5px; padding: 8px 10px; }
  .cat__grid--lead { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat__grid--lead .cat__tile:first-child { grid-column: span 2; grid-row: span 2; }
  .cat__grid--lead .cat__tile:first-child img { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; height: 100%; }
  .cat__in--side { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 48px; align-items: start; }
  .cat__in--rev { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); }
  .cat__in--rev .cat__intro { order: 2; }
  .cat__in--side .cat__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cat__in--side .cat__intro { position: sticky; top: 24px; }
}

/* ---------- GIỚI THIỆU CÔNG TY (trang 2 của catalog) ---------- */
.co__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 48px; }
.co__info, .co__fields { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.co__h { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.02em; color: var(--green-dark); }
.cinfo { margin: 0; border: 2px solid var(--ink); background: var(--white); }
.cinfo__r { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 16px; }
.cinfo__r + .cinfo__r { border-top: 1px solid var(--line); }
.cinfo dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cinfo dd { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.co__groups { display: grid; gap: 22px; }
.co__group { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.co__group-no { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; background: var(--green-dark); color: var(--white); font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 1; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.co__group > div:last-child { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.co__group-title { font-weight: 700; font-size: 19px; line-height: 1.3; }
.co__group .plist li { font-size: 15.5px; font-weight: 500; padding: 10px 0; }
.co__facility { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.co__facility-head { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; }
.co__facility-head p { flex: 1 1 420px; color: var(--muted); max-width: 760px; }
@media (min-width: 620px) { .cinfo__r { grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: baseline; } }
@media (min-width: 860px) { .co__cols { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

/* ---------- THẺ DÙNG CHUNG (tin, bài viết, khóa học, dịch vụ): một khuôn cho mọi nội dung đăng lên ---------- */
.ugrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 620px) { .ugrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .ugrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ugrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.post-grid > .ucard { height: 100%; }
.ucard { --accent: var(--red); --on-accent: #FFFFFF; display: flex; flex-direction: column; min-width: 0; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.ucard:hover { color: var(--ink); border-color: var(--green-dark); box-shadow: 0 10px 24px rgba(0, 60, 30, 0.14); }
.ucard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.ucard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.ucard:hover .ucard__media img { transform: scale(1.04); }
.ucard__tag { position: absolute; left: 0; top: 14px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.3; padding: 5px 12px 5px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding-right: 18px; }
.ucard__tag--blue { background: var(--blue-dark); }
.ucard__tag--green { background: var(--green-dark); }
.ucard__tag--grey { background: var(--tag-grey); color: var(--muted); }
.ucard__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; border-top: 3px solid var(--green-dark); }
.ucard__meta { font-size: 13px; line-height: 1.4; color: var(--muted); }
.ucard__title { font-family: var(--font-body); font-weight: 700; font-size: 19px; line-height: 1.38; text-transform: none; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
a.ucard:hover .ucard__title { color: var(--green-dark); }
.ucard__text { font-size: 15px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ucard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ucard__price b { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--green-dark); }
.ucard__price span { font-size: 13px; color: var(--muted); }
.ucard__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--green-dark); display: inline-flex; align-items: center; gap: 8px; }
.ucard__more::after { content: ""; width: 22px; height: 2px; background: currentColor; transition: width .15s; }
a.ucard:hover .ucard__more::after { width: 34px; }
.ucard--soon .ucard__media img { filter: grayscale(0.6); opacity: 0.85; }
.ucard--soon .ucard__title { color: var(--muted); }
.ucard--sample { border-style: dashed; border-color: var(--input-border); }
.ucard--sample .ucard__media img { filter: grayscale(1); opacity: 0.55; }
.ucard--sample .ucard__title, .ucard--sample .ucard__text { color: var(--muted); }
.uhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; padding-bottom: 16px; border-bottom: 3px solid var(--ink); }
.uhead__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 420px; }
.uhead .t-h2 { font-size: clamp(34px, 3.8vw, 48px); }
.uhead__text { color: var(--muted); max-width: 680px; }
.sec__more { display: flex; justify-content: center; }

/* ---------- HAI MẢNG CHÍNH Ở ĐẦU TRANG CHỦ ---------- */
.duo { padding: 44px 0 12px; background: var(--white); }
.duo__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 860px) { .duo__in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.duo__card { --accent: #FFFFFF; --on-accent: var(--dark); display: flex; flex-direction: column; min-width: 0; color: var(--white); background: var(--dark); clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
.duo__card--blue { background: var(--blue-dark); --on-accent: var(--blue-dark); }
.duo__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark-2); }
.duo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.duo__card:hover .duo__media img { transform: scale(1.03); }
.duo__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 30px; }
.duo__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.86); display: flex; align-items: center; gap: 12px; }
.duo__kicker::before { content: ""; width: 36px; height: 4px; background: var(--white); flex: 0 0 auto; }
.duo__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.03; text-transform: uppercase; text-wrap: balance; }
.duo__text { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.92); max-width: 560px; }
.duo__kg { display: inline-flex; align-self: flex-start; align-items: stretch; border: 1.5px solid rgba(255,255,255,0.7); max-width: 100%; }
.duo__kg span { padding: 8px 14px; font-size: 14px; display: flex; align-items: center; border-right: 1.5px solid rgba(255,255,255,0.7); }
.duo__kg b { padding: 6px 16px; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; display: flex; align-items: center; }
.duo__actions { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.duo__actions .link-u { font-size: 16px; padding: 6px 0; }
.duo__actions .link-u:hover { color: var(--white); text-decoration-thickness: 3px; }

/* ---------- DẢI KHÓA ONLINE MIỄN PHÍ ---------- */
.oband { padding: 52px 0; color: var(--white); }
.oband__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 48px; align-items: center; }
@media (min-width: 900px) { .oband__in { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.oband__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.oband__text p:not(.kicker) { color: var(--on-dark); max-width: 520px; }
.oband__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 4px; }
.oband__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.35); }
@media (min-width: 560px) { .oband__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
.oband__list a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.22); min-width: 0; }
.oband__list a span:not(.tag) { flex: 1 1 auto; min-width: 0; }
.oband__list a:hover span:not(.tag) { text-decoration: underline; text-underline-offset: 4px; }
.oband__list .icon { flex: 0 0 auto; }
.oband__list .tag--green { background: var(--white); color: var(--green-dark); }
.oband__list .tag--grey { background: rgba(255,255,255,0.18); color: var(--white); }
/* bìa trang chủ gọn hơn khi không có mục lục */
.cover__in { padding-top: 40px; padding-bottom: 40px; }

/* ===== Thẻ khóa học có nút Đăng ký học, form đăng ký học ===== */
.usub { font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: 0; text-transform: none; color: var(--ink); display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.usub::before { content: ""; flex: 0 0 auto; width: 28px; height: 4px; background: var(--red); }
.ucard--act:hover { border-color: var(--green-dark); box-shadow: 0 10px 24px rgba(0, 60, 30, 0.14); }
.ucard--act .ucard__media { display: block; }
.ucard--act:hover .ucard__media img { transform: scale(1.04); }
.ucard__title a { color: inherit; text-decoration: none; }
.ucard__title a:hover { color: var(--green-dark); }
.ucard__foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ucard__foot .ucard__more { margin-top: 0; padding-top: 0; text-decoration: none; }
.ucard__foot .ucard__more:hover::after { width: 34px; }
@media (min-width: 760px) {
  .ucard--wide { flex-direction: row; }
  .ucard--wide .ucard__media { flex: 0 0 44%; aspect-ratio: auto; min-height: 250px; }
  .ucard--wide .ucard__body { border-top: 0; border-left: 3px solid var(--green-dark); padding: 20px 22px 22px; justify-content: center; }
  .ucard--wide .ucard__title { font-size: 22px; }
}
.pcard__title a { color: inherit; text-decoration: none; }
.pcard__title a:hover { text-decoration: underline; text-underline-offset: 5px; }
.pcard__acts { margin-top: auto; padding-top: 12px; align-items: center; }
.field__hint { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.lead-form__after { font-size: 15px; line-height: 1.55; padding: 12px 14px; background: var(--paper); border-left: 4px solid var(--green-dark); }
.lead-form__after a { font-weight: 700; color: var(--green-dark); }
.split__narrow > .btn--block { align-self: stretch; }
.oband .t-h2 { text-wrap: balance; }

/* Bìa trang chủ không có tiêu đề lớn: tên công ty là tiêu đề chính, hai dòng lĩnh vực to hơn */
.cover__name { font-family: var(--font-body); font-weight: 800; font-size: clamp(19px, 2vw, 27px); line-height: 1.3; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); text-wrap: balance; padding-top: 18px; position: relative; }
.cover__name::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 5px; background: var(--white); }
.cover__name ~ .cover__lines { font-weight: 800; font-size: clamp(25px, 2.7vw, 36px); line-height: 1.16; gap: 10px; border-left-width: 5px; padding-left: 18px; }
.cover__name ~ .cover__lines li { text-wrap: balance; }
