/*
 * Trang chi tiết dịch vụ /dich-vu/<slug> — theme 0.2.14. Chỉ nạp ở template page-dich-vu-chi-tiet (inc/dich-vu.php), sau dich-vu.css.
 * Ý: "chi tiết nhưng mắt nhìn vào không thấy quá nhiều chữ cùng lúc" (Sang 27/11).
 *  - dvc-facts : dải con số dưới nút hero        - dvq-*  : quy trình (sơ đồ vòng / cổng duyệt + dòng thời gian gấp mở)
 *  - dvd-*     : "Anh chị nhận được gì"           - dvh-*  : Kai làm / Anh chị làm
 *  - dvt-*     : các loại web (website)           - dvo-*  : dịch vụ khác
 *  - mk-*      : hình minh hoạ dựng bằng HTML/CSS (vạch xám thay chữ, không chữ bịa), luôn có nhãn "Minh hoạ".
 * Chỉ biến --c-* / --r-* của theme. Ngoại lệ: --c-brand-bright #529689 (đồng xanh sáng, CHỈ đồ hoạ trên nền than chì, 09-logo/chot-3c).
 * Chữ: Be Vietnam Pro cho MỌI chữ hiển thị trên trang này (không mono): nhãn chữ hoa letter-spacing .08em.
 * Sàn: 320px. Khổ chuyển: 1020 (2 cột → 1), 820, 600.
 */

.dvc { --c-err: var(--wp--preset--color--err); --c-err-soft: var(--wp--preset--color--err-soft); --c-brand-bright: #529689; }

/* ===== 0. Chữ nhãn: bỏ mono trên trang chi tiết ===== */
.dvc .eyebrow, .dvc .dvk-tag, .dvc .dvc-sum dt { font-family: inherit; letter-spacing: .08em; font-weight: 600; }
.dvc .eyebrow { font-size: 12.5px; }
.dvc .dvk-tag { font-size: 11.5px; }

/* ===== 1. HERO: dải con số + khung tóm tắt có hình ===== */
.dvc-facts { list-style: none; margin: 6px 0 0; padding: 20px 0 0; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; gap: 16px 34px; }
.dvc-facts li { margin: 0; display: flex; align-items: center; gap: 12px; min-width: 0; }
.dvc-facts b { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.035em; color: var(--c-brand-ink); font-variant-numeric: tabular-nums; flex: none; }
.dvc-facts span { font-size: 14px; line-height: 1.35; color: var(--c-muted); max-width: 20ch; }
/* QC 27/11 (D22): câu về tên nền tảng, chữ nhỏ ngay dưới dải số */
.hero-l .dvc-facts__note { margin-top: -10px; font-size: 12.5px; line-height: 1.45; color: var(--c-muted); }

.dvc-sum--v { padding: 0; overflow: hidden; }
.dvc-sum__in { padding: 18px 24px 6px; }
/* Hình "ló" từ đáy khung: align-items safe flex-end ⇒ hình cao hơn khung thì cắt ĐÁY, không cắt đầu (trình duyệt cũ: flex-start) */
.dvc-sum__vis { position: relative; min-height: 250px; padding: 46px 26px 0; display: flex; align-items: flex-start; align-items: safe flex-end; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--c-line); background-color: var(--c-brand-soft); background-image: radial-gradient(color-mix(in srgb, var(--c-brand) 22%, transparent) 1px, transparent 1.3px); background-size: 14px 14px; }
.dvc-sum__vis > :not(.mk-tag) { width: 100%; max-width: 390px; font-size: 12px; }

/* Nhãn "Minh hoạ" trên mọi khung hình dựng */
.mk-tag { position: absolute; top: 12px; left: 14px; z-index: 5; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; color: var(--c-muted); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 1px 9px; }

