/* ============================================================
   Thiết kế website (/thiet-ke-website) — style riêng của trang.
   Tách khỏi <style> inline trong blade (theo pattern crm/erp/saas).
   Nạp bằng @push('styles') + ?v=filemtime.

   Quy ước:
   - Glass: alpha .55–.74, blur 16–20px, saturate 155–160%, có @supports fallback.
   - COLOR LOCK: 1 accent duy nhất = var(--site-primary…).
     Đỏ commerce #e31d22 / #ed1c24 CHỈ dùng cho giá & badge giảm giá.
   - Motion: chỉ transform/opacity, gate .wd-anim, tôn trọng prefers-reduced-motion.
   ============================================================ */

.wd-page {
    --wd-ink: #0f172b;
    --wd-ink-soft: #475569;
    --wd-ink-mute: #64748b;
    --wd-hairline: rgba(15, 23, 43, 0.08);
    --wd-price: #e31d22;

    --wd-glass-bg: rgba(255, 255, 255, 0.58);
    --wd-glass-brd: rgba(255, 255, 255, 0.75);
    --wd-glass-shadow: 0 8px 24px rgba(15, 23, 43, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
    --wd-glass-shadow-lg: 0 22px 50px rgba(15, 23, 43, 0.10), 0 3px 8px rgba(15, 23, 43, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.95);

    color: var(--wd-ink);
    overflow-x: clip;
}

/* Fallback: trình duyệt không hỗ trợ backdrop-filter → nền gần đặc */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .wd-trust__pill,
    .wd-bento__cell,
    .wd-step,
    .wd-shot,
    .wd-member,
    .wd-metric,
    .wd-results-band,
    .wd-rating-card,
    .wd-expert,
    .wd-cta-card {
        background: rgba(255, 255, 255, 0.93);
    }
}

/* ===== Nhịp section + wash nền (fade về trắng ở 2 mép) ===== */
.wd-section {
    position: relative;
    padding: 76px 0;
}


.wd-soft {
    background:
        linear-gradient(180deg,
            rgba(var(--site-primary-rgb), 0) 0,
            rgba(var(--site-primary-rgb), 0.045) 130px,
            rgba(var(--site-primary-rgb), 0.045) calc(100% - 130px),
            rgba(var(--site-primary-rgb), 0) 100%),
        #ffffff;
}

