/* ==========================================================================
   Theme Quân Kiên – giao diện chính
   Màu, font khai báo trong theme.json; file này dùng biến bên dưới.
   Mục lục: 1. Nền tảng  2. Bố cục  3. Thành phần  4. Đầu/chân trang
            5. Trang chủ  6. Trang con, bài viết  7. Plugin (qk-*)  8. Responsive
   ========================================================================== */

:root {
	--c-brand: #0b5d2e;
	--c-brand-dark: #0b3d1e;
	--c-brand-darker: #072e16;
	--c-lime: #8cc63f;
	--c-lime-soft: #ddefc8;
	--c-soft: #f4f8f1;
	--c-soft-2: #f2f8ec;
	--c-ink: #10241a;
	--c-body: #3c5045;
	--c-muted: #4a5d52;
	--c-line: #e3ece0;
	--c-line-2: #c9d6c4;
	--c-warn-bg: #fdf0e1;
	--c-warn: #8a3a04;
	--c-info-bg: #e6eef8;
	--c-info: #1d4e89;
	--f-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-head: Montserrat, 'Be Vietnam Pro', system-ui, sans-serif;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--shadow: 0 20px 50px rgba(11, 61, 30, 0.12);
	--wrap: 1200px;
	--gutter: 24px;
}

/* 1. Nền tảng ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.7; color: var(--c-ink); background: #fff; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--c-brand); text-underline-offset: 3px; }
a:hover { color: var(--c-brand-dark); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-brand-dark); line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
mark { background: var(--c-lime); color: var(--c-brand-dark); padding: 0 .25em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--c-lime); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.center { text-align: center; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 2. Bố cục --------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.stack { display: flex; flex-direction: column; gap: 28px; }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--end { align-items: flex-end; }
.split--end > a, .split--end > .btn { flex: 0 0 auto; }
.section { padding: 88px 0; }
.section--tight { padding: 48px 0; }
.section--soft { background: var(--c-soft); }
.section--brand { background: var(--c-brand); color: #fff; }
.section--brand .section__title { color: #fff; }
.section--brand .lead { color: #dcebd6; }
.section__head { max-width: 760px; }
.section__head--center { margin: 0 auto; text-align: center; }
.section__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin: 0; }
.section__title--center { text-align: center; }
.section__title--sm { font-size: 24px; }
.eyebrow { font-weight: 700; color: var(--c-brand); letter-spacing: 1px; font-size: 14px; text-transform: uppercase; margin: 0 0 8px; }
.eyebrow--light { color: #b9e08a; }
.lead { font-size: 18px; color: var(--c-body); margin: 12px 0 0; }

/* 3. Thành phần ----------------------------------------------------------- */
.btn, .qk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: var(--r-sm); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--primary, .qk-btn--primary { background: var(--c-brand); color: #fff; }
.btn--primary:hover, .qk-btn--primary:hover { background: var(--c-brand-dark); color: #fff; }
.btn--outline, .qk-btn--outline { background: #fff; border-color: var(--c-brand); color: var(--c-brand); }
.btn--outline:hover, .qk-btn--outline:hover { background: var(--c-soft-2); color: var(--c-brand-dark); }
.btn--lime { background: var(--c-lime); color: var(--c-brand-dark); }
.btn--lime:hover { background: #a3d65f; color: var(--c-brand-dark); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.qk-btn--light { background: #fff; color: var(--c-brand); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--c-lime-soft); color: #0b4a24; text-decoration: none; }
.tag--warn { background: var(--c-warn-bg); color: var(--c-warn); }
.tag--info { background: var(--c-info-bg); color: var(--c-info); }
.tag--ok { background: var(--c-lime-soft); color: #0b4a24; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.chips__label { font-weight: 700; color: var(--c-brand-dark); margin-right: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--c-line-2); color: var(--c-brand); font-weight: 600; text-decoration: none; }
.chip:hover, .chip--active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 6px; }
.cards--white .card { border: 0; color: var(--c-ink); }
.cards--white .card span { color: var(--c-muted); font-size: 15px; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--c-line); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; }
.checklist .icon { flex: 0 0 auto; margin-top: 4px; color: var(--c-lime); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); font-weight: 700; }
.link-list a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.link-light { color: #dcebd6; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.link-light:hover { color: #fff; }
.search-form { display: flex; gap: 8px; margin-top: 20px; }
.search-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--c-line-2); border-radius: var(--r-sm); font: inherit; }

/* 4. Đầu trang, chân trang ------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--c-line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.site-logo__img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo__name { font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--c-brand); }
.site-logo__tag { font-size: 12px; color: var(--c-muted); }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav .menu a { color: var(--c-ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; display: block; }
.site-nav .menu a:hover, .site-nav .current-menu-item > a { color: var(--c-brand); }
.site-nav .menu-item-has-children { position: relative; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: -12px; min-width: 230px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--shadow); display: none; }
.site-nav .sub-menu a { padding: 10px 12px; border-radius: 8px; }
.site-nav .sub-menu a:hover { background: var(--c-soft); }
.site-nav .menu-item-has-children:hover > .sub-menu, .site-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.site-header__cta { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--c-line-2); border-radius: var(--r-sm); width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--c-brand); cursor: pointer; }

.site-footer { background: var(--c-brand-darker); color: #cfe3c9; padding: 56px 0 28px; font-size: 14px; }
.site-footer a { color: #cfe3c9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { margin: 0 0 8px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #fff; font-family: var(--f-head); }
.site-footer__brand img { width: 44px; height: 44px; border-radius: 10px; }
.site-footer__title { font-family: var(--f-head); font-weight: 700; color: #fff; font-size: 15px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* 5. Trang chủ ------------------------------------------------------------ */
.hero { background: linear-gradient(180deg, var(--c-soft-2) 0%, #fff 100%); padding: 72px 0 56px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero__title { max-width: 960px; font-size: clamp(34px, 5vw, 60px); line-height: 1.12; letter-spacing: -.5px; margin: 0; }
.hero__subtitle { display: block; margin-top: 10px; font-size: .62em; color: var(--c-brand); }
.hero__text { max-width: 720px; font-size: 19px; color: var(--c-body); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.page-hero .hero__actions { justify-content: flex-start; }
.hero__media { width: 100%; margin-top: 16px; }
.hero__img { width: 100%; border-radius: 20px; box-shadow: 0 24px 60px rgba(11, 61, 30, .15); }
.stats { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; text-align: left; }
.stats__item { padding: 20px; border-radius: 14px; border: 1px solid var(--c-line); background: #fff; display: flex; flex-direction: column; }
.stats__item strong { font-family: var(--f-head); font-weight: 800; font-size: 28px; color: var(--c-brand); line-height: 1.3; }
.stats__item span { color: var(--c-body); }

.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-top: 1px solid var(--c-line); vertical-align: top; }
.compare thead th { background: var(--c-soft); border-top: 0; color: var(--c-muted); }
.compare thead .compare__us { background: var(--c-brand); color: #fff; }
.compare tbody th { font-weight: 600; width: 26%; }
.compare tbody td { color: var(--c-body); }
.compare tbody .compare__us { background: var(--c-soft-2); color: var(--c-brand-dark); font-weight: 600; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps__item { counter-increment: step; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--c-line); }
.steps__item::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--f-head); font-weight: 800; font-size: 28px; color: var(--c-lime); line-height: 1.2; }
.steps__item h3 { font-family: var(--f-body); font-size: 18px; font-weight: 700; color: var(--c-ink); margin: 6px 0 4px; }
.steps__item p { margin: 0; color: var(--c-muted); font-size: 15px; }
.steps--dark .steps__item { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.steps--dark .steps__item::before { width: 44px; height: 44px; border-radius: 50%; background: var(--c-lime); color: var(--c-brand-dark); display: flex; align-items: center; justify-content: center; font-size: 16px; content: counter(step); margin-bottom: 8px; }
.steps--dark .steps__item h3 { color: #fff; }
.steps--dark .steps__item p { color: #dcebd6; }

.features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.features__item { display: flex; gap: 14px; }
.features__item strong { display: block; font-size: 17px; }
.features__item span { color: var(--c-body); }
.features__icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--c-brand); color: #fff !important; display: flex; align-items: center; justify-content: center; }
.mock { display: flex; flex-direction: column; gap: 16px; }
.mock__bubble { align-self: flex-start; max-width: 380px; padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: var(--shadow); }
.mock__bubble strong { font-size: 13px; color: var(--c-brand); }
.mock__bubble p { margin: 4px 0 0; }
.mock__panel { padding: 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.mock__head, .mock__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock__head { padding-bottom: 10px; }
.mock__row { padding: 12px 0; border-top: 1px solid var(--c-line); }
.mock__row small { display: block; color: var(--c-muted); font-size: 14px; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-grid__item { margin: 0; }
.gallery-grid__item img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--r); }
.gallery-grid__item:only-child { grid-column: 1 / -1; }
.gallery-grid__item:only-child img { height: auto; max-height: 420px; }
.gallery-grid__item figcaption { margin-top: 10px; font-weight: 600; font-size: 15px; }

.banner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding: 40px; border-radius: var(--r-lg); background: var(--c-brand-dark); color: #dcebd6; }
.banner__text { flex: 1 1 480px; }
.banner__text .section__title { color: #fff; font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.banner__actions { display: flex; flex-direction: column; gap: 12px; flex: 0 1 300px; }
.review { gap: 12px; }
.review__stars { color: #e3a008; letter-spacing: 2px; }
.review blockquote { margin: 0; color: var(--c-body); }
.review__by { margin: 0; }
.video { list-style: none; }
.video__thumb { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-brand-dark); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, .25); }
.video__thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__title { font-weight: 600; margin: 10px 0 0; }
.post-card { height: 100%; padding: 24px; border-radius: var(--r); border: 1px solid var(--c-line); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.post-card .tag { align-self: flex-start; }
.post-card__media img { width: 100%; border-radius: 12px; }
.post-card__title { font-size: 19px; margin: 0; }
.post-card__title a { color: var(--c-brand-dark); text-decoration: none; }
.post-card__title a:hover { color: var(--c-brand); text-decoration: underline; }
.post-card__excerpt { color: var(--c-muted); font-size: 15px; margin: 0; }
.post-card__meta { margin: auto 0 0; font-size: 14px; color: var(--c-muted); }

.section--contact { background: linear-gradient(180deg, var(--c-soft-2) 0%, #e4f1d6 100%); }
.contact { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.contact__intro { flex: 1 1 420px; min-width: 0; }
.contact__form { flex: 1 1 420px; min-width: 0; }
.contact__list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact__list li { display: flex; gap: 10px; align-items: center; }
.contact__list .icon { color: var(--c-brand); }

/* 6. Trang con, bài viết -------------------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--c-soft-2) 0%, #fff 100%); padding: 32px 0 48px; }
.page-hero__title { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; margin: 16px 0 0; }
.page-hero--service .split { margin-top: 8px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #9aaaa0; }
.breadcrumbs a { color: var(--c-muted); }
.price-card { flex: 0 1 400px; padding: 28px; border-radius: 20px; background: var(--c-brand); color: #fff; box-shadow: 0 20px 50px rgba(11, 61, 30, .18); }
.price-card__label { color: #dcebd6; font-weight: 600; margin: 0; }
.price-card__price { font-family: var(--f-head); font-weight: 800; font-size: 44px; line-height: 1.15; margin: 4px 0; }
.price-card__price span { font-size: 18px; }
.price-card__note { color: #dcebd6; font-size: 15px; }
.price-card .checklist { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 14px; font-size: 15px; }
.entry-content { padding-top: 40px; padding-bottom: 24px; font-size: 18px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border-top: 1px solid var(--c-line); text-align: left; }
.entry-content details, .faq details { padding: 18px 22px; border-radius: 14px; border: 1px solid #dce6d8; background: #fff; margin-bottom: 12px; }
.entry-content summary, .faq summary { font-weight: 700; cursor: pointer; min-height: 28px; }
.entry-content details > :last-child { margin-bottom: 0; }
.entry-content details p { margin: 10px 0 0; color: var(--c-body); }
.faq { padding: 0; }
.qk-note, .entry-content .qk-note { padding: 16px 20px; border-radius: 12px; background: var(--c-warn-bg); border-left: 4px solid #b54708; font-size: 16px; }
.article__head { max-width: 820px; }
.article__meta { font-size: 14px; color: var(--c-muted); margin-top: 12px; }
.article__layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.article__body { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.article__aside { flex: 1 1 280px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; padding-top: 40px; }
.article__thumb img { border-radius: var(--r); }
.toc { padding: 22px; border-radius: var(--r); background: var(--c-soft); font-size: 15px; }
.toc__title { font-weight: 700; color: var(--c-brand-dark); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.toc a { text-decoration: none; }
.aside-cta { padding: 22px; border-radius: var(--r); background: var(--c-brand); color: #dcebd6; }
.aside-cta__title { font-family: var(--f-head); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 6px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1px solid var(--c-line); text-decoration: none; }
.page-numbers.current { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }

/* 7. Thành phần từ plugin Quân Kiên Core ---------------------------------- */
.qk-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; }
.qk-plan { padding: 28px 24px; border-radius: 20px; border: 1px solid #dce6d8; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.qk-plan--featured { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.qk-plan__badge { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--c-lime); color: var(--c-brand-dark); }
.qk-plan__name { font-family: var(--f-body); font-size: 20px; font-weight: 700; margin: 0; color: var(--c-brand-dark); }
.qk-plan--featured .qk-plan__name { color: #fff; }
.qk-plan__target { margin: -6px 0 0; color: var(--c-muted); font-size: 15px; }
.qk-plan--featured .qk-plan__target { color: #dcebd6; }
.qk-plan__price { font-family: var(--f-head); font-weight: 800; font-size: 36px; line-height: 1.1; margin: 0; color: var(--c-brand); }
.qk-plan--featured .qk-plan__price { color: #fff; }
.qk-plan__price span { font-size: 16px; font-weight: 600; }
.qk-plan__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--c-body); }
.qk-plan--featured .qk-plan__items { color: #f0f7ec; }
.qk-plan__items li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--c-line); padding-bottom: 6px; }
.qk-plan--featured .qk-plan__items li { border-color: rgba(255, 255, 255, .2); }
.qk-plan__items li span:last-child { font-weight: 600; white-space: nowrap; }
.qk-plan__bullet { border: 0 !important; padding-left: 22px; position: relative; }
.qk-plan__bullet::before { content: "✓"; position: absolute; left: 0; color: var(--c-lime); font-weight: 700; }
.qk-plan__optional { font-size: 14px; color: var(--c-muted); margin: 0; }
.qk-plan--featured .qk-plan__optional { color: #dcebd6; }
.qk-plan__actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.qk-plan__more { text-align: center; font-size: 15px; font-weight: 600; }
.qk-plan--featured .qk-plan__more { color: #fff; }
.qk-plan__items--bullets { gap: 8px; }
.qk-plan__items--bullets li { justify-content: flex-start; border-bottom: 0; padding-bottom: 0; }
.qk-plan__bullet--no { color: var(--c-muted); }
.qk-plan__bullet--no::before { content: "–"; color: var(--c-line-2); }
.qk-plan--featured .qk-plan__bullet--no { color: #b9cfb3; }
.pricing-note { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.qk-matrix { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.qk-matrix caption { text-align: left; padding: 16px 18px 4px; font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--c-brand-dark); }
.qk-matrix th, .qk-matrix td { padding: 11px 18px; border-top: 1px solid var(--c-line); text-align: left; font-weight: 500; }
.qk-matrix thead th { background: var(--c-brand-dark); color: #fff; font-size: 14px; font-weight: 700; border-top: 0; }
.qk-matrix tfoot th, .qk-matrix tfoot td { background: var(--c-soft-2); font-weight: 800; color: var(--c-brand-dark); border-top: 2px solid var(--c-lime); }
.qk-dash { color: var(--c-line-2); }
.qk-prepay { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: var(--r); background: var(--c-lime-soft); }
.qk-prepay > div { flex: 1 1 420px; }
.qk-prepay__title { font-family: var(--f-body); font-size: 18px; margin: 0 0 4px; }
.qk-prepay p { margin: 0; color: var(--c-body); }
.qk-other td:last-child { color: var(--c-muted); font-size: 15px; }
.qk-ref { display: grid; gap: 20px; }
.qk-ref__rates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.qk-ref__rate { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--c-line); }
.qk-ref__rate:first-child { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.qk-ref__who { font-size: 15px; font-weight: 600; color: var(--c-muted); }
.qk-ref__rate:first-child .qk-ref__who, .qk-ref__rate:first-child .qk-ref__note { color: #dcebd6; }
.qk-ref__amount { font-family: var(--f-head); font-size: 30px; line-height: 1.15; color: var(--c-brand); }
.qk-ref__rate:first-child .qk-ref__amount { color: var(--c-lime); }
.qk-ref__rate--none .qk-ref__amount { color: var(--c-muted); font-size: 22px; }
.qk-ref__note { font-size: 14px; color: var(--c-muted); }
.qk-ref__years { background: #fff; }
.qk-ref__steps { list-style: none; counter-reset: ref; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.qk-ref__steps li { counter-increment: ref; display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 3px solid var(--c-lime); font-size: 15px; color: var(--c-body); }
.qk-ref__steps li::before { content: counter(ref, decimal-leading-zero); font-family: var(--f-head); font-weight: 800; color: var(--c-brand); }
.qk-ref__steps strong { color: var(--c-ink); font-size: 16px; }
.site-footer__slogan { margin: 10px 0 0; font-weight: 600; color: var(--c-lime); }
.qk-fleet { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: var(--r); background: var(--c-soft); }
.qk-fleet__intro { flex: 1 1 280px; }
.qk-fleet__intro p { margin: 0; color: var(--c-muted); font-size: 15px; }
.qk-fleet__title { font-family: var(--f-body); font-size: 18px; margin: 0; }
.qk-fleet__list { flex: 2 1 520px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; text-align: center; }
.qk-fleet__list li { padding: 12px; border-radius: 12px; background: #fff; display: flex; flex-direction: column; }
.qk-fleet__list strong { font-size: 20px; color: var(--c-brand); }
.qk-fleet__list span { font-size: 14px; color: var(--c-muted); }
.qk-table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r); margin-bottom: 1.2em; }
.qk-fee-breakdown { width: 100%; border-collapse: collapse; font-size: 16px; }
.qk-fee-breakdown caption { text-align: left; padding: 14px 18px 0; font-weight: 700; color: var(--c-brand-dark); }
.qk-fee-breakdown th, .qk-fee-breakdown td { padding: 12px 18px; border-top: 1px solid var(--c-line); text-align: left; font-weight: 500; }
.qk-fee-breakdown thead th { border-top: 0; font-size: 14px; color: var(--c-muted); }
.qk-fee-breakdown small { color: var(--c-muted); }
.qk-fee-breakdown tfoot th, .qk-fee-breakdown tfoot td { border-top: 2px solid var(--c-brand); background: var(--c-soft-2); font-weight: 800; color: var(--c-brand-dark); }
.qk-fee-breakdown tfoot strong { font-family: var(--f-head); font-size: 20px; color: var(--c-brand); }
.qk-num { text-align: right !important; white-space: nowrap; }
.qk-optional { list-style: none; margin: 0; padding: 12px 18px; border-top: 1px solid var(--c-line); font-size: 15px; color: var(--c-body); }
.qk-calc { display: flex; flex-wrap: wrap; gap: 24px; padding: 32px; border-radius: 20px; background: var(--c-brand-dark); color: #fff; align-items: center; }
.qk-calc__intro { flex: 1 1 380px; }
.qk-calc__title { color: #fff; font-size: 26px; margin: 0 0 8px; }
.qk-calc__intro p { color: #cfe3c9; }
.qk-calc__options { display: flex; flex-wrap: wrap; gap: 10px; }
.qk-calc__opt { min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.qk-calc__opt[aria-pressed="true"] { background: var(--c-lime); color: var(--c-brand-dark); border-color: var(--c-lime); }
.qk-calc__result { flex: 1 1 380px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.qk-calc__box { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; }
.qk-calc__box span { font-size: 14px; color: #cfe3c9; }
.qk-calc__box strong { font-family: var(--f-head); font-weight: 800; font-size: 24px; }
.qk-calc__box--save { grid-column: 1 / -1; background: var(--c-lime); color: var(--c-brand-dark); }
.qk-calc__box--save span, .qk-calc__box--save small { color: var(--c-brand-dark); }
.qk-calc__box--save strong { font-size: 34px; }
.qk-form { padding: 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; position: relative; }
.qk-form__title { font-size: 22px; margin: 0; }
.qk-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
.qk-field input, .qk-field select, .qk-field textarea { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1.5px solid var(--c-line-2); font: inherit; font-weight: 400; background: #fff; color: var(--c-ink); }
.qk-field input:focus, .qk-field select:focus { border-color: var(--c-brand); outline: 2px solid var(--c-lime); outline-offset: 0; }
.qk-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qk-form__submit { min-height: 52px; font-size: 17px; }
.qk-form__note { font-size: 13px; color: var(--c-muted); text-align: center; margin: 0; }
.qk-form__notice { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; }
.qk-form__notice--ok { background: var(--c-lime-soft); color: #0b4a24; }
.qk-form__notice--error { background: var(--c-warn-bg); color: var(--c-warn); }
.qk-partners { display: flex; flex-direction: column; gap: 24px; }
.qk-partners__group h3 { font-size: 20px; }
.qk-partners__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.qk-partner { padding: 18px; border-radius: 14px; border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.qk-partner__commission { color: var(--c-brand); font-weight: 700; }
.qk-partner__desc, .qk-partner__addr { color: var(--c-muted); }
.qk-empty { padding: 16px; border-radius: 12px; background: var(--c-soft); }

/* 8. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); padding: 16px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 16px; box-shadow: var(--shadow); }
	.site-nav.is-open { display: flex; }
	.no-js .site-nav { display: flex; position: static; box-shadow: none; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
	.site-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.site-header__cta { flex-direction: column; }
	.site-header__cta .btn { width: 100%; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
	body { font-size: 16px; }
	:root { --gutter: 18px; }
	.section { padding: 64px 0; }
	.hero { padding-top: 48px; }
	.banner { padding: 28px; }
	.qk-calc { padding: 24px; }
	.site-logo__tag { display: none; }
	.article__aside { position: static; padding-top: 0; }
	.entry-content { font-size: 17px; }
}
/* 8b. Cụm nút liên hệ nổi ---------------------------------------------------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.fab__toggle { list-style: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--c-brand); color: #fff; cursor: pointer; box-shadow: 0 0 0 5px var(--c-lime-soft), 0 0 0 7px var(--c-brand-dark), 0 14px 30px rgba(11, 61, 30, .28); transition: background .2s, transform .15s var(--ease-out, ease); }
.fab__toggle::-webkit-details-marker { display: none; }
.fab__toggle:hover { background: var(--c-brand-dark); }
.fab__toggle:active { transform: scale(.94); }
.fab__toggle:focus-visible { outline: 3px solid var(--c-lime); outline-offset: 9px; }
.fab__icon { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .2s, transform .3s var(--ease-out, ease); }
.fab__icon--close, .fab[open] .fab__icon--open { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab[open] .fab__icon--close { opacity: 1; transform: none; }
.fab[open] .fab__toggle { background: var(--c-brand-dark); }
.fab__panel { position: absolute; right: 0; bottom: 82px; width: min(300px, calc(100vw - 40px)); margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--c-line); border-radius: 22px; box-shadow: 0 24px 60px rgba(11, 61, 30, .2); transform-origin: calc(100% - 31px) calc(100% + 40px); }
.fab__item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; color: var(--c-ink); text-decoration: none; transition: background .15s; }
.fab__item:hover, .fab__item:focus-visible { background: var(--c-soft); color: var(--c-ink); }
.fab__logo { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; color: #fff; }
.fab__logo--phone { background: linear-gradient(160deg, #6fd06b, #2fa84f); }
.fab__logo--phone svg { fill: #fff; stroke: none; }
.fab__logo--messenger { background: radial-gradient(circle at 25% 100%, #0099ff 0%, #a033ff 60%, #ff5280 90%, #ff7061 100%); }
.fab__text { display: grid; gap: 2px; line-height: 1.25; }
.fab__text strong { font-size: 16px; }
.fab__text span { font-size: 14px; color: var(--c-muted); }
@media (max-width: 782px) {
	.fab { right: 16px; bottom: 16px; }
	.fab__toggle { width: 56px; height: 56px; }
	.fab__panel { bottom: 76px; }
}

/* 9. Chuyển động ---------------------------------------------------------
   Nguyên tắc: nội dung luôn hiện sẵn; lớp .motion (thêm bằng script đầu trang, chỉ khi
   người xem không bật "giảm chuyển động") mới bật trạng thái ban đầu của các hiệu ứng.
   Khoảnh khắc chính: khối Nhắc hạn – tin Zalo "đang soạn" rồi hiện tin nhắc, đội xe lần lượt hiện.
   ------------------------------------------------------------------------- */
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); interpolate-size: allow-keywords; }
::selection { background: var(--c-lime); color: var(--c-brand-dark); }
input, textarea { caret-color: var(--c-brand); }

/* Phản hồi khi bấm */
.btn, .qk-btn, .chip, .qk-calc__opt { transition: background .15s, color .15s, border-color .15s, transform .1s var(--ease-out); }
.btn:active, .qk-btn:active, .chip:active, .qk-calc__opt:active { transform: scale(.97); }
.qk-form__submit[aria-busy="true"] { opacity: .8; cursor: progress; }

/* Cụm liên hệ: bảng bung ra từ nút, từng mục vào lần lượt; nút gợi chú ý một lần */
.motion .fab[open] .fab__panel { animation: qk-pop .32s var(--ease-out) both; }
.motion .fab[open] .fab__panel li { animation: qk-rise .3s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 60ms); }
.motion .fab:not([open]) .fab__toggle { animation: qk-nudge 1.6s var(--ease-out) 4s 2; }
@keyframes qk-pop { from { opacity: 0; transform: scale(.85) translateY(8px); } }
@keyframes qk-rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes qk-nudge {
	0%, 100% { box-shadow: 0 0 0 5px var(--c-lime-soft), 0 0 0 7px var(--c-brand-dark), 0 14px 30px rgba(11, 61, 30, .28); }
	40% { box-shadow: 0 0 0 9px var(--c-lime-soft), 0 0 0 11px var(--c-brand-dark), 0 14px 30px rgba(11, 61, 30, .28); }
}

/* Đầu trang đổ bóng khi đã cuộn qua nội dung */
.site-header { transition: box-shadow .25s var(--ease-out); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(11, 61, 30, .08); }

/* Đầu trang: vệt xanh tô chữ "thu nhập" như vạch sơn đường */
.hero mark { background: linear-gradient(var(--c-lime), var(--c-lime)) no-repeat 0 0 / 100% 100%; }
.motion .hero mark { background-size: 0% 100%; animation: qk-mark .7s var(--ease-out) .35s forwards; }
@keyframes qk-mark { to { background-size: 100% 100%; } }

/* Khoảnh khắc chính: nhắc hạn qua Zalo */
.mock__bubble { position: relative; }
.mock__typing { display: none; position: absolute; left: 18px; top: 16px; gap: 5px; align-items: center; height: 22px; }
.mock__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-brand); animation: qk-dot 1s ease-in-out infinite; }
.mock__typing i:nth-child(2) { animation-delay: .15s; }
.mock__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes qk-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.motion .mock__bubble { opacity: 0; transform: translateY(12px) scale(.96); transform-origin: 0 100%; transition: opacity .3s var(--ease-out), transform .45s var(--ease-out); }
.motion .mock.is-typing .mock__bubble { opacity: 1; transform: none; }
.motion .mock.is-typing:not(.is-done) .mock__typing { display: inline-flex; }
.motion .mock:not(.is-done) .mock__bubble strong, .motion .mock:not(.is-done) .mock__bubble p { visibility: hidden; }
.motion .mock.is-done .mock__bubble strong, .motion .mock.is-done .mock__bubble p { animation: qk-msg .45s var(--ease-out) both; }
@keyframes qk-msg { from { opacity: 0; filter: blur(4px); transform: translateY(4px); } }
.motion .mock__row { opacity: 0; transform: translateX(-12px); }
.motion .mock.is-done .mock__row { opacity: 1; transform: none; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i, 1) * 90ms + 200ms); }
.motion .mock.is-done .tag--warn { animation: qk-ping 1.2s ease-out 1s 2; }
@keyframes qk-ping { 0% { box-shadow: 0 0 0 0 rgba(181, 71, 8, .35); } 100% { box-shadow: 0 0 0 10px rgba(181, 71, 8, 0); } }

/* Quy trình: vạch kẻ đường (như trong logo) chạy qua từng bước */
.steps--road .steps__item { position: relative; overflow: hidden; }
.steps--road .steps__item::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--c-lime) 0 14px, transparent 14px 24px); transform-origin: 0 50%; }
.motion .steps--road .steps__item::after { transform: scaleX(0); }
.motion .steps--road.is-in .steps__item::after { transform: scaleX(1); transition: transform .6s var(--ease-out) calc(var(--i, 0) * 110ms); }
.motion .steps--road .steps__item::before { color: var(--c-line-2); }
.motion .steps--road.is-in .steps__item::before { color: var(--c-lime); transition: color .3s ease-out calc(var(--i, 0) * 110ms + 300ms); }

/* Máy tính chi phí: kết quả nhấn nhẹ khi đổi mức phí */
.qk-calc__box--save.is-bump { animation: qk-bump .35s var(--ease-out); }
@keyframes qk-bump { 40% { transform: scale(1.02); } }

/* Câu hỏi thường gặp: mở/đóng mượt (trình duyệt hỗ trợ), mũi tên xoay theo trạng thái */
.entry-content summary, .faq summary { list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.entry-content summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.entry-content summary::after, .faq summary::after { content: ""; flex: 0 0 10px; height: 10px; margin-top: 7px; border-right: 2px solid var(--c-brand); border-bottom: 2px solid var(--c-brand); transform: rotate(45deg); transition: transform .25s var(--ease-out); }
.entry-content details[open] > summary::after, .faq details[open] > summary::after { transform: translateY(4px) rotate(-135deg); }
.entry-content summary:hover, .faq summary:hover { color: var(--c-brand); }
.entry-content details::details-content, .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .3s var(--ease-out), content-visibility .3s allow-discrete; }
.entry-content details[open]::details-content, .faq details[open]::details-content { block-size: auto; }

/* Menu điện thoại trượt xuống */
@media (max-width: 1080px) {
	.site-nav.is-open { animation: qk-drop .22s var(--ease-out); }
}
@keyframes qk-drop { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
	.btn:active, .qk-btn:active, .chip:active, .qk-calc__opt:active { transform: none; }
	.qk-calc__box--save.is-bump { animation: none; }
	.site-nav.is-open { animation: qk-fade .15s ease-out; }
	.entry-content details::details-content, .faq details::details-content { transition: none; }
	.mock__typing i { animation: none; opacity: .6; }
}
@keyframes qk-fade { from { opacity: 0; } }

@media print {
	.site-header, .fab, .section--contact, .site-footer { display: none; }
}