/* ===== 2. CÁC LOẠI WEB (dvt) ===== */
.dvt { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dvt__it { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dvt__vis { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); border: 1px solid var(--c-line); background: var(--c-paper); overflow: hidden; padding: 22px 20px 0; display: flex; align-items: flex-start; align-items: safe flex-end; margin-bottom: 10px; }
.dvt__vis > .mk { width: 100%; font-size: 10px; border-bottom: 0; border-radius: var(--r-md) var(--r-md) 0 0; }
.dvt__it--app .dvt__vis { background: var(--c-sunk); border-style: dashed; border-color: var(--c-line-2); }
.dvt__it h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.dvt__it p { font-size: 14.5px; color: var(--c-muted); }

/* ===== 3. QUY TRÌNH (dvq): cột trái dính (tiêu đề + sơ đồ), cột phải dòng thời gian ===== */
.dvq-wrap { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: 56px; align-items: start; }
.dvq-side { position: sticky; top: calc(var(--h-header) + 28px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.dvq-side .sec-head { margin-bottom: 0; }
.dvq-main { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.dvq-all { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; min-height: 40px; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--c-line-2); background: var(--c-paper); color: var(--c-ink); cursor: pointer; transition: border-color .15s, background .15s; }
.dvq-all[hidden] { display: none; }
.dvq-all svg { width: 18px; height: 18px; color: var(--c-brand-ink); }
.dvq-all:hover { border-color: var(--c-ink); }
.dvq-all[aria-expanded="true"] { background: var(--c-brand-soft); border-color: var(--c-brand-line); }

.dvq { list-style: none; margin: 0; padding: 0; position: relative; width: 100%; }
/* Đường nối: tâm biểu tượng = 12px (lề hộp) + 1px viền + nửa biểu tượng */
.dvq::before { content: ""; position: absolute; left: 41px; top: 34px; bottom: 34px; border-left: 1.5px dashed var(--c-brand-line); }
.dvq__it { margin: 0; position: relative; }
.dvq__it + .dvq__it { margin-top: 6px; }
.dvq__d { margin-left: -12px; padding-left: 12px; border-radius: var(--r-lg); border: 1px solid transparent; transition: background .2s, box-shadow .25s, border-color .2s; }
.dvq__d[open] { background: var(--c-bg); border-color: var(--c-line); }
.dvq__s { list-style: none; cursor: pointer; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 4px 18px; align-items: start; padding: 12px 16px 12px 0; border-radius: var(--r-lg); -webkit-tap-highlight-color: transparent; }
.dvq__s::-webkit-details-marker { display: none; }
.dvq__s::marker { content: ""; }
.dvq__s:focus-visible { outline-offset: 2px; }
.dvq__ic { width: 58px; height: 58px; border-radius: 50%; background: var(--c-paper); border: 1.5px solid var(--c-brand-line); color: var(--c-brand-ink); display: grid; place-items: center; position: relative; z-index: 1; transition: background .2s, color .2s, border-color .2s, transform .25s cubic-bezier(.2,.7,.2,1); }
.dvq__ic svg { width: 26px; height: 26px; display: block; }
.dvq__s:hover .dvq__ic { border-color: var(--c-brand); }
.dvq__d[open] .dvq__ic { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.dvq__h { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 5px; }
.dvq__k { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brand-ink); font-variant-numeric: tabular-nums; }
.dvq__gate { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; letter-spacing: .06em; padding: 2px 9px; border-radius: var(--r-pill); background: var(--c-wait-soft); color: var(--c-wait); }
.dvq__gate::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dvq__t { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.012em; color: var(--c-ink); margin: 0; transition: color .15s; }
.dvq__s:hover .dvq__t { color: var(--c-brand-ink); }
.dvq__p { font-size: 15px; line-height: 1.5; color: var(--c-muted); }
.dvq__more { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--c-brand-ink); padding: 7px 10px 7px 13px; border: 1px solid var(--c-brand-line); border-radius: var(--r-pill); background: var(--c-paper); white-space: nowrap; transition: background .15s, border-color .15s; }
.dvq__more svg { width: 14px; height: 14px; transition: transform .25s; }
.dvq__s:hover .dvq__more { border-color: var(--c-brand); }
.dvq__more-o { display: none; }
.dvq__d[open] .dvq__more-o { display: inline; }
.dvq__d[open] .dvq__more-c { display: none; }
.dvq__d[open] .dvq__more svg { transform: rotate(180deg); }
.dvq__body { padding: 2px 24px 22px 76px; }
.dvq__d[open] .dvq__body { animation: dvq-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes dvq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dvq__lb { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); padding-top: 14px; border-top: 1px solid var(--c-line); }
.dvq__jobs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 26px; }
.dvq__jobs li { margin: 0; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 9px; font-size: 15px; line-height: 1.45; color: var(--c-ink-soft); }
.dvq__jobs li::before { content: ""; width: 9px; height: 5px; border-left: 1.8px solid var(--c-brand); border-bottom: 1.8px solid var(--c-brand); transform: rotate(-45deg); margin-top: 7px; }
.dvq__who { margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.dvq__who > div { min-width: 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--c-paper); border: 1px solid var(--c-line); }
.dvq__who > .is-you { background: var(--c-brand-soft); border-color: var(--c-brand-line); }
.dvq__who dt { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.dvq__who dt svg { width: 16px; height: 16px; flex: none; color: var(--c-brand-ink); }
.dvq__who .is-you dt { color: var(--c-brand-ink); }
.dvq__who dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--c-ink); }