/* ===== Typo section ===== */
.wd-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(var(--site-primary-rgb), 0.08);
    border: 1px solid rgba(var(--site-primary-rgb), 0.16);
    color: var(--site-primary, #dc2626);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.wd-eyebrow--solid {
    background: var(--site-primary, #dc2626);
    border-color: var(--site-primary, #dc2626);
    color: #fff;
}

.wd-title {
    margin: 16px 0 0;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.018em;
    text-wrap: balance;
}

.wd-lead {
    margin: 14px 0 0;
    max-width: 62ch;
    color: var(--wd-ink-soft);
    font-size: 15.5px;
    line-height: 1.75;
    text-wrap: pretty;
}

.wd-head {
    max-width: 700px;
    margin-bottom: 40px;
}

.wd-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.wd-head--center .wd-lead { margin-left: auto; margin-right: auto; }

/* ===== Nút ===== */
.wd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

.wd-btn--primary {
    background: var(--site-primary, #dc2626);
    border-color: var(--site-primary, #dc2626);
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--site-primary-rgb), 0.26);
}

.wd-btn--primary:hover {
    background: var(--site-primary-dark, #b91c1c);
    border-color: var(--site-primary-dark, #b91c1c);
    color: #fff;
    transform: translateY(-2px);
}

.wd-btn--outline {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(var(--site-primary-rgb), 0.35);
    color: var(--site-primary-dark, #b91c1c);
}

.wd-btn--outline:hover {
    background: rgba(var(--site-primary-rgb), 0.07);
    border-color: var(--site-primary, #dc2626);
    color: var(--site-primary-dark, #b91c1c);
    transform: translateY(-2px);
}

.wd-btn:focus-visible,
.wd-link:focus-visible,
.wd-shot:focus-visible,
.wd-faq summary:focus-visible {
    outline: 3px solid rgba(var(--site-primary-rgb), 0.45);
    outline-offset: 3px;
}

/* Link chữ nhỏ (thay cho 6 nút "Tư vấn hạng mục" lặp lại) */
.wd-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: var(--site-primary-dark, #b91c1c);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: gap .2s ease, color .2s ease;
}

.wd-link span { transition: transform .2s ease; }
.wd-link:hover { color: var(--site-primary, #dc2626); }
.wd-link:hover span { transform: translateX(3px); }

/* ===== Chip icon ===== */
.wd-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex: 0 0 auto;
    background: rgba(var(--site-primary-rgb), 0.09);
    border: 1px solid rgba(var(--site-primary-rgb), 0.16);
    color: var(--site-primary, #dc2626);
    transition: transform .25s ease;
}

.wd-ico svg { width: 21px; height: 21px; }
.wd-ico--sm { width: 36px; height: 36px; border-radius: 12px; }
.wd-ico--sm svg { width: 18px; height: 18px; }

/* ============================================================
   1. HERO — editorial split (chữ trái · visual phải) + dải trust
   ============================================================ */
.wd-hero {
    position: relative;
    /* padding-top do public/css/header.css quản (.service-hero = 120px) */
    padding-bottom: 56px;
    background:
        radial-gradient(760px 420px at 88% 8%, rgba(var(--site-primary-rgb), 0.10), transparent 70%),
        radial-gradient(620px 380px at 4% 96%, rgba(var(--site-primary-rgb), 0.06), transparent 72%),
        #ffffff;
}

.wd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 48px;
    align-items: center;
}

.wd-hero h1 {
    margin: 18px 0 0;
    /* Container khoá ở 80rem nên cột chữ KHÔNG rộng thêm sau 1280px — trần font
       phải ≤ 39px để tiêu đề luôn gói gọn 2 dòng (anti-ai-slop §4). */
    font-size: clamp(30px, 2.95vw, 39px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.024em;
    text-wrap: balance;
}

.wd-hero h1 span { color: var(--site-primary, #dc2626); }

.wd-hero .wd-lead {
    margin-top: 18px;
    max-width: 56ch;
    font-size: 16px;
}

.wd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* --- Visual: mockup + thẻ đánh giá glass nổi --- */
.wd-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.wd-hero-visual > img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 22px;
    filter: drop-shadow(0 28px 56px rgba(15, 23, 43, 0.16));
}

.wd-rating-card {
    position: absolute;
    left: 0;
    bottom: -18px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 20px 13px 13px;
    border-radius: 20px;
    background: var(--wd-glass-bg);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow-lg);
    -webkit-backdrop-filter: blur(18px) saturate(158%);
    backdrop-filter: blur(18px) saturate(158%);
}

.wd-rating-card img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 auto;
}

.wd-rating-card__label {
    display: block;
    color: var(--wd-ink-mute);
    font-size: 11.5px;
    font-weight: 600;
}

.wd-stars {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 2px;
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 0.06em;
}

.wd-stars strong {
    color: var(--wd-ink);
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.wd-rating-card p {
    margin: 1px 0 0;
    color: var(--wd-ink-mute);
    font-size: 11.5px;
}

/* --- Dải trust 4 pill mỏng dưới hero --- */
.wd-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 64px;
}

.wd-trust__pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px 9px 9px;
    border-radius: 999px;
    background: var(--wd-glass-bg);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow);
    -webkit-backdrop-filter: blur(16px) saturate(158%);
    backdrop-filter: blur(16px) saturate(158%);
    transition: transform .22s ease, box-shadow .22s ease;
}

.wd-trust__pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 43, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wd-trust__pill .wd-ico { width: 38px; height: 38px; border-radius: 999px; }
.wd-trust__pill .wd-ico svg { width: 18px; height: 18px; }

.wd-trust__title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
}

.wd-trust__text {
    margin: 2px 0 0;
    color: var(--wd-ink-mute);
    font-size: 11.5px;
    line-height: 1.35;
}

/* ============================================================
   2. BENTO — 6 hạng mục, 4 cột × 3 hàng, KHÔNG ô trống
      big(2×2) · wide(2×1) · s1(1×1) · tall(1×2) · wide2(2×1) · s2(1×1) = 12 ô
   ============================================================ */
.wd-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(158px, auto);
    gap: 16px;
}

.wd-bento__cell {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 20px;
    background: var(--wd-glass-bg);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(158%);
    backdrop-filter: blur(18px) saturate(158%);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.wd-bento__cell:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 43, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wd-bento__cell:hover .wd-ico { transform: scale(1.06); }

.wd-bento__cell h3 {
    margin: 16px 0 0;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.wd-bento__cell p {
    margin: 9px 0 0;
    color: var(--wd-ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

.wd-bento__cell .wd-link { margin-top: auto; padding-top: 16px; }

/* Vị trí tường minh — 12 ô kín, không dùng dense để tránh lệch thứ tự */
.wd-bento__cell--big   { grid-column: 1 / 3; grid-row: 1 / 3; }
.wd-bento__cell--wide  { grid-column: 3 / 5; grid-row: 1 / 2; }
.wd-bento__cell--s1    { grid-column: 4 / 5; grid-row: 2 / 3; }
.wd-bento__cell--tall  { grid-column: 3 / 4; grid-row: 2 / 4; }
.wd-bento__cell--wide2 { grid-column: 1 / 3; grid-row: 3 / 4; }
.wd-bento__cell--s2    { grid-column: 4 / 5; grid-row: 3 / 4; }

/* Biến thiên thị giác: ô lớn (wash accent + quầng), ô tall (nền accent đặc hơn),
   ô wide2 (pattern chấm mờ) — 3/6 ô khác nền, tránh "trắng trên trắng". */
.wd-bento__cell--big {
    justify-content: center;
    background:
        radial-gradient(520px 300px at 100% 0, rgba(var(--site-primary-rgb), 0.13), transparent 68%),
        rgba(255, 255, 255, 0.62);
    padding: 30px;
}

/* Quầng trang trí góc dưới — lấp khoảng trống của ô 2×2 mà không thêm chữ.
   z-index âm để nằm sau nội dung (cell đã là stacking context nhờ backdrop-filter). */
.wd-bento__cell--big::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--site-primary-rgb), 0.16), transparent 66%);
    pointer-events: none;
}

.wd-bento__cell--big h3 { font-size: 26px; margin-top: 22px; letter-spacing: -0.018em; }
.wd-bento__cell--big p { margin-top: 12px; font-size: 15.5px; line-height: 1.75; max-width: 42ch; }
.wd-bento__cell--big .wd-ico { width: 58px; height: 58px; border-radius: 18px; }
.wd-bento__cell--big .wd-ico svg { width: 26px; height: 26px; }
/* Không pin xuống đáy: ô 2×2 cao gấp đôi, pin sẽ tạo khoảng rỗng lớn giữa chữ và link. */
.wd-bento__cell--big .wd-link { margin-top: 20px; padding-top: 0; }

.wd-bento__cell--tall {
    background: rgba(var(--site-primary-rgb), 0.07);
    border-color: rgba(var(--site-primary-rgb), 0.16);
}

.wd-bento__cell--wide2::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(var(--site-primary-rgb), 0.16) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(105deg, transparent 45%, #000 100%);
    mask-image: linear-gradient(105deg, transparent 45%, #000 100%);
}

.wd-bento__cell--wide2 { isolation: isolate; }

/* Ô lớn / wide2 xếp icon và chữ theo hàng ngang ở màn rộng */
@media (min-width: 1025px) {
    .wd-bento__cell--wide2 { padding: 26px 30px; }
}

/* ============================================================
   3. QUY TRÌNH — editorial split: cột trái sticky · rail số ghost bên phải
   ============================================================ */
.wd-process {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
}

.wd-process__aside {
    position: sticky;
    top: 118px;
}

.wd-process__aside .wd-head { margin-bottom: 0; }

.wd-process__rail {
    position: relative;
    display: grid;
    gap: 14px;
}

/* Đường nối dọc — pseudo nên KHÔNG ảnh hưởng nth-child của .wd-step */
.wd-process__rail::before {
    content: '';
    position: absolute;
    left: 47px;
    top: 34px;
    bottom: 34px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg,
        rgba(var(--site-primary-rgb), 0.30),
        rgba(var(--site-primary-rgb), 0.08) 72%,
        rgba(var(--site-primary-rgb), 0));
}

.wd-step {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 22px 24px;
    border-radius: 18px;
    background: var(--wd-glass-bg);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow);
    -webkit-backdrop-filter: blur(16px) saturate(158%);
    backdrop-filter: blur(16px) saturate(158%);
    transition: transform .25s ease, box-shadow .25s ease;
}

.wd-step:hover {
    transform: translateX(4px);
    box-shadow: 0 16px 34px rgba(15, 23, 43, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wd-step__num {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(var(--site-primary-rgb), 0.22);
    font-variant-numeric: tabular-nums;
}

.wd-step__head {
    display: flex;
    align-items: center;
    gap: 11px;
}

.wd-step h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.wd-step p {
    margin: 8px 0 0;
    color: var(--wd-ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================================
   4. GIAO DIỆN MẪU — feature "1 lớn + 2 nhỏ"
   ============================================================ */
.wd-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
    gap: 18px;
}

.wd-shot {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--wd-glass-bg);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow);
    -webkit-backdrop-filter: blur(18px) saturate(158%);
    backdrop-filter: blur(18px) saturate(158%);
    transition: transform .25s ease, box-shadow .25s ease;
}

.wd-shot:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(15, 23, 43, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wd-shot--feature { grid-column: 1; grid-row: 1 / 3; }

.wd-shot__frame {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(var(--site-primary-rgb), 0.06);
}

/* Card "1 lớn" cao gấp đôi (span 2 hàng). Bỏ aspect-ratio để khung ảnh GIÃN
   lấp phần dư, nếu không phần thân card sẽ rỗng một khoảng lớn. */
.wd-shot--feature .wd-shot__frame {
    aspect-ratio: auto;
    flex: 1 1 auto;
    min-height: 300px;
}

.wd-shot__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.wd-shot:hover .wd-shot__frame img { transform: scale(1.045); }

.wd-shot__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--site-primary-light, #ef4444), var(--site-primary-dark, #b91c1c));
    color: #fff;
    font-size: 46px;
    font-weight: 800;
}

.wd-shot__badge,
.wd-shot__discount {
    position: absolute;
    top: 12px;
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

.wd-shot__badge {
    left: 12px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--wd-ink);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Đỏ commerce — CHỈ ở badge giảm giá & giá */
.wd-shot__discount {
    right: 12px;
    background: var(--wd-price);
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.wd-shot__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 18px 20px 20px;
}

.wd-shot__body h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.wd-shot--feature .wd-shot__body h3 { font-size: 20px; }

.wd-shot__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 9px;
    font-variant-numeric: tabular-nums;
}

.wd-shot__price strong {
    color: var(--wd-price);
    font-size: 19px;
    font-weight: 800;
}

.wd-shot__price del {
    color: #94a3b8;
    font-size: 13.5px;
}

.wd-shot__body p {
    margin: 9px 0 0;
    color: var(--wd-ink-soft);
    font-size: 13.5px;
    line-height: 1.65;
}

.wd-shot__rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 15px;
    color: var(--wd-ink-mute);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.wd-shot__stars {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
}

.wd-shot__stars svg { width: 14px; height: 14px; }

.wd-center-action {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

/* ============================================================
   5. TESTIMONIALS — dùng slider .tm dùng chung (app.css)
   ============================================================ */
.wd-voices .wd-head { margin-bottom: 34px; }

/* ============================================================
   6. ĐỘI NGŨ — editorial: danh sách dọc trái · panel ảnh + metric phải
   ============================================================ */
.wd-team {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 48px;
    align-items: start;
}

.wd-members {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.wd-member {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--wd-glass-bg);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow);
    -webkit-backdrop-filter: blur(16px) saturate(158%);
    backdrop-filter: blur(16px) saturate(158%);
    transition: transform .22s ease, box-shadow .22s ease;
}

.wd-member:hover {
    transform: translateX(4px);
    box-shadow: 0 14px 30px rgba(15, 23, 43, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Avatar chữ cái — chủ đích minimalist (đã xác nhận), không phải placeholder */
.wd-member__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: linear-gradient(140deg, var(--site-primary-light, #ef4444), var(--site-primary-dark, #b91c1c));
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 18px rgba(var(--site-primary-rgb), 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wd-member h3 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
}

.wd-member p {
    margin: 2px 0 0;
    color: var(--wd-ink-mute);
    font-size: 13px;
}

.wd-expert {
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow-lg);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    backdrop-filter: blur(20px) saturate(155%);
}

.wd-expert > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
}

.wd-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.wd-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(var(--site-primary-rgb), 0.055);
    border: 1px solid rgba(var(--site-primary-rgb), 0.13);
}

.wd-metric strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.wd-metric span {
    display: block;
    margin-top: 2px;
    color: var(--wd-ink-mute);
    font-size: 12.5px;
    line-height: 1.35;
}

/* ============================================================
   7. KẾT QUẢ — dải ngang 5 cột, vách hairline, số ghost
   ============================================================ */
.wd-results-band {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow-lg);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    backdrop-filter: blur(20px) saturate(155%);
}

.wd-result {
    position: relative;
    padding: 30px 22px 28px;
    transition: background-color .25s ease;
}

.wd-result + .wd-result { border-left: 1px solid var(--wd-hairline); }
.wd-result:hover { background: rgba(var(--site-primary-rgb), 0.04); }
.wd-result:hover .wd-ico { transform: scale(1.06); }

.wd-result__num {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    color: rgba(15, 23, 43, 0.07);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.wd-result h3 {
    margin: 16px 0 0;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.35;
}

.wd-result p {
    margin: 8px 0 0;
    color: var(--wd-ink-soft);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ============================================================
   8. FAQ — accordion dùng chung (components/faq) trong khung glass
   ============================================================ */
.wd-faq__inner {
    max-width: 880px;
    margin: 0 auto;
}

/* ============================================================
   9. CTA cuối trang
   ============================================================ */
.wd-cta { padding: 24px 0 92px; }

.wd-cta-card {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr) auto;
    gap: 36px;
    align-items: center;
    padding: 34px 38px;
    border-radius: 30px;
    background:
        radial-gradient(620px 320px at 92% 12%, rgba(var(--site-primary-rgb), 0.14), transparent 70%),
        rgba(255, 255, 255, 0.70);
    border: 1px solid var(--wd-glass-brd);
    box-shadow: var(--wd-glass-shadow-lg);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
    backdrop-filter: blur(20px) saturate(155%);
}

.wd-cta-card > img {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 18px;
}

.wd-cta-card h2 {
    margin: 0;
    font-size: clamp(21px, 2.2vw, 29px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.018em;
    text-wrap: balance;
}

.wd-cta-card p {
    margin: 11px 0 0;
    max-width: 58ch;
    color: var(--wd-ink-soft);
    font-size: 14.5px;
    line-height: 1.7;
}

.wd-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .wd-cta-card {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }
    .wd-cta-actions { grid-column: 1 / -1; flex-direction: row; }
}

@media (max-width: 1024px) {
    .wd-section { padding: 60px 0; }

    .wd-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .wd-hero-visual { order: -1; }
    .wd-rating-card { left: 8px; bottom: -14px; }

    .wd-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 52px; }

    /* Bento: 2 cột, huỷ vị trí tường minh */
    .wd-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wd-bento__cell--big,
    .wd-bento__cell--wide,
    .wd-bento__cell--s1,
    .wd-bento__cell--tall,
    .wd-bento__cell--wide2,
    .wd-bento__cell--s2 {
        grid-column: auto;
        grid-row: auto;
    }
    .wd-bento__cell--big { grid-column: 1 / -1; }

    .wd-process { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .wd-process__aside { position: static; }

    .wd-showcase { grid-template-columns: minmax(0, 1fr); }
    .wd-shot--feature { grid-column: auto; grid-row: auto; }
    /* 1 cột: card lớn không còn span 2 hàng → trả khung ảnh về đúng tỉ lệ. */
    .wd-shot--feature .wd-shot__frame {
        aspect-ratio: 16 / 10;
        flex: 0 0 auto;
        min-height: 0;
    }

    .wd-team { grid-template-columns: minmax(0, 1fr); gap: 34px; }

    .wd-results-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wd-result + .wd-result { border-left: 0; }
    .wd-result { border-top: 1px solid var(--wd-hairline); }
    .wd-result:nth-of-type(1),
    .wd-result:nth-of-type(2) { border-top: 0; }
    .wd-result:nth-of-type(2n) { border-left: 1px solid var(--wd-hairline); }
}

@media (max-width: 720px) {
    .wd-section { padding: 52px 0; }
    .wd-hero { padding-bottom: 40px; }

    .wd-actions .wd-btn { flex: 1 1 100%; }

    /* Thẻ đánh giá rời khỏi position:absolute → nó trở thành flex item THỨ HAI
       của .wd-hero-visual. Phải đổi trục sang cột, nếu không ảnh và thẻ nằm
       cạnh nhau, cùng co lại và tràn ngang. */
    .wd-hero-visual {
        flex-direction: column;
        align-items: stretch;
    }

    .wd-rating-card {
        position: static;
        margin-top: 18px;
        width: 100%;
    }

    .wd-trust { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }

    .wd-bento { grid-template-columns: minmax(0, 1fr); }
    .wd-bento__cell--big { grid-column: auto; }

    .wd-step { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 20px; }
    .wd-step__num { font-size: 32px; }
    .wd-process__rail::before { left: 36px; }

    .wd-metrics { grid-template-columns: minmax(0, 1fr); }

    .wd-results-band { grid-template-columns: minmax(0, 1fr); }
    .wd-result:nth-of-type(2) { border-top: 1px solid var(--wd-hairline); }
    .wd-result:nth-of-type(2n) { border-left: 0; }

    .wd-cta-card {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        padding: 28px 22px;
    }
    .wd-cta-card p { margin-left: auto; margin-right: auto; }
    .wd-cta-actions { width: 100%; flex-direction: column; }
    .wd-cta-actions .wd-btn { width: 100%; }
}

/* ============================================================
   MOTION — chỉ transform/opacity. Gate .wd-anim (đặt ở <head>,
   chỉ thêm khi có IntersectionObserver & KHÔNG bật giảm chuyển động).
   Không JS / giảm chuyển động → nội dung hiện đủ, không "flash".
   ============================================================ */
.wd-anim [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}

.wd-anim [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

@keyframes wdFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* Ảnh hero là ứng viên LCP → transform-only, KHÔNG opacity:0 */
@keyframes wdRiseUp {
    from { transform: translateY(20px); }
    to { transform: none; }
}

/* H1 + lead KHÔNG animate (bảo vệ LCP) */
.wd-anim .wd-hero .wd-actions { animation: wdFadeUp .6s .06s both; }
.wd-anim .wd-hero-visual > img { animation: wdRiseUp .7s .1s both; }
.wd-anim .wd-rating-card { animation: wdFadeUp .6s .3s both; }
.wd-anim .wd-trust__pill { animation: wdFadeUp .55s both; }
.wd-anim .wd-trust__pill:nth-of-type(1) { animation-delay: .10s; }
.wd-anim .wd-trust__pill:nth-of-type(2) { animation-delay: .18s; }
.wd-anim .wd-trust__pill:nth-of-type(3) { animation-delay: .26s; }
.wd-anim .wd-trust__pill:nth-of-type(4) { animation-delay: .34s; }

@media (prefers-reduced-motion: reduce) {
    .wd-page *,
    .wd-page *::before,
    .wd-page *::after {
        animation: none !important;
        transition: none !important;
    }
    .wd-anim [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
    .wd-shot__frame img { transition: none; }
}
