/* =====================================================================
   Webappvn.com — giao diện theo phong cách gsheets.vn
   Màu chủ đạo: xanh dương → xanh lá (theo logo các app)
   ===================================================================== */
:root {
  --text: #202124;
  --text-2: #3c4043;
  --body: #5f6368;
  --muted: #80868b;
  --line: #e8eaed;
  --line-2: #dadce0;
  --soft: #f2f4f7;
  --soft-2: #f8f9fa;
  --chip: #f1f3f4;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --green: #16a34a;
  --green-d: #137333;
  --green-soft: #e6f4ea;
  --navy: #0f2447;
  --red: #c5221f;
  --brand: linear-gradient(90deg, #2563eb 0%, #06b6d4 34%, #16a34a 68%, #84cc16 100%);
  --hot: linear-gradient(135deg, #ea580c, #f39c12);
  --ai: linear-gradient(135deg, #2563eb, #7c3aed 55%, #06b6d4);
  --shadow-img: 0 10px 12px -3px rgba(0, 0, 0, .28);
  --shadow-card: 0 1px 2px rgba(60, 64, 67, .08), 0 4px 16px rgba(60, 64, 67, .10);
  --container: 1240px;
  --hdr: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--body);
  background: radial-gradient(900px 560px at -5% -8%, rgba(124, 58, 237, .085), transparent 70%) no-repeat,
    radial-gradient(900px 560px at 105% -6%, rgba(6, 182, 212, .09), transparent 70%) no-repeat,
    linear-gradient(180deg, #f5f6ff 0, #fff 820px) no-repeat, #fff;
  -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
/* Hạn chế tải ảnh / video: không kéo thả, không giữ lâu để lưu (iPhone) */
img, video { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { flex: none; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 17px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 18px -6px rgba(22, 163, 74, .55); }
.btn-green:hover { background: #12873d; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--text-2); border-color: var(--line-2); }
.btn-white:hover { border-color: #bdc1c6; box-shadow: 0 2px 10px rgba(60, 64, 67, .12); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -6px rgba(37, 99, 235, .55); }
.btn-blue:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-ghost-green { background: #fff; color: var(--green-d); border-color: #a8dab5; }
.btn-ghost-green:hover { background: var(--green-soft); }
.btn-zalo { background: #0068ff; color: #fff; }
.btn-zalo:hover { background: #0057d6; }

/* ---------- Đầu trang (thanh nổi bo tròn) ---------- */
.hdr-wrap { position: sticky; top: 0; z-index: 60; padding: 12px 20px 0; height: var(--hdr); pointer-events: none; }
.hdr {
  pointer-events: auto; max-width: var(--container); height: 64px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px; padding: 0 12px 0 22px;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-radius: 40px; box-shadow: 0 6px 26px rgba(32, 33, 36, .09), 0 0 0 1px rgba(32, 33, 36, .04);
}
.logo { display: inline-flex; align-items: center; gap: 9px; flex: none; font-weight: 900; font-size: 21px; letter-spacing: .3px; }
.logo svg { width: 34px; height: 34px; }
.logo b { background: linear-gradient(90deg, #1d4ed8, #16a34a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search { position: relative; flex: 0 1 300px; margin-left: 8px; }
.search input {
  width: 100%; height: 42px; padding: 0 44px 0 18px; border: 1px solid transparent; border-radius: 999px;
  background: var(--chip); font-size: 14px; outline: 0; transition: .2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { background: #fff; border-color: var(--line-2); box-shadow: 0 1px 6px rgba(32, 33, 36, .18); }
.search .ico { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: none; color: var(--body); display: grid; place-items: center; border-radius: 50%; }
.search .ico svg { width: 20px; height: 20px; }
.suggest {
  position: absolute; top: calc(100% + 10px); left: 0; width: min(440px, calc(100vw - 32px)); padding: 8px;
  background: #fff; border-radius: 18px; box-shadow: 0 16px 44px rgba(32, 33, 36, .2); display: none; z-index: 5;
}
.suggest.open { display: block; }
.sg { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.sg:hover, .sg.on { background: var(--soft-2); }
.sg img, .sg .em { width: 68px; height: 42px; border-radius: 7px; object-fit: cover; object-position: top left; flex: none; background: var(--chip); display: grid; place-items: center; font-size: 22px; }
.sg b { display: block; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.35; }
.sg small { font-size: 12.5px; color: var(--muted); }
.sg-none { padding: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.sg-all { display: block; text-align: center; padding: 10px; font-size: 14px; font-weight: 500; color: var(--green-d); border-top: 1px solid var(--line); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 16px; color: var(--text-2); transition: .2s; }
.nav a:hover { background: var(--chip); }
.nav a.on { color: var(--green-d); }
.nav .btn { margin-left: 8px; color: #fff; padding: 0 20px; height: 42px; font-weight: 700; }
.nav .btn:hover { background: #12873d; }
.ibtn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; place-items: center; color: var(--text-2); }
.ibtn:hover { background: var(--chip); }
.ibtn svg { width: 24px; height: 24px; }

/* Ngăn kéo menu & ô tìm trên điện thoại */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .bk { position: absolute; inset: 0; background: rgba(32, 33, 36, .45); opacity: 0; transition: opacity .25s; }
.drawer.open .bk { opacity: 1; }
.drawer .pn {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff; padding: 22px 18px;
  display: flex; flex-direction: column; gap: 4px; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .7, .3, 1);
  box-shadow: 8px 0 30px rgba(0, 0, 0, .15); overflow-y: auto;
}
.drawer.open .pn { transform: none; }
.drawer .pn .logo { margin: 0 6px 18px; }
.drawer .pn > a:not(.btn) { padding: 13px 14px; border-radius: 12px; font-weight: 500; font-size: 17px; color: var(--text-2); }
.drawer .pn > a.on { color: var(--green-d); background: var(--green-soft); }
.drawer .pn .btn { margin-top: 14px; }
.drawer .pn .info { margin-top: auto; padding: 14px; border-radius: 14px; background: var(--soft-2); font-size: 14px; }
.drawer .pn .info b { color: var(--text); }
.sov { position: fixed; inset: 0; z-index: 130; background: rgba(32, 33, 36, .45); display: none; padding: 14px; }
.sov.open { display: block; }
.sov .search { max-width: 640px; margin: 0 auto; flex: none; }
.sov .search input { height: 52px; font-size: 16px; background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .2); }
.sov .suggest { width: 100%; }

/* ---------- Phần giới thiệu (hero) ---------- */
.hero { position: relative; margin-top: calc(-1 * var(--hdr)); padding: calc(var(--hdr) + 70px) 20px 64px; text-align: center; overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 42% 40% at 50% 52%, rgba(255, 255, 255, .88), rgba(255, 255, 255, 0) 72%); }
.hero .in { position: relative; }
.welcome {
  display: inline-block; padding: 7px 18px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(241, 243, 244, .92); color: var(--text-2); font-size: 15px; font-weight: 500;
}
.hero h1 { font-size: clamp(34px, 5.6vw, 66px); line-height: 1.18; font-weight: 700; letter-spacing: -.03em; color: var(--text); text-wrap: balance; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .grad { display: block; padding-bottom: .1em; }
.hero .sub { text-wrap: balance; max-width: 720px; margin: 20px auto 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: var(--body); text-shadow: 0 0 12px #fff, 0 0 4px #fff; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .sub .ai-t { font-weight: 700; background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
/* Khung "hỏi Trợ lý AI" — viền chuyển màu xoay, tự gõ câu hỏi → AI trả lời */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ai-ask { position: relative; max-width: 660px; margin: 44px auto 0; padding: 2px; border-radius: 22px; text-align: left;
  background: conic-gradient(from var(--ang), #2563eb, #7c3aed, #06b6d4, #16a34a, #7c3aed, #2563eb); animation: xoay 6s linear infinite;
  box-shadow: 0 22px 50px -20px rgba(124, 58, 237, .5), 0 0 0 6px rgba(124, 58, 237, .06); }
.ai-ask-in { border-radius: 20px; background: #fff; padding: 14px 14px 16px 16px; }
.ai-ask .q { display: flex; align-items: center; gap: 12px; }
.ai-ask .ic, .ai-ask .send { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--ai); }
.ai-ask .ic svg { width: 20px; height: 20px; animation: nhay 2.4s ease-in-out infinite; }
.ai-ask .send { border-radius: 50%; width: 36px; height: 36px; margin-left: auto; box-shadow: 0 6px 14px -4px rgba(124, 58, 237, .6); }
.ai-ask .send svg { width: 18px; height: 18px; }
.ai-ask .txt { min-width: 0; font-size: 17px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-ask .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: #7c3aed; animation: chop 1s steps(1) infinite; }
.ai-ask .a { display: flex; gap: 10px; align-items: flex-start; min-height: 66px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.ai-ask .av { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #f3e8ff; color: #6d28d9; font-size: 11.5px; font-weight: 900; letter-spacing: .3px; }
.ai-ask .a p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); transition: opacity .35s, transform .35s; }
.ai-ask .a p b { color: #6d28d9; }
.ai-ask .a.an p { opacity: 0; transform: translateY(6px); }
.ai-ask .a .dots { display: inline-flex; gap: 5px; padding-top: 10px; }
.ai-ask .a .dots i { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; animation: cham 1s ease-in-out infinite; }
.ai-ask .a .dots i:nth-child(2) { animation-delay: .15s; }
.ai-ask .a .dots i:nth-child(3) { animation-delay: .3s; }
.ai-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-shadow: 0 0 8px #fff; }
@keyframes xoay { to { --ang: 360deg; } }
@keyframes chop { 50% { opacity: 0; } }
@keyframes nhay { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(12deg); } }
@keyframes cham { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }
/* Dải số liệu dưới khung AI */
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 48px; margin-top: 40px; list-style: none; }
.hero-stats li { display: flex; flex-direction: column; align-items: center; }
.hero-stats b { font-size: 30px; line-height: 1.15; font-weight: 900; letter-spacing: -.02em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats li.ai b { background: var(--ai); -webkit-background-clip: text; background-clip: text; }
.hero-stats span { font-size: 14px; color: var(--body); }
/* Thẻ "thiết kế riêng" lấp ô trống trong lưới sản phẩm */
.pc-cta { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 100%; padding: 28px; border-radius: 14px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 85% 10%, rgba(124, 58, 237, .55), transparent 55%), radial-gradient(circle at 10% 100%, rgba(22, 163, 74, .45), transparent 55%), var(--navy);
  color: #cbd5e1; box-shadow: var(--shadow-img); transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s; }
.pc-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1.2px, transparent 0) 0 0 / 18px 18px; }
.pc-cta:hover { transform: translateY(-6px); box-shadow: 0 20px 30px -10px rgba(15, 36, 71, .5); }
.pc-cta .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ai); color: #fff; margin-bottom: auto; box-shadow: 0 10px 24px -8px rgba(124, 58, 237, .8); }
.pc-cta .ico svg { width: 26px; height: 26px; animation: nhay 2.4s ease-in-out infinite; }
.pc-cta h3 { font-size: 22px; line-height: 1.3; font-weight: 700; color: #fff; }
.pc-cta p { font-size: 15px; line-height: 1.6; }
.pc-cta .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: #86efac; }
.pc-cta .go svg { width: 18px; height: 18px; transition: transform .25s; }
.pc-cta:hover .go svg { transform: translateX(4px); }
/* Hiện dần khi cuộn tới (JS gắn class .rv — không có JS thì vẫn hiện đủ) */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.rv.on { opacity: 1; transform: none; }
.fly { position: absolute; z-index: -1; opacity: .9; pointer-events: none; animation: bay 18s ease-in-out infinite; }
.fly svg { display: block; }
@keyframes bay {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(24px, -14px) rotate(4deg); }
  50% { transform: translate(46px, 4px) rotate(-2deg); }
  75% { transform: translate(18px, 12px) rotate(3deg); }
}

/* ---------- Tiêu đề khu vực ---------- */
.sec { padding: 28px 0 80px; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head h2 { text-wrap: balance; font-size: clamp(25px, 3vw, 34px); line-height: 1.3; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.sec-head h2::after { content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--brand); }
.sec-head p { margin-top: 12px; text-wrap: pretty; }
.more { display: flex; justify-content: center; margin-top: 52px; }
.more .btn { height: 52px; padding: 0 30px; font-size: 16px; box-shadow: 0 1px 3px rgba(60, 64, 67, .12); }

/* ---------- Thẻ sản phẩm ---------- */
.grid-p { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.pc { display: block; color: inherit; }
.th {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; border: 2.4px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #2563eb, #06b6d4, #16a34a, #84cc16, #06b6d4, #2563eb) border-box;
  background-size: 100% 100%, 200% 100%; background-position: 0 0, 0 0;
  box-shadow: var(--shadow-img); transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s, background-position 1s;
}
.th img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s; }
.pc:hover .th { transform: translateY(-6px); box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .32); background-position: 0 0, 100% 0; }
.pc:hover .th img { transform: scale(1.025); }
.bdg {
  position: absolute; top: 0; left: 0; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px 6px 10px; border-radius: 9px 0 10px 0; background: var(--hot); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.bdg svg { width: 15px; height: 15px; }
.bdg.new { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.bdg.ai { background: var(--ai); }
.upd {
  position: absolute; top: 0; right: 0; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 0 9px 0 10px; background: #16a34a; color: #fff; font-size: 13px; font-weight: 700;
}
.upd svg { width: 14px; height: 14px; }
.pc .bd { padding: 14px 2px 0; }
.pc h3 { font-size: 16.5px; line-height: 1.5; font-weight: 400; color: var(--text-2); }
.tag { display: inline-block; padding: 1px 7px; margin-right: 6px; border: 1px solid #b9cdf7; border-radius: 6px; background: #fff; color: var(--blue-d); font-size: .92em; line-height: 1.45; vertical-align: 1px; }
.price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 17px; font-weight: 700; color: var(--text); }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.price .lh { color: var(--green-d); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.chip-ai { background: #f3e8ff; color: #6d28d9; }
.chip-try { background: var(--green-soft); color: var(--green-d); }

/* ---------- Trợ lý AI ---------- */
.ai-box {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center;
  padding: 52px 60px; border-radius: 30px; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; isolation: isolate;
}
.ai-box::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 2px; background: var(--ai);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.ai-box::after { content: ""; position: absolute; z-index: -2; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .12), transparent 65%); }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #f5f3ff; color: #6d28d9; font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.ai-box h2 { margin-top: 16px; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.ai-box h2 em { font-style: normal; background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-box > div > p { margin-top: 14px; font-size: 17px; }
.ai-list { list-style: none; display: grid; gap: 18px; margin: 28px 0 32px; }
.ai-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.ai-list .n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: #f5f3ff; }
.ai-list b { display: block; color: var(--text); font-size: 17px; font-weight: 700; }
.ai-list span { font-size: 15px; }
.phone { position: relative; width: min(300px, 100%); margin: 0 auto; padding: 10px; border-radius: 44px; background: #0b1220; box-shadow: 0 30px 60px -20px rgba(15, 36, 71, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.phone video, .phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 34px; background: #0f172a; }
/* video ngang (doc = false): khung màn hình 16:9, không cắt hình */
.phone.ngang { width: 100%; max-width: 720px; padding: 8px; border-radius: 20px; }
.phone.ngang video, .phone.ngang img { aspect-ratio: 16 / 9; object-fit: contain; border-radius: 13px; }
.vrow.ngang { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.vfeat.ngang { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.phone .sound {
  position: absolute; right: 22px; bottom: 22px; z-index: 2; height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--text); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.phone .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .95); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s;
}
.phone .play:hover { transform: scale(1.06); }
.phone .play svg { width: 30px; height: 30px; color: #7c3aed; margin-left: 4px; }

/* ---------- Thẻ khoá học ---------- */
.grid-k { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.kc { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 2px 14px rgba(60, 64, 67, .16); transition: transform .3s, box-shadow .3s; cursor: pointer; text-align: left; border: 0; }
.kc:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(60, 64, 67, .22); }
.kc .im { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.kc .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.kc:hover .im img { transform: scale(1.03); }
.st { position: absolute; top: 14px; right: 14px; padding: 6px 14px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.st.dang-mo { background: var(--green); }
.st.da-dong { background: #ea4335; }
.kc .bd { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 18px; }
.kc h3 { display: flex; gap: 10px; font-size: 19px; line-height: 1.4; font-weight: 700; color: var(--text); }
.kc h3 svg { width: 24px; height: 24px; color: var(--green); margin-top: 2px; }
.kc p { margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kc .ft { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.kc .bd p + .ft { margin-top: 18px; }
.kc .meta { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.kc .meta svg { width: 22px; height: 22px; color: var(--green); }
.kc .gia { text-align: right; line-height: 1.25; }
.kc .gia s { display: block; font-size: 13.5px; color: var(--muted); }
.kc .gia b { font-size: 20px; color: var(--red); }

/* ---------- Thẻ dịch vụ ---------- */
.grid-dv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dv { padding: 30px 24px 26px; border: 1px solid; border-radius: 16px; text-align: center; transition: transform .3s, box-shadow .3s; }
.dv:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(60, 64, 67, .12); }
.dv.green { background: #f1f9f4; border-color: #cde8d6; }
.dv.blue { background: #eff6fd; border-color: #cfe2f5; }
.dv.orange { background: #fff6ee; border-color: #fbdcc2; }
.dv .art { width: 120px; height: 86px; margin: 0 auto 20px; border-radius: 16px; display: grid; place-items: center; font-size: 42px; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .35); }
.dv.green .art { background: linear-gradient(135deg, #22c55e, #15803d); }
.dv.blue .art { background: linear-gradient(135deg, #38bdf8, #1d4ed8); }
.dv.orange .art { background: linear-gradient(135deg, #fb923c, #ea580c); }
.dv h3 { font-size: 17.5px; line-height: 1.4; font-weight: 700; color: var(--text); }
.dv p { margin-top: 8px; font-size: 14.5px; }
.soft { display: inline-flex; align-items: center; gap: 6px; height: 38px; margin-top: 18px; padding: 0 18px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 600; transition: filter .2s; }
.soft:hover { filter: brightness(.96); }
.soft svg { width: 16px; height: 16px; }
.dv.green .soft { background: #d7eedf; color: var(--green-d); }
.dv.blue .soft { background: #d6e8fa; color: #1559b8; }
.dv.orange .soft { background: #fde3cc; color: #c2410c; }

/* ---------- Dự án đã làm ---------- */
.grid-da { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.da { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .3s, transform .3s; }
.da:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.da .ic { flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 27px; background: var(--soft-2); border: 1px solid var(--line); }
.da small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--green-d); }
.da h3 { margin: 2px 0 8px; font-size: 16.5px; line-height: 1.4; color: var(--text); }
.da ul { list-style: none; display: grid; gap: 4px; font-size: 14px; }
.da li { padding-left: 20px; position: relative; }
.da li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ---------- Quy trình + form yêu cầu ---------- */
.req { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.req h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.3; color: var(--text); letter-spacing: -.02em; }
.req > div > p { margin-top: 12px; }
.steps { list-style: none; counter-reset: b; display: grid; gap: 20px; margin-top: 28px; }
.steps li { counter-increment: b; position: relative; padding-left: 62px; min-height: 44px; }
.steps li::before {
  content: counter(b); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green-d); font-weight: 700; font-size: 18px;
}
.steps b { display: block; color: var(--text); font-size: 16.5px; }
.steps span { font-size: 14.5px; }
.form { padding: 30px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); display: grid; gap: 14px; }
.form h3 { font-size: 21px; color: var(--text); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 15px; outline: 0; transition: .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.form .btn { width: 100%; height: 52px; font-size: 16px; }
.form .note { font-size: 13px; color: var(--muted); text-align: center; }
.form .note a { color: #0068ff; font-weight: 600; }

/* ---------- Trang chi tiết sản phẩm ---------- */
.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 26px 0 22px; font-size: 14px; color: var(--muted); }
.crumb a:hover { color: var(--green-d); }
.crumb b { color: var(--text-2); font-weight: 500; }
.dt { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .92fr); gap: 36px; align-items: start; }
.gal .main { position: relative; cursor: zoom-in; }
.gal .main .th { aspect-ratio: 16 / 10; }
.gal .main:hover .th { transform: none; }
.cnt { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: rgba(32, 33, 36, .72); color: #fff; font-size: 12.5px; }
.nv {
  position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94); box-shadow: 0 4px 14px rgba(0, 0, 0, .2); display: grid; place-items: center; color: var(--text); opacity: 0; transition: opacity .2s;
}
.nv svg { width: 22px; height: 22px; }
.nv.prev { left: 12px; }
.nv.next { right: 12px; }
.gal .main:hover .nv, .nv:focus-visible { opacity: 1; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; margin-top: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.thumbs button { aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 2px solid var(--line); border-radius: 9px; background: #fff; opacity: .7; scroll-snap-align: start; transition: .2s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.thumbs button:hover { opacity: 1; }
.thumbs button.on { border-color: var(--green); opacity: 1; }
.info .app-logo { width: 58px; height: 58px; border-radius: 15px; object-fit: contain; background: #fff; box-shadow: 0 2px 10px rgba(60, 64, 67, .16); margin-bottom: 14px; padding: 4px; }
.info h1 { font-size: clamp(24px, 2.4vw, 31px); line-height: 1.3; font-weight: 500; color: var(--text); letter-spacing: -.01em; }
.info h1 .tag { font-size: .88em; }
.info .lead { margin-top: 12px; }
.big-price { margin-top: 18px; font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.2; }
.big-price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.big-price s { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.big-price .lh { color: var(--green-d); }
.big-price .pm { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--green-d); }
.seg { display: inline-flex; gap: 4px; margin-top: 16px; padding: 4px; border-radius: 999px; background: var(--chip); }
.seg button { padding: 7px 14px; border: 0; border-radius: 999px; background: none; color: var(--body); font-size: 13.5px; font-weight: 600; }
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.plan { padding: 9px 8px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; text-align: center; transition: .2s; }
.plan b { display: block; font-size: 14px; color: var(--text); }
.plan span { display: block; font-size: 12px; font-weight: 600; color: var(--green-d); min-height: 18px; }
.plan:hover { border-color: #a8dab5; }
.plan.on { border-color: var(--green); background: #f1f9f4; box-shadow: 0 0 0 3px var(--green-soft); }
.dash { list-style: none; display: grid; gap: 8px; margin: 20px 0 24px; color: var(--text-2); }
.dash li { position: relative; padding-left: 18px; }
.dash li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-row .btn { flex: 1 1 auto; }
.hint { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.hint a { color: var(--blue-d); }
.side { border-left: 1px solid var(--line); padding-left: 28px; }
.tabs { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.tabs button { padding: 4px 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-transform: inherit; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--text); border-color: var(--green); }
.tabs i { width: 1px; height: 16px; background: var(--line-2); }
.pane { margin-top: 16px; max-height: 500px; overflow-y: auto; padding: 20px; border-radius: 14px; background: var(--soft-2); scrollbar-width: thin; }
.pane h4 { margin-bottom: 10px; font-size: 15px; color: var(--text); }
.pane ul { list-style: none; display: grid; gap: 9px; font-size: 14.5px; color: var(--text-2); }
.pane ul.feat li { position: relative; padding-left: 16px; }
.pane ul.feat li::before { content: "•"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.pane ul.log li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.pane ul.log time { padding: 2px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green-d); font-size: 12px; font-weight: 700; white-space: nowrap; }
.blk { margin-top: 64px; }
.blk-h { margin-bottom: 22px; font-size: 21px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-2); }
.fit { display: flex; flex-wrap: wrap; gap: 10px; }
.fit span { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--text-2); }
.vrow { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; }
.vrow .txt h3 { font-size: 22px; color: var(--text); line-height: 1.35; }
.vrow .txt p { margin-top: 10px; }
.grid-s { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.grid-s .pc h3 { font-size: 15px; }
.grid-s .price { font-size: 15.5px; }
.grid-s .bdg, .grid-s .upd { font-size: 11.5px; padding: 4px 9px; }
.empty-box { padding: 60px 20px; text-align: center; }
.empty-box h2 { color: var(--text); margin-bottom: 10px; }

/* ---------- Trang danh sách sản phẩm ---------- */
.page-top { padding: 32px 0 8px; text-align: center; }
.page-top h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.page-top h1::after { content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0; border-radius: 4px; background: var(--brand); }
.page-top p { margin: 12px auto 0; max-width: 640px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips button { height: 40px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: .2s; }
.chips button:hover { border-color: #a8dab5; }
.chips button.on { background: var(--text); border-color: var(--text); color: #fff; }
.sort { position: relative; }
.sort select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 40px 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14.5px; color: var(--text-2); }
.sort svg { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--body); }
.found { text-align: center; margin: -18px 0 26px; font-size: 14.5px; }
.found a { color: var(--green-d); font-weight: 500; }

/* ---------- Trang video ---------- */
.vfeat { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: center; padding: 44px 52px; border-radius: 30px; background: #fff; box-shadow: var(--shadow-card); }
.vfeat h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--text); }
.vfeat p { margin-top: 12px; }
.grid-v { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.vc { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.vc .th img { object-position: center; }
.vc .pl { position: absolute; inset: 0; margin: auto; z-index: 2; width: 62px; height: 62px; border-radius: 50%; background: rgba(234, 67, 53, .95); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(234, 67, 53, .45); transition: transform .2s; }
.vc:hover .pl { transform: scale(1.08); }
.vc .pl svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.vc .len { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 12.5px; }
.vc h3 { margin-top: 14px; font-size: 16px; line-height: 1.45; font-weight: 500; color: var(--text-2); }
.v-empty { padding: 40px 20px; border: 1.5px dashed var(--line-2); border-radius: 20px; text-align: center; background: #fff; }
.v-empty b { display: block; font-size: 18px; color: var(--text); margin-bottom: 6px; }
.v-empty .btn { margin-top: 18px; }

/* ---------- Chân trang (3 ô như gsheets) ---------- */
.ftr { position: relative; margin-top: 30px; padding: 60px 20px 26px; border-top: 1px solid #e6e8f5; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fff, #f2f3fd 70%, #eef0fc); }
.ftr canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 75%; z-index: -1; pointer-events: none; }
.fgrid { max-width: var(--container); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 22px; }
.fc { padding: 28px 26px; border-radius: 24px; background: rgba(255, 255, 255, .93); box-shadow: 0 2px 16px rgba(60, 64, 67, .08); }
.fc h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 22px; font-weight: 700; color: var(--text); }
.fc h3 i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green-d); }
.fc h3 svg { width: 20px; height: 20px; }
.ctl { list-style: none; display: grid; gap: 16px; }
.ctl li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.45; }
.ctl svg { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.ctl b { display: block; color: var(--text); font-size: 15.5px; }
.ctl a:hover { color: var(--green-d); }
.kn { display: grid; gap: 10px; }
.kn a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; font-weight: 500; color: var(--text-2); transition: .2s; }
.kn a:hover { border-color: #bdc1c6; box-shadow: 0 2px 10px rgba(60, 64, 67, .1); }
.cd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cd a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14.5px; line-height: 1.35; color: var(--text-2); transition: .2s; }
.cd a:hover { border-color: #a8dab5; background: #fbfefc; }
.cd a img { width: 26px; height: 26px; border-radius: 7px; object-fit: contain; flex: none; }
.cd a .e { width: 26px; text-align: center; font-size: 18px; flex: none; }
.si { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 800; }
.si.facebook { background: #1877f2; }
.si.zalo { background: #0068ff; font-size: 8px; }
.si.youtube { background: #ff0000; border-radius: 6px; }
.si.tiktok { background: #111; }
.si svg { width: 13px; height: 13px; }
.copy { margin-top: 34px; text-align: center; font-size: 14.5px; color: var(--body); }
.copy b { color: var(--text); }
/* Người phụ trách (chân trang) */
.owner { display: flex; gap: 14px; align-items: center; margin: 4px 0 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.owner .av { flex: none; width: 68px; height: 68px; padding: 3px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 26px; font-weight: 900; }
.owner .av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; display: block; }
.owner b { display: block; font-size: 17px; color: var(--text); line-height: 1.3; }
.owner > div > span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--body); }
.owner .fb { display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 13.5px; font-weight: 600; color: #1877f2; }
.owner .fb:hover { text-decoration: underline; }
.copy { line-height: 1.8; }
.copy a { color: inherit; font-weight: 500; }
.copy a:hover { color: var(--green, #16a34a); }
.v-kenh { margin-top: 32px; text-align: center; }

/* ---------- Nút nổi, hộp thoại, thông báo ---------- */
.zfab { position: fixed; left: 18px; bottom: 18px; z-index: 70; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 22px rgba(0, 104, 255, .35); }
.zfab span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #0068ff; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .2px; }
.zfab::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(0, 104, 255, .45); animation: song 2.2s infinite; }
@keyframes song { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.tfab { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--text-2); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s; box-shadow: 0 4px 14px rgba(0, 0, 0, .1); }
.tfab.show { opacity: 1; transform: none; pointer-events: auto; }
.tfab svg { width: 22px; height: 22px; }
.zfab { transition: transform .3s cubic-bezier(.2, .7, .3, 1), opacity .3s; }
/* Điện thoại: nút nổi nhỏ hơn, sát góc; đang cuộn xuống đọc thì tạm lánh sang mép (body.cuon-xuong — main.js › footer),
   cuộn lên / gần đầu / tới cuối trang thì hiện lại — để nút không che góc thẻ sản phẩm, mẫu PPT (05/11/2026) */
@media (max-width: 760px) {
  .zfab { left: 12px; bottom: 12px; width: 50px; height: 50px; }
  .zfab span { width: 42px; height: 42px; font-size: 11.5px; }
  .zfab::before { inset: -4px; }
  .tfab { right: 12px; bottom: 12px; width: 42px; height: 42px; }
  .cuon-xuong .zfab { transform: translateX(calc(-100% - 16px)); opacity: 0; pointer-events: none; }
  .cuon-xuong .tfab.show { transform: translateX(calc(100% + 16px)); opacity: 0; pointer-events: none; }
}
.md { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 18px; }
.md.open { display: flex; }
.md .bk { position: absolute; inset: 0; background: rgba(32, 33, 36, .6); backdrop-filter: blur(3px); }
.md .box { position: relative; width: 100%; max-width: 580px; max-height: calc(100vh - 36px); overflow-y: auto; padding: 30px; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); animation: hien .25s ease; }
@keyframes hien { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.md .x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--chip); font-size: 22px; line-height: 1; color: var(--text-2); }
.md .box h3 { padding-right: 36px; font-size: 22px; line-height: 1.35; color: var(--text); }
.md .box .lead { margin-top: 8px; }
.md .box ul { list-style: none; display: grid; gap: 8px; margin: 18px 0 22px; color: var(--text-2); }
.md .box li { position: relative; padding-left: 26px; }
.md .box li::before { content: "✓"; position: absolute; left: 0; width: 18px; height: 18px; top: 3px; border-radius: 50%; background: var(--green-soft); color: var(--green-d); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.md .box .kimg { margin: -30px -30px 20px; aspect-ratio: 16 / 7; overflow: hidden; }
.md .box .kimg img { width: 100%; height: 100%; object-fit: cover; }
.md .box .row { display: flex; flex-wrap: wrap; gap: 10px; }
.md .box .row .btn { flex: 1 1 auto; }
.md.vid .box { max-width: 980px; padding: 0; background: #000; overflow: hidden; }
.md.vid .box.doc { max-width: 380px; }
.md.vid iframe, .md.vid video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.md.vid .box.doc video { aspect-ratio: 9 / 16; max-height: calc(100vh - 40px); }
.md.vid .x { background: rgba(255, 255, 255, .9); }
.lb { position: fixed; inset: 0; z-index: 160; display: none; align-items: center; justify-content: center; padding: 56px 64px; background: rgba(12, 16, 26, .94); }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb .x, .lb .nv { position: absolute; opacity: 1; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.lb .x { top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 26px; }
.lb .nv.prev { left: 14px; }
.lb .nv.next { right: 14px; }
.lb .cnt { bottom: 18px; right: 50%; transform: translateX(50%); }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; max-width: calc(100% - 32px); padding: 13px 20px; border-radius: 12px; background: var(--text); color: #fff; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transform: translateX(-50%); }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1100px) {
  .search.top { display: none; }
  .ibtn.s { display: grid; }
  .dt { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .side { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .grid-s { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --hdr: 72px; }
  .hdr { height: 60px; padding: 0 8px; justify-content: space-between; }
  .nav { display: none; }
  .ibtn.m { display: grid; }
  .logo { font-size: 19px; }
  .logo svg { width: 30px; height: 30px; }
  .grid-p { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
  .ai-box { grid-template-columns: 1fr; padding: 36px 28px; gap: 34px; }
  .grid-dv, .grid-da { grid-template-columns: 1fr; }
  .req { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .fgrid .fc:last-child { grid-column: 1 / -1; }
  .vfeat { grid-template-columns: 1fr; padding: 32px 24px; gap: 30px; }
  .vrow, .vrow.ngang, .vfeat.ngang { grid-template-columns: 1fr; }
  .grid-v { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-s { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dt { grid-template-columns: 1fr; gap: 28px; }
  .grid-k { grid-template-columns: 1fr; gap: 24px; }
  .nv { opacity: 1; width: 36px; height: 36px; margin-top: -18px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hdr-wrap { padding: 10px 12px 0; }
  .hero { padding: calc(var(--hdr) + 40px) 16px 44px; }
  .hero .cta .btn { width: 100%; max-width: 360px; }
  .hero .sub br { display: none; }
  .ai-ask { margin-top: 32px; } .ai-ask .txt { font-size: 15.5px; } .ai-ask .a p { font-size: 14.5px; } .ai-ask .a { min-height: 92px; }
  .hero-stats { gap: 18px 10px; } .hero-stats li { width: 46%; } .hero-stats b { font-size: 25px; } .hero-stats span { font-size: 13px; }
  .pc-cta { min-height: 300px; }
  .grid-p { grid-template-columns: 1fr; gap: 34px; }
  .sec { padding: 20px 0 60px; }
  .fgrid { grid-template-columns: 1fr; padding: 0; }
  .ftr { padding: 44px 16px 24px; }
  .cd { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-v { grid-template-columns: 1fr; }
  .grid-s { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .grid-s .pc h3 { font-size: 14px; }
  .kc .bd { padding: 18px 18px 16px; }
  .md .box { padding: 24px 20px; }
  .md .box .kimg { margin: -24px -20px 18px; }
  .lb { padding: 56px 8px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; padding-bottom: 4px; }
  .chips button { flex: none; }
  .tools { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.goi-note { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
/* ===== Khung giá trang chi tiết (03/11/2026): thẻ viền màu thương hiệu, gói chọn sáng viền + vệt sáng, giá chạy số ===== */
.gp { position: relative; margin-top: 18px; padding: 18px 18px 16px; border-radius: 20px; background: linear-gradient(#fff, #fff) padding-box,
  linear-gradient(135deg, rgba(37, 99, 235, .55), rgba(6, 182, 212, .4), rgba(22, 163, 74, .55)) border-box; border: 1.5px solid transparent;
  box-shadow: 0 18px 40px -26px rgba(37, 99, 235, .55), 0 2px 6px rgba(15, 23, 42, .05); overflow: hidden; isolation: isolate; }
.gp::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(6, 182, 212, .14), transparent 70%); }
.gp.gp-ai { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2563eb, #7c3aed 55%, #06b6d4) border-box;
  box-shadow: 0 18px 40px -24px rgba(124, 58, 237, .6), 0 2px 6px rgba(15, 23, 42, .05); }
.gp.gp-ai::before { background: radial-gradient(circle, rgba(124, 58, 237, .14), transparent 70%); }
.gp-dv { margin-left: 1px; font-size: .62em; font-weight: 600; vertical-align: .42em; text-decoration: none; }
/* Công tắc Gói thường | Có Trợ lý AI — vệt trắng trượt */
.gp-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: #f1f3f9; }
.gp-seg i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .14); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), background .3s; }
.gp-seg.ai i { transform: translateX(100%); background: linear-gradient(135deg, #2563eb, #7c3aed); }
.gp-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border: 0;
  background: none; font-size: 14px; font-weight: 600; color: var(--body); transition: color .3s; }
.gp-seg button svg { width: 15px; height: 15px; color: #7c3aed; transition: color .3s; }
.gp-seg:not(.ai) button[data-ai="0"], .gp-seg.ai button[data-ai="1"] { color: var(--text); }
.gp-seg.ai button[data-ai="1"], .gp-seg.ai button[data-ai="1"] svg { color: #fff; }
.gp-seg:not(.ai) button[data-ai="1"] svg { animation: gpLap 2.4s ease-in-out infinite; }
@keyframes gpLap { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(12deg); } }
/* Giá */
.gp-gia s { font-size: 15px; color: var(--muted); margin-right: 8px; }
.gp-tk { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--hot);
  box-shadow: 0 6px 14px -6px rgba(234, 88, 12, .7); animation: gpNay .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes gpNay { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.gp-dong { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gp-so { font-family: "Be Vietnam Pro", Roboto, sans-serif; font-size: clamp(30px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  background: linear-gradient(90deg, #0f172a, #1e3a8a); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.gp-ai .gp-so { background: linear-gradient(90deg, #4c1d95, #2563eb); -webkit-background-clip: text; background-clip: text; }
.gp-dong small { font-size: 15px; color: var(--muted); }
.gp-phu { margin: 6px 0 0; font-size: 14px; color: var(--body); }
.gp-phu b { color: var(--green-d); font-weight: 700; }
.gp-note { display: inline-block; margin: 8px 0 0; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #6d28d9; background: #f5f3ff; }
/* Ô gói */
.gp-goi { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-top: 16px; }
.gp-o { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px 10px; border: 1.5px solid var(--line-2);
  border-radius: 14px; background: #fff; text-align: center; cursor: pointer; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s, background .22s; animation: gpVao .45s both; animation-delay: calc(var(--i) * 60ms); }
@keyframes gpVao { from { opacity: 0; transform: translateY(8px); } }
.gp-o:hover { transform: translateY(-3px); border-color: #93c5fd; box-shadow: 0 10px 20px -12px rgba(37, 99, 235, .45); }
.gp-o b { font-size: 14.5px; color: var(--text); }
.gp-o span { font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.gp-o span small { font-weight: 400; color: var(--muted); }
.gp-o i { font-style: normal; margin-top: 3px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--green-d); background: var(--green-soft); }
.gp-o i.trong { color: var(--muted); background: none; font-weight: 500; }
.gp-o em { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 1px 9px 2px; border-radius: 0 0 8px 8px; font-style: normal;
  font-size: 10.5px; font-weight: 700; color: #fff; background: var(--hot); white-space: nowrap; }
.gp-o:has(em) { padding-top: 20px; }
.gp-o u { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  font-size: 11px; font-weight: 800; color: #fff; background: var(--green); transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.gp-o.on { border-color: transparent; background: linear-gradient(#f3fbf6, #fff) padding-box, linear-gradient(135deg, #2563eb, #06b6d4, #16a34a) border-box;
  border-width: 2px; transform: translateY(-3px); box-shadow: 0 14px 26px -14px rgba(22, 163, 74, .55); }
.gp-ai .gp-o.on { background: linear-gradient(#f7f4ff, #fff) padding-box, linear-gradient(135deg, #2563eb, #7c3aed, #06b6d4) border-box;
  box-shadow: 0 14px 26px -14px rgba(124, 58, 237, .55); }
.gp-ai .gp-o u { background: #7c3aed; }
.gp-o.on u { transform: scale(1); }
.gp-o.on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%);
  transform: translateX(-120%); animation: gpVet 2.8s ease-in-out .3s infinite; pointer-events: none; }
@keyframes gpVet { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
/* Cam kết */
.gp-ck { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line-2); }
.gp-ck li { position: relative; padding-left: 20px; font-size: 13px; color: var(--body); }
.gp-ck li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #fff; background: var(--green); }
@media (max-width: 600px) {
  .gp { padding: 16px 14px 14px; }
  .gp-goi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-seg button { font-size: 13px; }
}
/* Mục chưa có ảnh: ô thay thế (logo hoặc biểu tượng) */
.th .ph, .kc .im .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; background: linear-gradient(135deg, #eff6ff, #ecfdf5); }
.th .ph img { width: 26%; height: auto; object-fit: contain; }

/* =====================================================================
   Tông AI (21/10/2026): nền mạng nơ-ron + lưới kỹ thuật + quầng sáng xanh – tím,
   biểu tượng nét cho dịch vụ / dự án (thay emoji)
   ===================================================================== */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image: linear-gradient(rgba(79, 70, 229, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 70, 229, .07) 1px, transparent 1px);
  background-size: 46px 46px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 25%, transparent 78%); }
.aur { position: absolute; z-index: -3; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: troi 18s ease-in-out infinite alternate; }
.aur.a1 { width: 420px; height: 420px; left: -80px; top: 60px; background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 70%); }
.aur.a2 { width: 460px; height: 460px; right: -120px; top: -40px; background: radial-gradient(circle, rgba(6, 182, 212, .5), transparent 70%); animation-delay: -6s; }
.aur.a3 { width: 360px; height: 360px; left: 38%; bottom: -160px; background: radial-gradient(circle, rgba(37, 99, 235, .4), transparent 70%); animation-delay: -12s; }
@keyframes troi { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } 100% { transform: translate(-30px, 10px) scale(.95); } }
.hero .welcome { background: rgba(255, 255, 255, .8); border: 1px solid #e4e4fb; box-shadow: 0 2px 10px rgba(79, 70, 229, .08); backdrop-filter: blur(6px); }

/* Thẻ dịch vụ: nền trắng, ô biểu tượng gradient, quầng màu nhẹ phía trên */
.dv { position: relative; overflow: hidden; isolation: isolate; background: #fff !important; border-color: #e6e8f3 !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12); }
.dv::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; z-index: -1; opacity: .9; }
.dv.green::before { background: radial-gradient(ellipse 70% 100% at 50% 0, rgba(22, 163, 74, .14), transparent 75%); }
.dv.blue::before { background: radial-gradient(ellipse 70% 100% at 50% 0, rgba(37, 99, 235, .14), transparent 75%); }
.dv.orange::before { background: radial-gradient(ellipse 70% 100% at 50% 0, rgba(124, 58, 237, .16), transparent 75%); }
.dv:hover { border-color: #c7cbee !important; box-shadow: 0 18px 40px -16px rgba(79, 70, 229, .35); }
.dv .art { width: 68px; height: 68px; border-radius: 20px; color: #fff; }
.dv .art svg { width: 34px; height: 34px; }
.dv.green .art { background: linear-gradient(135deg, #22c55e, #0d9488); box-shadow: 0 12px 24px -10px rgba(13, 148, 136, .7); }
.dv.blue .art { background: linear-gradient(135deg, #3b82f6, #06b6d4); box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .7); }
.dv.orange .art { background: linear-gradient(135deg, #7c3aed, #2563eb); box-shadow: 0 12px 24px -10px rgba(124, 58, 237, .75); } /* dịch vụ AI: tím */
.dv.orange .soft { background: #ede9fe; color: #6d28d9; }
.dv.green .soft { background: #dcfce7; }
.dv.blue .soft { background: #dbeafe; }

/* Thẻ dự án */
.da .ic { color: #4f46e5; background: linear-gradient(135deg, #eef2ff, #f5f3ff); border-color: #e0e3fb; }
.da .ic svg { width: 26px; height: 26px; }
.da small { color: #4f46e5; }
.da:hover .ic { color: #fff; background: var(--ai); border-color: transparent; }
.da .ic { transition: background .3s, color .3s; }

/* biểu tượng nhỏ ở chân trang / gợi ý tìm kiếm */
.cd .e svg, .sg .em svg { width: 18px; height: 18px; color: #4f46e5; }

/* ================= Trang Giới thiệu ================= */
.ai-grad { background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-hero { position: relative; margin-top: calc(-1 * var(--hdr)); padding: calc(var(--hdr) + 56px) 0 40px; overflow: hidden; isolation: isolate; }
.ab-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.ab-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image: linear-gradient(rgba(79, 70, 229, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 70, 229, .07) 1px, transparent 1px); background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 20%, transparent 80%); }
.ab-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.ab-hero h1 { margin-top: 18px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; color: var(--text); text-wrap: balance; }
.ab-hero .lead { margin-top: 20px; font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.75; max-width: 640px; }
.ab-hero .lead b { color: var(--text); }
.ab-cta { margin-top: 30px; max-width: 460px; }
.founder { position: relative; text-align: center; padding: 34px 28px 28px; border-radius: 28px; background: rgba(255, 255, 255, .86); border: 1px solid #e4e6f7;
  box-shadow: 0 30px 60px -30px rgba(79, 70, 229, .45); backdrop-filter: blur(8px); }
.founder .ava { width: 176px; height: 176px; margin: 0 auto; padding: 5px; border-radius: 50%; background: conic-gradient(from var(--ang), #2563eb, #7c3aed, #06b6d4, #16a34a, #2563eb); animation: xoay 8s linear infinite;
  box-shadow: 0 18px 40px -14px rgba(124, 58, 237, .6); }
.founder .ava img, .founder .ava > span { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; object-fit: cover; display: grid; place-items: center; background: #eef2ff; color: #4f46e5; font-size: 60px; font-weight: 900; }
.founder .nm { display: block; margin-top: 18px; font-size: 22px; color: var(--text); }
.founder .cv { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: #f3e8ff; color: #6d28d9; font-size: 13.5px; font-weight: 700; }
.founder p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; }
.founder p a { color: var(--text); font-weight: 700; }
.founder .fl { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.founder .fl a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 600; color: var(--text-2); transition: .2s; }
.founder .fl a:hover { border-color: #b4b9ec; box-shadow: 0 4px 12px rgba(79, 70, 229, .15); }

.ab-stats-sec { padding-top: 10px; }
.ab-stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 30px; border-radius: 26px;
  background: radial-gradient(circle at 90% 0, rgba(124, 58, 237, .5), transparent 50%), radial-gradient(circle at 0 100%, rgba(6, 182, 212, .4), transparent 55%), var(--navy); box-shadow: 0 24px 50px -24px rgba(15, 36, 71, .6); }
.ab-stats li { text-align: center; padding: 10px 6px; }
.ab-stats li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.ab-stats b { display: block; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; background: linear-gradient(90deg, #93c5fd, #c4b5fd, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-stats li > span { display: block; margin-top: 6px; font-size: 14.5px; color: #cbd5e1; }

.ab-what { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ab-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid #e6e8f3; box-shadow: 0 8px 24px -14px rgba(15, 23, 42, .15); transition: transform .3s, box-shadow .3s, border-color .3s; }
.ab-card:hover { transform: translateY(-5px); border-color: #c7cbee; box-shadow: 0 22px 40px -18px rgba(79, 70, 229, .35); }
.ab-card.ai { background: linear-gradient(160deg, #faf5ff, #fff 60%); border-color: #e9d5ff; }
.ab-card .ib { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.ab-card .ib svg { width: 28px; height: 28px; }
.ab-card .ib.b { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.ab-card .ib.g { background: linear-gradient(135deg, #22c55e, #0d9488); }
.ab-card .ib.v { background: var(--ai); }
.ab-card h3 { margin-top: 6px; font-size: 19px; color: var(--text); }
.ab-card p { font-size: 15px; line-height: 1.65; }
.ab-card .go { margin-top: auto; padding-top: 6px; font-weight: 700; color: #4f46e5; }

.ab-why { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ab-why li { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid #e6e8f3; }
.ab-why li > span { font-size: 30px; font-weight: 900; background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-why b { display: block; margin-top: 8px; font-size: 17px; color: var(--text); }
.ab-why p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; }

.ab-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: b; }
.ab-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4, #16a34a); opacity: .35; }
.ab-steps li { position: relative; text-align: center; padding: 0 6px; }
.ab-steps i { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; font-style: normal; font-size: 22px; font-weight: 900; color: #fff;
  background: var(--ai); box-shadow: 0 0 0 7px #fff, 0 12px 26px -8px rgba(124, 58, 237, .65); }
.ab-steps b { display: block; font-size: 17px; color: var(--text); }
.ab-steps p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; }

.ab-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px 44px; border-radius: 28px; color: #cbd5e1;
  background: radial-gradient(circle at 100% 0, rgba(124, 58, 237, .55), transparent 50%), radial-gradient(circle at 0 100%, rgba(22, 163, 74, .4), transparent 55%), var(--navy); }
.ab-band h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: #fff; }
.ab-band p { margin-top: 8px; }
.ab-band .cta-row { flex: none; }

@media (max-width: 960px) {
  .ab-grid { grid-template-columns: 1fr; gap: 36px; }
  .ab-what, .ab-why { grid-template-columns: 1fr 1fr; }
  .ab-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ab-steps::before { display: none; }
  .ab-band { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
}
@media (max-width: 640px) {
  .ab-hero { padding-top: calc(var(--hdr) + 32px); }
  .ab-stats { grid-template-columns: 1fr 1fr; padding: 20px 12px; }
  .ab-stats li + li { border-left: 0; }
  .ab-what, .ab-why, .ab-steps { grid-template-columns: 1fr; }
  .ab-band .cta-row { width: 100%; }
}

/* ================= Chữ tiêu đề + logo (Be Vietnam Pro) ================= */
:root { --head: "Be Vietnam Pro", "Roboto", system-ui, sans-serif; }
h1, h2, h3, .ab-stats b, .hero-stats b, .flt b { font-family: var(--head); }
.logo b { font-family: var(--head); font-weight: 800; font-size: 23px; letter-spacing: -.04em; color: #0f172a; background: none; -webkit-text-fill-color: currentColor; }
.logo b i { font-style: normal; background: linear-gradient(90deg, #2563eb, #7c3aed); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ================= Đầu trang chủ: chữ + ảnh người phụ trách ================= */
.hero2 { text-align: left; padding: calc(var(--hdr) + 44px) 0 56px; }
.hero2::after { background: radial-gradient(ellipse 40% 55% at 28% 48%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 75%); }
.h2-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
.team-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85);
  border: 1px solid #e2e4fb; box-shadow: 0 4px 14px rgba(79, 70, 229, .1); font-size: 14.5px; color: var(--text-2); backdrop-filter: blur(6px); }
.team-pill b { color: var(--text); }
.team-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: song2 2s ease-in-out infinite; }
@keyframes song2 { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.hero2 h1 { margin-top: 20px; font-size: clamp(36px, 4.8vw, 62px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.hero2 h1 .ai-line { display: block; padding-bottom: .08em; background: linear-gradient(90deg, #2563eb, #7c3aed 35%, #06b6d4 70%, #2563eb); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: chay-mau 6s linear infinite; }
@keyframes chay-mau { to { background-position: -200% 0; } }
.hero2 .sub { margin: 20px 0 0; max-width: 600px; text-shadow: none; }
.hero2 .cta { justify-content: flex-start; margin-top: 30px; }
.hero2 .ai-ask { margin: 34px 0 0; max-width: 600px; }
.hero2 .ai-note { text-align: left; }

.h2-photo { position: relative; justify-self: center; width: min(100%, 430px); }
.ph-card { position: relative; margin: 0; padding: 4px; border-radius: 34px; background: conic-gradient(from var(--ang), #2563eb, #7c3aed, #06b6d4, #16a34a, #7c3aed, #2563eb);
  animation: xoay 8s linear infinite; box-shadow: 0 40px 80px -36px rgba(79, 70, 229, .65); }
.ph-img { aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #eef2ff, #f5f3ff); }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-name { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px 18px; border-radius: 20px; background: rgba(15, 23, 42, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2); color: #e2e8f0; }
.ph-name b { display: block; font-family: var(--head); font-size: 21px; color: #fff; letter-spacing: -.01em; }
.ph-name span { font-size: 14px; }
.flt { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, .92);
  border: 1px solid #e4e6f7; box-shadow: 0 16px 34px -14px rgba(15, 23, 42, .35); font-size: 13.5px; color: var(--body); white-space: nowrap; backdrop-filter: blur(6px); animation: bong 5s ease-in-out infinite; }
.flt b { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.flt.f1 { top: 34px; left: -38px; font-weight: 700; color: #6d28d9; }
.flt.f1 i { font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ai); color: #fff; font-size: 14px; }
.flt.f2 { top: 44%; right: -44px; animation-delay: -1.6s; }
.flt.f3 { bottom: 120px; left: -48px; animation-delay: -3.2s; }
@keyframes bong { 50% { transform: translateY(-10px); } }

@media (max-width: 1100px) { .flt.f2 { right: -14px; } .flt.f1, .flt.f3 { left: -14px; } }
@media (max-width: 900px) {
  .h2-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .h2-txt { display: contents; } /* xếp lại: chữ → nút → ảnh → khung AI */
  .h2-photo { order: 1; margin-top: 36px; } .hero2 .ai-ask { order: 2; } .hero2 .ai-note { order: 3; }
  .team-pill { align-self: center; }
  .hero2 { text-align: center; }
  .hero2 .sub, .hero2 .ai-ask { margin-left: auto; margin-right: auto; }
  .hero2 .cta { justify-content: center; }
  .hero2 .ai-note { text-align: center; }
  .h2-photo { width: min(100%, 340px); align-self: center; }
}
@media (max-width: 640px) {
  .hero2 { padding-top: calc(var(--hdr) + 28px); }
  .team-pill { font-size: 13px; }
  .flt { padding: 8px 12px; font-size: 12.5px; } .flt b { font-size: 18px; }
  .flt.f1 { left: -6px; top: 18px; } .flt.f2 { right: -6px; } .flt.f3 { left: -6px; bottom: 104px; }
  .logo b { font-size: 21px; }
}

/* Thẻ người phụ trách — dùng chung trang chủ + Giới thiệu (21/10/2026: trang chủ đổi từ ảnh chữ nhật sang thẻ này) */
.founder .cv { padding: 6px 16px; font-size: 15.5px; font-weight: 700; letter-spacing: .1px; }
.founder .nm { font-family: var(--head); font-weight: 800; letter-spacing: -.02em; }
.founder-lg { width: 100%; padding: 38px 30px 30px; }
.founder-lg .ava { width: 230px; height: 230px; padding: 6px; }
.founder-lg .nm { font-size: 27px; }
.founder-lg .cv { margin-top: 8px; padding: 7px 18px; font-size: 17px; }
.founder-lg p { font-size: 15px; }
.fso { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; padding-top: 18px; border-top: 1px dashed #dfe2f3; }
.fso li { display: flex; flex-direction: column; align-items: center; }
.fso li + li { border-left: 1px solid #eceef8; }
.fso b { font-family: var(--head); font-size: 24px; font-weight: 800; letter-spacing: -.02em; background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fso span { font-size: 13px; color: var(--body); }
@media (max-width: 640px) { .founder-lg .ava { width: 190px; height: 190px; } .founder-lg .nm { font-size: 24px; } .founder-lg .cv { font-size: 15.5px; } .founder-lg { padding: 30px 20px 24px; } }

/* ===== Mẫu PowerPoint (trang mau-ppt.html, 04/11/2026) ===== */
.grid-ppt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ppc { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s; animation: gpVao .5s both; animation-delay: calc(var(--i, 0) * 70ms); }
.ppc:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(37, 99, 235, .55), var(--shadow-card); }
.ppc .im { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #eff6ff, #f5f3ff); }
.ppc .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .7s; }
.ppc .im .im2 { opacity: 0; transform: scale(1.06); }
.ppc:hover .im .im2 { opacity: 1; transform: scale(1); }
.ppc:hover .im img:first-child { transform: scale(1.05); }
.ppc .im .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; }
.ppc .pp-nhan { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.ppc .pp-nhan i { font-style: normal; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.ppc .pp-nhan .hot { background: var(--hot); }
.ppc .pp-nhan .new { background: var(--blue); }
.ppc .pp-nhan .off { background: #dc2626; }
.ppc .xem { position: absolute; left: 50%; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  background: rgba(15, 23, 42, .78); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(4px);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .35s cubic-bezier(.3, 1.3, .5, 1), opacity .3s; }
.ppc .xem svg { width: 14px; height: 14px; }
.ppc:hover .xem { transform: translate(-50%, 0); opacity: 1; }
.ppc .bd { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.pp-cd { font-size: 12.5px; font-weight: 600; color: var(--blue-d); letter-spacing: .01em; }
.ppc h3 { font-size: 17px; line-height: 1.4; font-weight: 700; color: var(--text); }
.ppc .gia { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.ppc .gia b, .pp-gia b { font-family: "Be Vietnam Pro", Roboto, sans-serif; font-size: 20px; font-weight: 800; color: #b91c1c; }
.ppc .gia s, .pp-gia s { font-size: 13.5px; color: var(--muted); }
.ppc .gia .lh, .pp-gia .lh { color: var(--green-d); font-size: 17px; }
.ppc-dat { display: grid; place-items: center; padding: 26px; text-align: center; background: linear-gradient(135deg, #eff6ff, #f5f3ff 60%, #ecfeff); border: 1.5px dashed #c7d2fe; box-shadow: none; }
.ppc-dat:hover { transform: none; box-shadow: none; }
.ppc-dat b { display: block; font-family: "Be Vietnam Pro", Roboto, sans-serif; font-size: 19px; color: var(--text); }
.ppc-dat p { margin: 8px 0 16px; font-size: 14.5px; }
.ppt-trong { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); }
/* Hộp xem mẫu */
.md.ppt .box { max-width: 1120px; padding: 26px; }
.pp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pp-main { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #0f172a; box-shadow: 0 16px 34px -18px rgba(15, 23, 42, .6); }
.pp-main img { width: 100%; height: 100%; object-fit: contain; }
.pp-main .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 60px; background: linear-gradient(135deg, #eff6ff, #f5f3ff); }
.pp-main .nv { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .9); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); color: var(--text); }
.pp-main .nv svg { width: 18px; height: 18px; }
.pp-main .prev { left: 10px; }
.pp-main .next { right: 10px; }
.pp-main .cnt { position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(15, 23, 42, .7); color: #fff; font-size: 12.5px; }
.pp-th { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pp-th button { flex: none; width: 104px; aspect-ratio: 16 / 9; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #f1f5f9; opacity: .65; transition: .2s; }
.pp-th button img { width: 100%; height: 100%; object-fit: cover; }
.pp-th button:hover { opacity: 1; }
.pp-th button.on { border-color: var(--blue); opacity: 1; }
.pp-tt h3 { margin-top: 4px; font-size: 23px; }
.pp-meta { margin-top: 6px; font-size: 14px; color: var(--body); }
.md .box .pp-tt ul { margin: 14px 0 16px; }
.pp-gia { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 14px 0 16px; }
.pp-gia b { font-size: 30px; }
.pp-ban { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.pp-gia .pp-ban { margin-left: 4px; font-size: 14px; }
.pp-tt .row { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-tt .row .btn { flex: 1 1 auto; }
.md .box .pp-ck { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 13.5px; }
.pp-bq { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pp-bq a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; }
/* Hộp thanh toán QR */
.md.pq-md .box { max-width: 620px; }
.pq h3 { margin-top: 4px; }
.pq-qr { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: center; margin: 18px 0 14px; padding: 16px; border-radius: 16px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2563eb, #06b6d4, #16a34a) border-box; border: 2px solid transparent; }
.pq-ma { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: #fff; }
.pq-ma svg { width: 100%; height: auto; display: block; }
.pq-qr dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0; font-size: 14.5px; }
.pq-qr dt { color: var(--muted); }
.pq-qr dd { margin: 0; color: var(--text); font-weight: 500; word-break: break-word; }
.pq-qr .pq-tien { font-family: "Be Vietnam Pro", Roboto, sans-serif; font-size: 22px; font-weight: 800; color: #b91c1c; }
.pq-cho { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; background: #eff6ff; color: var(--blue-d); font-size: 14.5px; font-weight: 500; }
.pq-cho #pqDem { color: var(--muted); font-weight: 400; }
.pq-chu { margin-top: 12px; font-size: 13.5px; color: var(--body); line-height: 1.55; }
.pq .spin { width: 18px; height: 18px; border: 2.5px solid #bfdbfe; border-top-color: var(--blue); border-radius: 50%; animation: pqQuay .8s linear infinite; }
@keyframes pqQuay { to { transform: rotate(360deg); } }
.pq-xong { text-align: center; }
.pq-ok { width: 74px; height: 74px; margin: 6px auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #16a34a, #06b6d4); box-shadow: 0 0 0 10px rgba(22, 163, 74, .12); animation: gpNay .6s cubic-bezier(.3, 1.6, .5, 1); }
.md .box .pq-xong h3 { padding-right: 0; }
.pq-tai { margin-top: 18px; width: 100%; justify-content: center; font-size: 16px; }
/* Mẫu đã mua + form đặt thiết kế */
.don-ppt { margin-top: 48px; padding: 22px 24px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.don-ppt h2 { font-size: 21px; }
.don-ppt > p { margin: 4px 0 12px; font-size: 14px; }
.don-ppt .dn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.don-ppt .dn span { display: flex; flex-direction: column; }
.don-ppt .dn small { color: var(--muted); font-size: 13px; }
.form .hai-o { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 1000px) { .grid-ppt { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
@media (max-width: 600px) {
  .grid-ppt { grid-template-columns: 1fr; gap: 18px; }
  .md.ppt .box { padding: 18px 14px; }
  .pp-th button { width: 84px; }
  .pq-qr { grid-template-columns: 1fr; justify-items: center; }
  .pq-qr .pq-ma { width: 220px; }
  .ppc .xem { transform: translate(-50%, 0); opacity: 1; }
  .don-ppt .dn { flex-direction: column; align-items: stretch; }
}

/* ===== Trang Mẫu PPT: tông cam đỏ đặc trưng PowerPoint (chủ dự án 04/11/2026) — chỉ áp cho body[data-page="ppt"] (hộp thoại cũng nằm trong body) ===== */
body[data-page="ppt"] {
  --pp: #c43e1c; --pp-2: #d24726; --pp-3: #ed6c47; --pp-4: #ff8f6b; --pp-soft: #fdeee9; --pp-line: #f6c4b3;
  background: radial-gradient(900px 560px at -5% -8%, rgba(237, 108, 71, .13), transparent 70%) no-repeat,
    radial-gradient(900px 560px at 105% -6%, rgba(196, 62, 28, .1), transparent 70%) no-repeat,
    linear-gradient(180deg, #fff4ef 0, #fff 820px) no-repeat, #fff;
}
body[data-page="ppt"] .page-top h1::before { content: "P"; display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; margin-right: .35em; vertical-align: -.12em;
  border-radius: .26em; font-size: .9em; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--pp-3), var(--pp) 70%);
  box-shadow: 0 8px 18px -8px rgba(196, 62, 28, .7); }
body[data-page="ppt"] .page-top h1::after { background: linear-gradient(90deg, var(--pp), var(--pp-3), var(--pp-4)); }
body[data-page="ppt"] .chips button:hover { border-color: var(--pp-line); color: var(--pp); }
body[data-page="ppt"] .chips button.on { background: var(--pp); border-color: var(--pp); color: #fff; }
/* Nhóm mẫu + ô tìm (04/11/2026) */
.ppt-loc { max-width: 560px; margin: 26px auto 0; }
.ppt-loc input { width: 100%; height: 50px; padding: 0 22px; border: 1px solid var(--pp-line); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--text);
  box-shadow: 0 10px 26px -18px rgba(196, 62, 28, .6); outline: none; transition: .2s; }
.ppt-loc input:focus { border-color: var(--pp-3); box-shadow: 0 0 0 4px rgba(237, 108, 71, .14); }
body[data-page="ppt"] .chips .so { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--pp-soft); color: var(--pp); font-size: 12px; font-weight: 700; }
body[data-page="ppt"] .chips button.on .so { background: rgba(255, 255, 255, .22); color: #fff; }
.ppt-nhom { scroll-margin-top: 110px; }
.ppt-nhom + .ppt-nhom { margin-top: 54px; }
.ppt-nhom-dau { margin-bottom: 20px; }
.ppt-nhom-dau h2 { margin: 0; font-family: "Be Vietnam Pro", Roboto, sans-serif; font-size: 25px; font-weight: 800; color: var(--text); }
.ppt-nhom-dau h2 small { margin-left: 8px; font-family: Roboto, sans-serif; font-size: 14px; font-weight: 500; color: var(--pp); vertical-align: 3px; }
.ppt-nhom-dau p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.ppt-cuoi { margin-top: 40px; }
.ppt-tim { margin: 0 0 18px; text-align: center; color: var(--text-2); }
.ppt-tim button { border: 0; background: none; color: var(--pp); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
body[data-page="ppt"] main .btn-green, body[data-page="ppt"] .md .btn-green { background: linear-gradient(135deg, var(--pp-2), var(--pp)); box-shadow: 0 8px 18px -6px rgba(196, 62, 28, .55); }
body[data-page="ppt"] main .btn-green:hover, body[data-page="ppt"] .md .btn-green:hover { background: linear-gradient(135deg, var(--pp), #a33315); }
body[data-page="ppt"] .ppc:hover { box-shadow: 0 22px 40px -22px rgba(196, 62, 28, .55), var(--shadow-card); }
body[data-page="ppt"] .ppc .im, body[data-page="ppt"] .pp-main .ph { background: linear-gradient(135deg, #fff1ec, #fde4da); }
body[data-page="ppt"] .ppc .pp-nhan .new { background: var(--pp-2); }
body[data-page="ppt"] .pp-cd { color: var(--pp); }
body[data-page="ppt"] .ppc .gia b, body[data-page="ppt"] .pp-gia b, body[data-page="ppt"] .pq-qr .pq-tien { color: #b7472a; }
body[data-page="ppt"] .ppc-dat { background: linear-gradient(135deg, #fff4ef, #fde9e1 60%, #fff); border-color: var(--pp-line); }
body[data-page="ppt"] .pp-th button.on { border-color: var(--pp-2); }
body[data-page="ppt"] .md .box li::before, body[data-page="ppt"] .steps li::before { background: var(--pp-soft); color: var(--pp); }
body[data-page="ppt"] .gp-ck li::before, body[data-page="ppt"] .pp-ck li::before { background: var(--pp-2); color: #fff; }
body[data-page="ppt"] .pq-qr { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--pp), var(--pp-3), var(--pp-4)) border-box; }
body[data-page="ppt"] .pq-cho { background: var(--pp-soft); color: var(--pp); }
body[data-page="ppt"] .pq .spin { border-color: var(--pp-line); border-top-color: var(--pp-2); }
body[data-page="ppt"] .pq-ok { background: linear-gradient(135deg, var(--pp-3), var(--pp)); box-shadow: 0 0 0 10px rgba(196, 62, 28, .12); }
body[data-page="ppt"] .form input:focus, body[data-page="ppt"] .form select:focus, body[data-page="ppt"] .form textarea:focus { border-color: var(--pp-2); box-shadow: 0 0 0 3px rgba(210, 71, 38, .15); }
body[data-page="ppt"] .don-ppt { border-top: 3px solid var(--pp-2); }
body[data-page="ppt"] .nav a.on { color: var(--pp); }
body[data-page="ppt"] .drawer .pn > a.on { color: var(--pp); background: var(--pp-soft); }

/* ================= Trang riêng cho Google (tools/seo.py): giới thiệu, hỏi đáp, 1 dịch vụ, 1 khoá học ================= */
.gt { max-width: 860px; display: grid; gap: 14px; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.hd { max-width: 860px; display: grid; gap: 10px; }
.hd details { border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: box-shadow .2s; }
.hd details[open] { box-shadow: 0 8px 22px -14px rgba(15, 23, 42, .25); }
.hd summary { position: relative; padding: 15px 48px 15px 18px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; }
.hd summary::-webkit-details-marker { display: none; }
.hd summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--green-d); transition: transform .2s; }
.hd details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hd details p { padding: 0 18px 16px; line-height: 1.7; color: var(--text-2); }
.svt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: start; padding: 38px 40px; text-align: left; }
.svt:hover { transform: none; }
.svt .art { margin: 0; color: #fff; }
.svt .art svg { width: 46px; height: 46px; }
.svt h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.svt .lead { margin-top: 12px; font-size: 17px; }
.svt .dash { margin-bottom: 26px; }
.svt .cta-row { max-width: 520px; }
.kht { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.kht .kimg { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 9; background: var(--navy); box-shadow: 0 10px 30px -14px rgba(15, 23, 42, .35); }
.kht .kimg img { width: 100%; height: 100%; object-fit: cover; }
.kht h1 { font-size: clamp(25px, 2.6vw, 33px); line-height: 1.3; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.kht .lead { margin-top: 12px; }
.kh-meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.kh-meta svg { width: 18px; height: 18px; color: var(--green); }
.kh-h { margin: 22px 0 10px; font-size: 16px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--text-2); }
@media (max-width: 760px) {
  .svt { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
  .kht { grid-template-columns: 1fr; gap: 24px; }
}
.kht ul.feat { list-style: none; display: grid; gap: 8px; color: var(--text-2); }
.kht ul.feat li { position: relative; padding-left: 16px; }
.kht ul.feat li::before { content: "•"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }

/* ===== Trang chính sách (chinh-sach-bao-mat · dieu-khoan-su-dung · chinh-sach-thanh-toan — data-page="policy") ===== */
.cs { padding-bottom: 72px; }
.cs-dau { padding: 4px 0 30px; }
.cs-dau h1 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.25; font-weight: 700; color: var(--text); letter-spacing: -.02em; text-wrap: balance; }
.cs-dau h1::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--brand); }
.cs-ngay { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.cs-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 40px; align-items: start; }
.cs-muc { position: sticky; top: calc(var(--hdr) + 22px); padding: 18px 16px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); font-size: 14.5px; }
.cs-muc summary, .cs-khac > b { display: block; margin: 0 10px 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.cs-muc summary { list-style: none; pointer-events: none; }
.cs-muc summary::-webkit-details-marker { display: none; }
.cs-muc ol { list-style: none; display: grid; gap: 1px; }
.cs-muc ol a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text-2); line-height: 1.45; transition: background .15s, color .15s; }
.cs-muc ol a:hover { background: var(--soft-2); color: var(--green-d); }
.cs-khac { display: grid; gap: 2px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.cs-khac a { padding: 5px 10px; border-radius: 8px; color: var(--blue-d); font-weight: 500; }
.cs-khac a:hover { background: #eff6ff; }
.cs-nd { max-width: 820px; display: grid; gap: 36px; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.cs-nd h2 { margin-bottom: 10px; font-size: 21px; line-height: 1.35; font-weight: 700; color: var(--text); }
.cs-nd h3 { margin: 18px 0 6px; font-size: 16.5px; font-weight: 700; color: var(--text); }
.cs-nd p + p, .cs-nd p + ul, .cs-nd ul + p, .cs-nd ol + p, .cs-nd ul + .cs-luu, .cs-nd p + .cs-luu { margin-top: 12px; }
.cs-nd ul { display: grid; gap: 6px; padding-left: 22px; }
.cs-nd li::marker { color: var(--green); }
.cs-nd b { color: var(--text); font-weight: 600; }
.cs-nd a { color: var(--blue-d); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cs-tt { padding: 22px 26px 24px; border: 1px solid #dbeafe; border-radius: 18px; background: linear-gradient(135deg, #eff6ff, #ecfeff 50%, #f0fdf4); }
.cs-tt h2 { font-size: 18px; }
.cs-tt ul { list-style: none; padding: 0; gap: 10px; }
.cs-tt li { position: relative; padding-left: 30px; }
.cs-tt li::before { content: "✓"; position: absolute; left: 0; top: .28em; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.cs-luu { padding: 14px 18px; border-left: 4px solid #f59e0b; border-radius: 0 12px 12px 0; background: #fffbeb; }
.cs-buoc { list-style: none; counter-reset: b; display: grid; gap: 12px; }
.cs-buoc li { counter-increment: b; position: relative; padding-left: 42px; min-height: 28px; }
.cs-buoc li::before { content: counter(b); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; }
.cs-th { display: grid; gap: 10px; }
.cs-th > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(60, 64, 67, .06); }
.cs-th b { line-height: 1.55; }
.cs-lh { list-style: none; padding: 0 !important; }
.copy .cs-lk { display: block; margin-top: 4px; font-size: 13.5px; }
.copy .cs-lk a { font-weight: 400; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; gap: 24px; }
  /* điện thoại: mục lục thu gọn, bấm "Nội dung" để mở (main.js › policy() đóng sẵn) */
  .cs-muc { position: static; padding: 0; }
  .cs-muc summary { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 14px 18px; pointer-events: auto; cursor: pointer;
    font-size: 15.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); }
  .cs-muc summary::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
  .cs-muc details[open] summary::after { transform: rotate(-135deg) translate(-3px, 0); }
  .cs-muc ol { grid-template-columns: 1fr 1fr; column-gap: 6px; padding: 0 8px 12px; }
  .cs-khac { display: none; }
}
@media (max-width: 560px) {
  .cs-muc ol { grid-template-columns: 1fr; }
  .cs-tt { padding: 18px 18px 20px; }
  .cs-th > div { grid-template-columns: 1fr; gap: 4px; }
  .cs-nd { gap: 30px; }
}