/* Sơ đồ vòng (dịch vụ tháng) */
.dvq-loop { margin: 0; max-width: 340px; width: 100%; color: var(--c-brand); }
.dvq-loop svg { display: block; width: 100%; height: auto; overflow: visible; }
.dvq-loop__ring { fill: none; stroke: var(--c-line-2); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
.dvq-loop__arc { fill: none; stroke: var(--c-brand); stroke-width: 2.2; stroke-linecap: round; }
.dvq-loop__core circle { fill: var(--c-brand-deep); }
.dvq-loop__core text { fill: var(--c-on-brand); font-family: inherit; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.dvq-loop__node > circle:first-child { fill: var(--c-paper); stroke: var(--c-brand-line); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.dvq-loop__ic { color: var(--c-brand-ink); transition: color .25s; }
.dvq-loop__badge { fill: var(--c-brand-deep); }
.dvq-loop__node text { fill: var(--c-on-brand); font-family: inherit; font-size: 13px; font-weight: 700; }
.dvq-loop__node.is-on > circle:first-child { fill: var(--c-brand); stroke: var(--c-brand); }
.dvq-loop__node.is-on .dvq-loop__ic { color: var(--c-on-brand); }

/* Cổng duyệt (website) */
.dvq-gates { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.dvq-gates__n { display: flex; align-items: center; gap: 12px; }
.dvq-gates__n b { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--c-brand-ink); }
.dvq-gates__n span { font-size: 15px; font-weight: 600; line-height: 1.3; max-width: 12ch; }
.dvq-gates ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dvq-gates li { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--c-ink); background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 8px 12px; }
.dvq-gates__k { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--c-wait); background: var(--c-wait-soft); border-radius: var(--r-xs); padding: 2px 7px; font-variant-numeric: tabular-nums; }
.dvq-gates__note { font-size: 13.5px; color: var(--c-muted); }
.dvq__it--gate .dvq__ic { border-color: var(--c-wait); border-width: 2px; }

/* ===== 4. ANH CHỊ NHẬN ĐƯỢC GÌ (dvd) ===== */
/* Thẻ lớn nền than chì: chữ trái, ảnh app phải */
.dvd-feat { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: center; background: var(--c-brand-deep); color: var(--c-on-brand); border-radius: var(--r-xl); padding: 44px 44px 40px; }
.dvd-feat::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, color-mix(in srgb, var(--c-on-deep-muted) 12%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--c-on-deep-muted) 12%, transparent) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 40%, black 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 85% 40%, black 10%, transparent 70%); }
.dvd-feat > * { position: relative; min-width: 0; }
.dvd-feat :focus-visible { outline-color: var(--c-on-brand); }
.dvd-feat__t { display: flex; flex-direction: column; gap: 12px; }
.dvd-feat .eyebrow { color: var(--c-on-deep-muted); }
.dvd-feat h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.22; font-weight: 700; color: var(--c-on-brand); }
.dvd-feat__t p:not(.eyebrow) { font-size: 16px; color: var(--c-on-deep-muted); max-width: 44ch; }
.dvd-feat__pts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dvd-feat__pts li { margin: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; padding: 6px 12px 6px 10px; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--c-on-deep-muted) 32%, transparent); color: var(--c-on-brand); }
.dvd-feat__pts li::before { content: ""; width: 8px; height: 4.5px; border-left: 1.8px solid var(--c-brand-bright); border-bottom: 1.8px solid var(--c-brand-bright); transform: rotate(-45deg) translateY(-1px); }
.dvc-lk--on { color: var(--c-on-brand); }
.dvd-feat__stage { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
.dvd-feat__pdf, .dvd-feat__phone { grid-area: 1 / 1; }
.dvd-feat__pdf { position: relative; justify-self: start; align-self: start; width: 80%; background: var(--c-paper); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 60px -28px color-mix(in srgb, black 70%, transparent); transform: rotate(-2deg); transform-origin: 30% 60%; }
.dvd-feat__pdf img { display: block; width: 100%; height: auto; }
.dvd-feat__tag { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 3px 9px; border-radius: var(--r-xs); background: var(--c-brand); color: var(--c-on-brand); }
.dvd-feat__phone { justify-self: end; align-self: end; margin-top: 64px; width: 34%; max-width: 210px; aspect-ratio: 375 / 650; border: 7px solid var(--c-ink); border-radius: 28px; overflow: hidden; background: var(--c-paper); box-shadow: 0 30px 60px -24px color-mix(in srgb, black 75%, transparent); z-index: 1; }
.dvd-feat__phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dvd-feat__stage figcaption { grid-row: 2; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--c-on-deep-muted); max-width: 60ch; }
.dvd-feat__stage--mk { position: relative; padding: 46px 22px 0; border-radius: var(--r-lg); background: color-mix(in srgb, var(--c-on-brand) 7%, transparent); min-height: 260px; display: flex; align-items: flex-start; align-items: safe flex-end; overflow: hidden; }
.dvd-feat__stage--mk > :not(.mk-tag) { width: 100%; max-width: 560px; margin-inline: auto; font-size: 12.5px; }
.dvd-feat__stage--mk > .mk { border-bottom: 0; border-radius: var(--r-md) var(--r-md) 0 0; }

/* Lưới thẻ bàn giao có hình */
.dvd-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.dvd-card { margin: 0; min-width: 0; display: flex; flex-direction: column; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-xl); overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.dvd-card:hover { border-color: var(--c-brand-line); box-shadow: 0 24px 44px -30px color-mix(in srgb, var(--c-ink) 45%, transparent); }
.dvd-card__vis { position: relative; aspect-ratio: 4 / 3; padding: 44px 20px 0; display: flex; align-items: flex-start; align-items: safe flex-end; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--c-line); background-image: radial-gradient(color-mix(in srgb, var(--c-brand) 18%, transparent) 1px, transparent 1.3px); background-size: 14px 14px; }
.dvd-card--1 .dvd-card__vis { background-color: var(--c-brand-soft); }
.dvd-card--2 .dvd-card__vis { background-color: var(--c-sunk); }
.dvd-card--3 .dvd-card__vis { background-color: color-mix(in srgb, var(--c-brand-soft) 55%, var(--c-paper)); }
.dvd-card--4 .dvd-card__vis { background-color: var(--c-bg); }
.dvd-card__vis > :not(.mk-tag) { width: 100%; font-size: 10.5px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.dvd-card__vis > .mk { border-bottom: 0; border-radius: var(--r-md) var(--r-md) 0 0; }
@media (prefers-reduced-motion: no-preference) { .dvd-card:hover .dvd-card__vis > :not(.mk-tag) { transform: translateY(-6px); } }
.dvd-card__t { padding: 18px 20px 0; font-size: 17px; line-height: 1.3; font-weight: 700; }
.dvd-card__p { padding: 6px 20px 20px; font-size: 14.5px; line-height: 1.5; color: var(--c-muted); }

/* ===== 5. KAI LÀM / ANH CHỊ LÀM (dvh) ===== */
.dvh { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.dvh__col { min-width: 0; border-radius: var(--r-xl); padding: 30px 32px 32px; }
.dvh__col h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; line-height: 1.25; font-weight: 700; margin-bottom: 20px; }
.dvh__ic { width: 40px; height: 40px; border-radius: var(--r-base); display: grid; place-items: center; flex: none; }
.dvh__ic svg { width: 22px; height: 22px; }
.dvh__col ul { list-style: none; margin: 0; padding: 0; }
.dvh__kai { background: var(--c-brand-deep); color: var(--c-on-brand); }
.dvh__kai h3 { color: var(--c-on-brand); }
.dvh__kai .dvh__ic { background: color-mix(in srgb, var(--c-on-brand) 10%, transparent); color: var(--c-on-brand); }
.dvh__kai ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.dvh__kai li { margin: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--c-on-deep-muted) 22%, transparent); font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.dvh__kai li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--c-brand-bright); }
.dvh__you { background: var(--c-brand-soft); border: 1px solid var(--c-brand-line); }
.dvh__you .dvh__ic { background: var(--c-paper); color: var(--c-brand-ink); }
.dvh__you ul { display: flex; flex-direction: column; gap: 10px; }
.dvh__you li { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--c-ink); background: var(--c-paper); border: 1px solid var(--c-brand-line); border-radius: var(--r-md); padding: 10px 14px 10px 10px; }
.dvh__li-ic { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--c-brand-soft); color: var(--c-brand-ink); display: grid; place-items: center; flex: none; }
.dvh__li-ic svg { width: 19px; height: 19px; }

/* ===== 6. PHÙ HỢP (hai thẻ cạnh nhau) ===== */
.dvc-fit--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dvc-fit--row .dvc-fit__c { padding: 24px 26px; }
.dvc-fit--row .dvc-fit__c--ok { border-top: 3px solid var(--c-ok); }
.dvc-fit--row .dvc-fit__c--no { border-top: 3px solid var(--c-err); }

/* ===== 7. DỊCH VỤ KHÁC (dvo) ===== */
.dvo-w { padding-top: 8px; }
.dvo-h { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 14px; }
.dvo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dvo li { margin: 0; min-width: 0; }
.dvo a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; align-items: center; height: 100%; padding: 14px 16px 14px 14px; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-lg); text-decoration: none; color: var(--c-ink); transition: border-color .15s, background .15s; }
.dvo a:hover { border-color: var(--c-brand); }
.dvo a > svg { width: 18px; height: 18px; color: var(--c-brand-ink); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: no-preference) { .dvo a:hover > svg, .dvo a:focus-visible > svg { transform: translateX(4px); } }
.dvo__ic { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--c-brand-soft); color: var(--c-brand-ink); display: grid; place-items: center; }
.dvo__ic svg { width: 22px; height: 22px; }
.dvo__t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dvo__t b { font-size: 15px; line-height: 1.3; font-weight: 700; }
.dvo__t span { font-size: 13px; color: var(--c-muted); }

/* ==========================================================================
 * 8. HÌNH MINH HOẠ (mk-*). Kích thước theo em ⇒ đổi font-size của khung là phóng to/thu nhỏ cả hình.
 * Vạch xám (.mk-l) thay chữ: không có tên khách, số liệu hay câu trả lời bịa. Chữ thật chỉ là nhãn giao diện.
 * ========================================================================== */
.mk { position: relative; background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: 0 1px 2px color-mix(in srgb, var(--c-ink) 6%, transparent), 0 18px 34px -22px color-mix(in srgb, var(--c-ink) 32%, transparent); font-size: 11px; line-height: 1.35; color: var(--c-ink); text-align: left; overflow: hidden; user-select: none; }
.mk-bar { display: flex; align-items: center; gap: .45em; height: 2.3em; padding: 0 .9em; background: var(--c-sunk); border-bottom: 1px solid var(--c-line); font-size: .92em; font-weight: 600; color: var(--c-muted); white-space: nowrap; overflow: hidden; }
.mk-bar i { width: .6em; height: .6em; border-radius: 50%; background: var(--c-line-2); flex: none; }
.mk-bar span { margin-left: .5em; overflow: hidden; text-overflow: ellipsis; }
.mk-b { padding: 1em 1.1em 1.1em; display: flex; flex-direction: column; gap: .6em; }
.mk-b--rows { gap: 0; padding-top: .35em; padding-bottom: .5em; }
.mk-l { display: block; height: .62em; width: var(--w, 100%); max-width: 100%; border-radius: 99px; background: var(--c-line); flex: none; }
.mk-l--d { background: var(--c-line-2); }
.mk-l--b { background: var(--c-brand-line); }
.mk-l--h { height: 1em; background: var(--c-line-2); }
.mk-l--w { background: color-mix(in srgb, var(--c-on-brand) 55%, transparent); }
.mk-chip { display: inline-flex; align-items: center; gap: .35em; padding: .22em .7em; border-radius: 99px; font-size: .9em; font-weight: 600; line-height: 1.35; white-space: nowrap; background: var(--c-sunk); color: var(--c-ink-soft); flex: none; align-self: flex-start; }
.mk-row .mk-chip, .mk-foot .mk-chip, .mk-ad__h .mk-chip { align-self: center; }
.mk-chip--ok { background: var(--c-ok-soft); color: var(--c-ok); }
.mk-chip--wait { background: var(--c-wait-soft); color: var(--c-wait); }
.mk-chip--err { background: var(--c-err-soft); color: var(--c-err); }
.mk-chip--idle { background: var(--c-idle-soft); color: var(--c-idle); }
.mk-chip--brand { background: var(--c-brand-soft); color: var(--c-brand-ink); }
.mk-flip { animation: mk-pop .45s cubic-bezier(.2,.7,.2,1); }
@keyframes mk-pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: none; } }
.mk-row { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding: .62em 0; border-top: 1px solid var(--c-line); min-width: 0; }
.mk-row:first-child { border-top: 0; }
.mk-k { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mk-sq { width: 1.35em; height: 1.35em; border-radius: .35em; background: var(--c-brand-soft); border: 1px solid var(--c-brand-line); flex: none; }
.mk-fi { width: 1.15em; height: 1.4em; flex: none; border: 1.5px solid var(--c-line-2); border-radius: .22em; background: linear-gradient(var(--c-line-2), var(--c-line-2)) 50% 42% / 55% 1.5px no-repeat, linear-gradient(var(--c-line-2), var(--c-line-2)) 50% 66% / 55% 1.5px no-repeat, var(--c-paper); }
.mk-grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4em; }
.mk-doc { display: flex; align-items: center; gap: .7em; flex: 1; min-width: 0; }
.mk-meta { font-size: .88em; color: var(--c-muted); white-space: nowrap; }
.mk-foot { display: flex; align-items: center; justify-content: space-between; gap: .6em; margin-top: .2em; padding-top: .7em; border-top: 1px dashed var(--c-line-2); }
.mk-ok { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--c-ok-soft); color: var(--c-ok); display: grid; place-items: center; flex: none; }
.mk-ok svg { width: 1em; height: 1em; display: block; }
.mk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.2em; min-width: 4.6em; padding: 0 .9em; border-radius: .45em; background: var(--c-brand); color: var(--c-on-brand); font-size: .92em; font-weight: 600; white-space: nowrap; flex: none; }
.mk-btn--full { width: 100%; margin-top: .3em; }
.mk-btn--w { background: var(--c-on-brand); min-width: 4.2em; min-height: 1.9em; }

/* Hỏi AI (khung chat) */
.mk-q { align-self: flex-end; width: 68%; display: flex; flex-direction: column; gap: .4em; padding: .7em .8em; background: var(--c-sunk); border-radius: 1em 1em .3em 1em; }
.mk-a { display: flex; flex-direction: column; gap: .45em; }
.mk-hl { display: block; padding: .38em .5em; margin-inline: -.5em; background: var(--c-brand-soft); border-left: 2px solid var(--c-brand); border-radius: 0 .3em .3em 0; }
.mk-duo { position: relative; height: 19em; }
.mk-duo__a { position: absolute; left: 0; top: 0; width: 78%; }
.mk-duo__b { position: absolute; right: 0; top: 4.2em; width: 78%; z-index: 1; }
.mk-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7em; }
.mk-cmp > div { display: flex; flex-direction: column; gap: .45em; padding: .7em; border: 1px solid var(--c-line); border-radius: .5em; background: var(--c-bg); min-width: 0; }
.mk-cmp__h { font-size: .9em; font-weight: 700; color: var(--c-ink); }

/* Trang có ghim nhãn (SEO) */
.mk-pg .mk-b { gap: .55em; }
.mk-pin { display: flex; align-items: center; gap: .7em; }
.mk-pin__t { flex: none; width: 6.6em; font-size: .85em; font-weight: 600; color: var(--c-brand-ink); background: var(--c-brand-soft); border: 1px dashed var(--c-brand-line); border-radius: .3em; padding: .15em .45em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-links { display: flex; gap: .4em; }
.mk-links i { width: 3.4em; height: 1em; border-radius: 99px; border: 1.5px solid var(--c-brand-line); }
.mk-tt { display: block; margin-top: .25em; font-size: 1.25em; font-weight: 700; line-height: 1.25; color: var(--c-ink); }
.mk-url { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; }
.mk-url > span { font-size: .92em; padding: .2em .55em; border-radius: .35em; background: var(--c-sunk); color: var(--c-ink-soft); }
.mk-url > span:last-child { background: var(--c-brand-soft); color: var(--c-brand-ink); }
.mk-url svg { width: 1.2em; height: 1.2em; color: var(--c-muted); }
.mk-srcbox { padding: .2em .8em .3em; border: 1.5px solid var(--c-brand-line); border-radius: .6em; background: var(--c-brand-soft); }
.mk-srcbox__t { display: block; padding: .4em 0 .2em; font-size: .9em; font-weight: 700; color: var(--c-brand-ink); }
.mk-src .mk-row { border-color: var(--c-brand-line); padding: .5em 0; }
.mk-src .mk-k { width: 5.6em; flex: none; }
.mk-srcout { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; padding-top: 1.1em; }
.mk-srcout::before { content: ""; position: absolute; top: 0; left: 16%; right: 16%; height: 1.1em; border: 1.5px solid var(--c-brand-line); border-bottom: 0; border-radius: .4em .4em 0 0; }
.mk-srcout > span { display: flex; align-items: center; justify-content: center; gap: .35em; min-width: 0; padding: .45em .3em; font-size: .88em; font-weight: 600; white-space: nowrap; overflow: hidden; border: 1px solid var(--c-line); border-radius: .45em; background: var(--c-paper); }
.mk-srcout .mk-ok { width: 1.3em; height: 1.3em; }

/* Lịch nội dung */
.mk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3em; }
.mk-cal b { font-size: .78em; font-weight: 600; color: var(--c-muted); text-align: center; }
.mk-cal span { aspect-ratio: 1; display: flex; align-items: flex-end; padding: .22em; border-radius: .35em; background: var(--c-bg); border: 1px solid var(--c-line); }
.mk-cal span i { display: block; width: 100%; height: .5em; border-radius: 99px; }
.mk-leg { display: flex; flex-wrap: wrap; gap: .35em .9em; margin-top: .3em; font-size: .85em; color: var(--c-ink-soft); }
.mk-leg span { display: inline-flex; align-items: center; gap: .35em; }
.mk-leg i { width: .95em; height: .55em; border-radius: 99px; }
.mk .e1 { background: var(--c-brand); }
.mk .e2 { background: var(--c-brand-deep); }
.mk .e3 { background: color-mix(in srgb, var(--c-brand) 45%, var(--c-paper)); }
.mk .e4 { background: var(--c-muted); }

/* Ảnh giả trong bài */
.mk-img { aspect-ratio: 16 / 6; background: var(--c-brand-soft); overflow: hidden; }
.mk-img svg { display: block; width: 100%; height: 100%; }
.mk-img svg path { fill: color-mix(in srgb, var(--c-brand) 32%, var(--c-brand-soft)); }
.mk-img svg circle { fill: var(--c-paper); }
.mk-img--s { aspect-ratio: 16 / 7; margin: 0 .9em .7em; border-radius: .4em; }
.mk-img--ad { aspect-ratio: 16 / 7; background: var(--c-brand-deep); }
.mk-img--ad svg circle { fill: var(--c-brand); }
.mk-img--ad svg rect { fill: color-mix(in srgb, var(--c-on-brand) 16%, transparent); }
.mk-av { width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--c-brand-line); flex: none; }

/* Bài mạng xã hội xếp chồng */
.mk-stack { position: relative; height: 19em; }
.mk-tile { position: absolute; width: 56%; }
.mk-tile__h { display: flex; align-items: center; gap: .5em; padding: .8em .9em 0; font-size: .95em; font-weight: 700; }
.mk-tile .mk-b { padding: .6em .9em .5em; }
.mk-tile__f { padding: 0 .9em .8em; }
.mk-tile--1 { left: 0; top: 2.4em; transform: rotate(-4deg); }
.mk-tile--2 { left: 22%; top: 0; z-index: 2; }
.mk-tile--3 { right: 0; top: 2.8em; transform: rotate(4deg); z-index: 1; }

/* Kịch bản video */
.mk-sb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.mk-sb__f { display: flex; flex-direction: column; gap: .4em; min-width: 0; }
.mk-sb__p { position: relative; aspect-ratio: 9 / 13; border-radius: .5em; background: var(--c-brand-deep); }
.mk-sb__p i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: .9em solid var(--c-on-brand); border-top: .55em solid transparent; border-bottom: .55em solid transparent; transform: translate(-35%, -50%); opacity: .85; }
.mk-sb__n { font-size: .88em; font-weight: 700; }

/* Biểu đồ chiến dịch (không số) */
.mk-chart { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; height: 9.5em; padding: 0 .4em; border-bottom: 1px solid var(--c-line-2); background: repeating-linear-gradient(to top, transparent 0 2.2em, var(--c-line) 2.2em calc(2.2em + 1px)); }
.mk-chart__g { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .3em; min-width: 0; }
.mk-chart__bars { display: flex; align-items: flex-end; justify-content: center; gap: .3em; width: 100%; height: calc(100% - 1.6em); }
.mk-chart__bars span { width: 32%; height: var(--h); background: var(--c-brand); border-radius: .25em .25em 0 0; }
.mk-chart__bars .is-2 { background: var(--c-brand-line); }
.mk-chart em { font-style: normal; font-size: .85em; font-weight: 700; color: var(--c-muted); }

/* Dòng thời gian thay đổi */
.mk-tl { gap: 0; }
.mk-tl__i { position: relative; display: grid; grid-template-columns: 1.1em minmax(0, 1fr); gap: .7em; padding-bottom: .9em; }
.mk-tl__i::before { content: ""; position: absolute; left: .37em; top: 1em; bottom: 0; border-left: 1.5px dashed var(--c-brand-line); }
.mk-tl__i:last-child { padding-bottom: 0; }
.mk-tl__i:last-child::before { display: none; }
.mk-tl__i > i { position: relative; z-index: 1; width: .8em; height: .8em; margin-top: .35em; border-radius: 50%; background: var(--c-paper); border: 2px solid var(--c-brand); }
.mk-tl__i > div { display: flex; flex-direction: column; align-items: flex-start; gap: .4em; min-width: 0; }

/* Mẫu quảng cáo */
.mk-ad__h { display: flex; align-items: center; gap: .6em; padding: .9em 1em .2em; }
.mk-ad .mk-b { padding: .6em 1em .8em; }
.mk-ad__f { display: flex; align-items: center; gap: .8em; padding: .8em 1em; }

/* Điện thoại (trang đích) */
.mk-phone { position: relative; height: 19em; display: flex; justify-content: center; }
.mk-phone__s { width: 13em; max-width: 72%; height: 100%; background: var(--c-paper); border: .55em solid var(--c-ink); border-bottom: 0; border-radius: 1.8em 1.8em 0 0; overflow: hidden; box-shadow: 0 18px 34px -22px color-mix(in srgb, var(--c-ink) 40%, transparent); }
.mk-phone__s .mk-b { padding: .9em; }
.mk-phone__chip { position: absolute; left: 0; top: 2.2em; z-index: 2; box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--c-ink) 40%, transparent); }

/* Khối hero / cột trong khung web */
.mk-hero { display: flex; align-items: center; gap: 1em; min-height: 5.4em; padding: 1em 1.2em; background: var(--c-brand-deep); }
.mk-hero .mk-grow { gap: .5em; }
.mk-hero--s { min-height: 4.4em; padding: 0; background: linear-gradient(135deg, var(--c-brand-deep), color-mix(in srgb, var(--c-brand) 60%, var(--c-brand-deep))); }
.mk-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.mk-cols span { height: 3.6em; border-radius: .4em; background: var(--c-bg); border: 1px solid var(--c-line); }
.mk-gd { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: 1em; }
.mk-gd::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--c-brand-line); }
.mk-gd i { position: relative; width: .8em; height: .8em; border-radius: 50%; background: var(--c-brand); }
.mk-gd i.g { width: 1.3em; height: 1.3em; background: var(--c-paper); border: 2.5px solid var(--c-wait); }
.mk-gd__l { display: flex; justify-content: space-between; margin-top: .35em; font-size: .82em; font-weight: 600; color: var(--c-muted); }
.mk-gd__l span:nth-child(2) { color: var(--c-wait); }

/* Bản mẫu: máy tính + điện thoại */
.mk-dev { position: relative; height: 18em; }
.mk-dev__d { position: absolute; left: 0; top: 0; width: 84%; }
.mk-dev__m { position: absolute; right: 0; top: 3.4em; width: 30%; border: .35em solid var(--c-ink); border-radius: 1em; z-index: 2; }
.mk-dev__m .mk-b { padding: .6em; gap: .4em; }
.mk-dev__chip { position: absolute; left: .8em; top: 12.6em; z-index: 3; box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--c-ink) 40%, transparent); }

/* Buổi hướng dẫn: màn quản trị */
.mk-hd__b { position: relative; display: grid; grid-template-columns: 28% minmax(0, 1fr); min-height: 9.5em; }
.mk-hd__side { display: flex; flex-direction: column; gap: .6em; padding: .9em .7em; background: var(--c-brand-deep); }
.mk-hd__side .mk-l { background: color-mix(in srgb, var(--c-on-brand) 30%, transparent); }
.mk-hd__main { display: flex; flex-direction: column; align-items: flex-start; gap: .5em; padding: .9em; min-width: 0; }
.mk-hd__main .mk-btn { margin-top: .3em; }
.mk-cursor { position: absolute; left: 50%; top: 74%; width: 1.7em; height: 1.7em; fill: var(--c-ink); stroke: var(--c-paper); stroke-width: 1; }

/* Khung web các loại */
.mk-art { display: flex; align-items: center; gap: .7em; padding: .45em 0; border-top: 1px solid var(--c-line); }
.mk-th { width: 3.2em; height: 2.4em; border-radius: .35em; background: var(--c-brand-soft); flex: none; }
.mk-prod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.mk-prod span { display: flex; flex-direction: column; gap: .35em; min-width: 0; }
.mk-prod span i { aspect-ratio: 1; border-radius: .4em; background: var(--c-brand-soft); }
.mk-app__b { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); min-height: 9.5em; }
.mk-app__side { display: flex; flex-direction: column; align-items: center; gap: .7em; padding-top: .9em; background: var(--c-brand-deep); }
.mk-app__side i { width: 1.1em; height: 1.1em; border-radius: .3em; background: color-mix(in srgb, var(--c-on-brand) 28%, transparent); }
.mk-app__side i:first-child { background: var(--c-brand); }
.mk-app__main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .7em; padding: .8em; }
.mk-app__cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25em; align-content: start; }
.mk-app__cal i { aspect-ratio: 1; border-radius: .2em; background: var(--c-bg); border: 1px solid var(--c-line); }
.mk-app__cal i.on { background: var(--c-brand); border-color: var(--c-brand); }
.mk-app__form { display: flex; flex-direction: column; gap: .45em; }
.mk-app__form span:not(.mk-btn) { height: 1.6em; border-radius: .35em; border: 1px solid var(--c-line-2); background: var(--c-paper); }
.mk-app__form .mk-btn { min-height: 1.7em; min-width: 0; }

/* Báo cáo (hình thay khi chưa có ảnh app) */
.mk-prog { display: flex; flex-direction: column; gap: .35em; padding-top: .3em; }
.mk-pbar { display: block; height: .6em; border-radius: 99px; background: var(--c-sunk); overflow: hidden; }
.mk-pbar span { display: block; width: var(--p); height: 100%; background: var(--c-brand); }

/* ===== 9. KHỔ HẸP ===== */
@media (max-width: 1020px) {
	.dvq-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.dvq-side { position: static; }
	.dvq-loop { max-width: 260px; }
	.dvd-feat { grid-template-columns: minmax(0, 1fr); padding: 34px 30px 30px; }
	.dvh { grid-template-columns: minmax(0, 1fr); }
	.dvt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dvo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dvc-sum__vis > :not(.mk-tag) { max-width: 420px; }
}
@media (max-width: 820px) {
	.dvq__jobs, .dvq__who { grid-template-columns: minmax(0, 1fr); }
	.dvc-fit--row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.dvc-facts { gap: 14px 22px; }
	.dvc-facts b { font-size: 32px; }
	.dvc-facts span { font-size: 13.5px; }
	.dvc-sum__in { padding: 14px 18px 4px; }
	.dvc-sum__vis { min-height: 0; padding: 44px 16px 0; }
	.dvc-sum__vis > :not(.mk-tag) { font-size: 10.5px; }
	.dvt { grid-template-columns: minmax(0, 1fr); }
	.dvq::before { left: 34px; top: 28px; bottom: 28px; }
	.dvq__s { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 14px; padding: 12px 12px 12px 0; }
	.dvq__ic { width: 44px; height: 44px; }
	.dvq__ic svg { width: 22px; height: 22px; }
	.dvq__t { font-size: 18px; }
	.dvq__p { font-size: 14.5px; }
	.dvq__more { grid-column: 2; justify-self: start; padding: 5px 9px 5px 12px; font-size: 13px; }
	.dvq__body { padding: 0 14px 16px 0; }
	.dvq-gates__n b { font-size: 40px; }
	.dvd-feat { padding: 28px 18px 22px; border-radius: var(--r-lg); }
	.dvd-feat__pdf { width: 90%; }
	.dvd-feat__phone { width: 40%; margin-top: 52px; border-width: 5px; border-radius: 20px; }
	.dvd-feat__stage--mk { min-height: 0; padding: 44px 14px 0; }
	.dvd-feat__stage--mk > :not(.mk-tag) { font-size: 10.5px; }
	.dvd-card__vis { padding: 42px 16px 0; }
	.dvh__col { padding: 24px 18px 22px; border-radius: var(--r-lg); }
	.dvh__kai ul { grid-template-columns: minmax(0, 1fr); }
	.dvo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
	.dvc-facts b { font-size: 28px; }
	.dvq__s { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 12px; }
	.dvq::before { left: 32px; }
	.dvq__ic { width: 40px; height: 40px; }
	.dvd-card__vis > :not(.mk-tag) { font-size: 9.5px; }
}

/* In: JS mở hết các bước trước khi in (beforeprint) */
@media print {
	.dvq-all, .dvq__more { display: none; }
	.dvq-side { position: static; }
}
