/* K3 Vệ sinh — giao diện ưu tiên điện thoại
   HỆ THỐNG THIẾT KẾ: mọi màu, bo góc, khoảng cách lấy từ biến dưới đây. Cấm gõ cứng mã màu trong phần còn lại.
   --brand* : nền thương hiệu (đầu trang, nút chính) — giữ nguyên ở chế độ tối để chữ trắng luôn đọc được.
   --teal*  : màu nhấn cho chữ, viền, biểu tượng — sáng lên ở chế độ tối.
   MÀU (24/11/2026, theo ảnh mẫu anh Kha): nền #f4f8fd, chữ navy #102047, xanh K3 #0057c8 là màu chính,
   xanh lá #129447 cho biểu tượng, nền xanh lá nhạt #e8f8ea cho ưu đãi. Các biến --orange* giữ tên cũ nhưng nay mang màu XANH LÁ nhấn;
   đỏ (--red) chỉ còn cho lỗi/hủy. Số tiền dùng --price.
   Tương phản chữ thường ≥ 4.5:1 (đã kiểm: --muted/--bg 4.9, trắng/--brand 6.4, --price/--card 6.4,
   --orange-600/--card 5.4, trắng/--orange-btn 5.4, --ink/--bg 15.6; #129447 chỉ dùng cho biểu tượng (≥ 3:1); tối: --price/--card 8.4, --orange-600/--card 9.6). */
:root {
  /* thương hiệu */
  --brand: #0057c8;
  --brand-900: #003f96;
  --brand-glow: #2f86f0;
  --grad-brand: linear-gradient(135deg, #2f86f0 0%, #0057c8 55%, #003f96 100%);
  --grad-green: linear-gradient(135deg, #1fb35a 0%, #129447 100%);
  --glow: #9cc4ff;
  --navy: #102047;
  --sky: #e5f0fc;
  --price: #0057c8;
  --teal: #0057c8;
  --teal-600: #0057c8;
  --teal-100: #dceafc;
  --teal-50: #eef5fe;
  --tile: #e3effe;
  --orange: #129447;
  --orange-600: #0e7a3a;
  --orange-50: #e8f8ea;
  --orange-btn: #0e7a3a;
  --green-line: #bfe6c9;
  --sun: #ffb020;
  /* chữ và nền */
  --ink: #102047;
  --ink-soft: #2c3b58;
  --muted: #5a6782;
  --icon-muted: #a5b2c8;
  --bg: #f4f8fd;
  --card: #fff;
  --field: #fff;
  --field-off: #f3f5fa;
  --line: #dde4ef;
  --line-strong: #d0dcf0;
  --box-line: #b5c0d4;
  --disabled: #a2afc7;
  --page-a: #d9e6fa;
  --page-b: #eaf1fc;
  --page-c: #e9f8ee;
  /* trạng thái */
  --red: #c23a2b;
  --red-50: #fdeeec;
  --red-line: #f0c4be;
  --warn-50: #fff8e6;
  --warn-line: #f1c75b;
  --warn-ink: #8a5f00;
  --green: #0e7a3a;
  --green-50: #e8f8ea;
  --green-500: #129447;
  --blue: #3d4db7;
  --blue-50: #eef0ff;
  --off: #5f6b6d;
  --off-50: #eceff0;
  /* hình khối */
  --radius: 14px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --tap: 44px;
  --shadow: 0 1px 2px rgb(0 45 135 / .05), 0 8px 24px rgb(0 75 175 / .08);
  --shadow-lg: 0 16px 44px rgb(0 45 135 / .18);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

/* CHẾ ĐỘ TỐI — theo cài đặt của điện thoại/máy tính */
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #0057c8;
    --brand-900: #001f5e;
    --brand-glow: #0079e4;
    --grad-brand: linear-gradient(135deg, #0068c8 0%, #003f96 50%, #001f5e 100%);
    --glow: #2b5fb3;
    --price: #8fc0ff;
    --navy: #0b1630;
    --sky: #0f2140;
    --green-line: #1e5a33;
    --teal: #7fb5ff;
    --teal-600: #a6ccff;
    --teal-100: #15284a;
    --teal-50: #0f1f3a;
    --tile: #e3effe;
    --orange: #3ddc74;
    --orange-600: #6be596;
    --orange-50: #0f2e1b;
    --orange-btn: #00892e;
    --ink: #e6ecf7;
    --ink-soft: #c8d2e4;
    --muted: #9aa7bf;
    --icon-muted: #5b6a85;
    --bg: #0a1120;
    --card: #121b2d;
    --field: #18233a;
    --field-off: #101828;
    --line: #26324a;
    --line-strong: #2c3d5e;
    --box-line: #46557a;
    --disabled: #34425f;
    --page-a: #0f1a30;
    --page-b: #0b1220;
    --page-c: #0c1a14;
    --red: #ff8a7a;
    --red-50: #3a1d1a;
    --red-line: #5a2a24;
    --warn-50: #2f2710;
    --warn-line: #6b5520;
    --warn-ink: #f0c868;
    --green: #6be596;
    --green-50: #0f2e1b;
    --green-500: #3ddc74;
    --blue: #a6b1ff;
    --blue-50: #22264a;
    --off: #a5b0b2;
    --off-50: #262f2e;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 4px 16px rgb(0 0 0 / .25);
    --shadow-lg: 0 12px 40px rgb(0 0 0 / .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}
@media (min-width: 560px) {
  body { background: radial-gradient(circle at 20% 10%, var(--page-a), transparent 50%), linear-gradient(160deg, var(--page-b), var(--page-c)); }
}
a { color: var(--teal-600); }
h1, h2, h3, p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.ico { width: 22px; height: 22px; flex: none; }

.app {
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
@media (min-width: 560px) {
  .app { box-shadow: 0 10px 50px rgb(0 50 40 / .14); }
}
main { flex: 1; padding: 0 0 24px; }

/* ---------- Thanh trên ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); }
.top-brand { background: var(--brand); background-image: var(--grad-brand); color: #fff; }
.top-sub { background: var(--card); border-bottom: 1px solid var(--line); }
.top-sub h1 { font-size: 17px; font-weight: 700; }
.top-auth { display: none; }
.logo { display: inline-block; width: 1.45em; height: 1.45em; font-size: 26px; line-height: 1; vertical-align: middle; flex: none;
  background: url(../img/logo-k3.png) center / contain no-repeat; color: transparent; overflow: hidden; text-indent: 200%; white-space: nowrap;
  border-radius: 50%; background-color: #fff; box-shadow: 0 0 0 2px rgb(255 255 255 / .55), 0 0 18px rgb(156 196 255 / .75), 0 2px 8px rgb(0 30 90 / .25); text-decoration: none; }
.logo i { display: none; }
.logo-lg { font-size: 58px; }
.tag-demo { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; background: rgb(255 255 255 / .16); padding: 3px 8px; border-radius: 99px; }
.top-call { margin-left: auto; color: #fff; display: grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: 12px; background: rgb(255 255 255 / .12); }
.icon-btn { border: 0; background: none; width: var(--tap); height: var(--tap); margin-left: -8px; display: grid; place-items: center; border-radius: 12px; }
.icon-btn:hover { background: var(--teal-50); }

/* Đầu trang lớn cho trang đặt lịch (theo concept) */
.top-hero { position: relative; z-index: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 10px 16px 46px; color: #fff;
  background: var(--brand); background-image: var(--grad-brand); }
.hero-row { display: flex; align-items: center; justify-content: space-between; }
.top-hero .icon-btn { color: #fff; }
.top-hero .icon-btn:hover { background: rgb(255 255 255 / .12); }
.icon-btn-space { width: var(--tap); }
.top-hero .logo { font-size: 30px; }
.hero-title { display: flex; align-items: center; gap: 14px; }
.hero-tile { flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--tile); color: var(--brand); }
.hero-tile .ico { width: 32px; height: 32px; }
.hero-title h1 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; }
.hero-title p { font-size: 14px; opacity: .85; }
.has-hero main { position: relative; z-index: 1; margin-top: -28px; background: var(--card); border-radius: 26px 26px 0 0; }
.has-hero .card { background: none; box-shadow: none; margin: 0; padding: 14px 16px 6px; border-radius: 0; }
.has-hero .card + .card { border-top: 8px solid var(--bg); }
.has-hero .items .item { background: var(--field); }
.has-hero .stepper { padding-top: 20px; }
.req { color: var(--red); font-style: normal; font-weight: 700; }

/* ---------- Thanh dưới ---------- */
.nav, .bar { position: sticky; bottom: 0; z-index: 20; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.nav { display: grid; grid-template-columns: repeat(4, 1fr); }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font-size: 12px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav a { position: relative; }
.nav a.on { color: var(--teal); font-weight: 700; }
.nav a.on .ico { stroke-width: 2.3; }
.nav a.on::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 3px; background: var(--grad-green); }
.bar { display: flex; flex-direction: column; gap: 10px; padding: 10px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgb(10 30 70 / .06); }
.bar[hidden], .nav[hidden] { display: none; }
.bar-sum { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 10px 16px; border-radius: 14px; background: var(--teal-50); border: 1px solid var(--line-strong); }
.bar-sum span { font-size: 15px; font-weight: 600; color: var(--ink); grid-column: 1; }
.bar-sum strong { grid-column: 2; grid-row: 1 / span 2; font-size: 22px; font-weight: 800; color: var(--price); line-height: 1.2; font-variant-numeric: tabular-nums; text-align: right; }
.bar-sum small { grid-column: 1; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .btn { width: 100%; min-height: 52px; font-size: 16px; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-900); }
.btn.primary[aria-disabled="true"] { background: var(--disabled); }
.btn.ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger-ghost { background: var(--card); border-color: var(--red-line); color: var(--red); }
.btn.block { width: 100%; }
.btn .ico { width: 20px; height: 20px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Khối chung ---------- */
.pad { padding: 0 16px; }
.stack { display: grid; gap: 10px; margin-top: 8px; }
.intro { padding: 18px 16px 10px; }
.intro h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.intro p { color: var(--muted); margin-top: 4px; }
.section-title { font-size: 17px; font-weight: 800; padding: 20px 16px 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.section-title small, .card-title small { font-size: 12px; font-weight: 500; color: var(--muted); }
.card { background: var(--card); margin: 12px 16px; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-title .ico { color: var(--teal); }
.card > .card-title:not(:first-child) { margin-top: 18px; }
.hint { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.hint .ico { width: 16px; height: 16px; vertical-align: -3px; color: var(--teal); }
p.hint.pad { margin-top: 10px; }
.err { display: block; color: var(--red); font-size: 13px; font-weight: 500; margin-top: 6px; }
.badge { font-size: 11px; font-weight: 700; background: var(--orange-50); color: var(--orange-600); padding: 2px 8px; border-radius: 99px; }

.note { display: flex; gap: 10px; margin: 12px 16px; padding: 12px 14px; border-radius: 14px; font-size: 14px; border: 1px solid; }
.note .ico { width: 20px; height: 20px; margin-top: 1px; }
.note-info { background: var(--teal-50); border-color: var(--line-strong); }
.note-info .ico { color: var(--teal); }
.note-warn { background: var(--warn-50); border-color: var(--warn-line); }
.note-warn .ico { color: var(--warn-ink); }

/* ---------- Form ---------- */
.field { display: block; margin-bottom: 14px; }
.lbl { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--field); font-size: 16px; }
.field textarea { resize: vertical; min-height: 52px; }
.field input:focus, .field textarea:focus, .field select:focus, .area input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); }
.has-err input, .has-err textarea { border-color: var(--red); }
.form-err { background: var(--red-50); color: var(--red); font-size: 14px; padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line-strong); background: var(--teal-50); border-radius: 12px; padding: 9px 14px; font-size: 14px; font-weight: 600; min-height: var(--tap); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--teal); color: #fff; }
.chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* ---------- Đăng nhập ---------- */
.auth { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); position: relative; isolation: isolate; }
.auth::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 46%; min-height: 300px; background: var(--grad-brand); border-radius: 0 0 32px 32px; }
.auth-hero { color: #fff; padding: 48px 24px 28px; }
.auth-hero .eyebrow { margin-top: 26px; color: #b9f5c8; }
.auth-hero h1 { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; margin-top: 4px; }
.auth-card { background: var(--card); margin: 0 16px; padding: 22px 18px; border-radius: 22px; box-shadow: var(--shadow-lg); }
.auth-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--muted); }
.switch a { font-weight: 700; }
.auth-foot { text-align: center; font-size: 12px; color: var(--muted); padding: 20px 16px 28px; margin-top: auto; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

/* ---------- Trang chủ (theo concept k3-hai-nhom-dich-vu) ---------- */
.hello { background: var(--brand); color: #fff; padding: 2px 20px 92px; border-radius: 0 0 32px 32px;
  background-image: radial-gradient(70% 90% at 100% 0%, rgb(156 196 255 / .35) 0%, transparent 60%), var(--grad-brand); }
.hello h1 { font-size: 24px; font-weight: 700; letter-spacing: -.3px; }
.hero-photo { margin: -78px 16px 0; border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px rgb(0 50 40 / .18); background: var(--teal-100); aspect-ratio: 439 / 240; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.section-title.big { font-size: 21px; padding-top: 22px; }
.svc { display: flex; align-items: stretch; margin: 0 16px 14px; border-radius: 18px; background: var(--card); text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--line-strong); box-shadow: var(--shadow); overflow: hidden; transition: border-color .15s, transform .1s; }
.svc:hover { border-color: var(--teal-600); }
.svc:active { transform: scale(.99); }
.svc img { flex: none; width: 38%; object-fit: cover; display: block; }
.svc-body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 14px 14px; }
.svc-body b { font-size: 17px; font-weight: 800; color: var(--teal-900); line-height: 1.3; }
.svc-body small { color: var(--muted); font-size: 13px; margin-top: 4px; }
.pill { font-style: normal; align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 16px;
  border-radius: 10px; background: var(--brand); background-image: var(--grad-brand); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 14px rgb(0 75 175 / .28); }
.svc-body small + .pill { margin-top: 12px; }
.pill .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.upcoming, .hotline, .row-link { display: flex; align-items: center; gap: 12px; margin: 12px 16px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--ink); }
.upcoming { background: var(--teal-50); border: 1px solid var(--line-strong); }
.upcoming > .ico:first-child { color: var(--teal); }
.upcoming span { flex: 1; display: flex; flex-direction: column; }
.upcoming small { color: var(--muted); font-size: 13px; }
.hotline { background: var(--card); box-shadow: var(--shadow); }
.hotline > .ico { color: #fff; background: var(--brand); padding: 9px; width: 40px; height: 40px; border-radius: 12px; }
.hotline span { display: flex; flex-direction: column; }
.hotline small { color: var(--muted); font-size: 13px; }
.hotline b { font-size: 17px; }

/* ---------- Đặt lịch ---------- */
.stepper { list-style: none; display: flex; margin: 0; padding: 14px 16px 4px; gap: 6px; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); position: relative; text-align: center; }
.stepper li:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: var(--line); }
.stepper li.done:not(:last-child)::after { background: var(--brand); }
.stepper b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--field); border: 2px solid var(--line); font-size: 13px; }
.stepper b .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.stepper .now { color: var(--teal); font-weight: 700; }
.stepper .now b { border-color: var(--teal); background: var(--brand); color: #fff; }
.stepper .done b { border-color: var(--teal); color: var(--teal); }

.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 16px; }
.pkg { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--field); }
.pkg b { font-size: 16px; font-weight: 800; }
.pkg span { font-size: 13px; color: var(--muted); }
.pkg em { font-style: normal; font-weight: 700; color: var(--price); margin-top: 6px; font-variant-numeric: tabular-nums; }
.pkg[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 2px var(--teal) inset; }
.pkg-wide { grid-column: 1 / -1; }
.row-link { background: var(--card); box-shadow: var(--shadow); font-weight: 600; }
.row-link > .ico:last-child { margin-left: auto; color: var(--teal); }
.row-ico { width: 36px; height: 36px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 50%; }
.row-ico .ico { width: 18px; height: 18px; }

.items { display: grid; gap: 10px; padding: 0 16px; }
.item { background: var(--card); border-radius: 16px; border: 1.5px solid var(--line); overflow: hidden; }
.item.on { border-color: var(--teal); box-shadow: var(--shadow); }
.item.has-err { border-color: var(--red); }
.item-head { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 0; background: none; text-align: left; }
.box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--box-line); display: grid; place-items: center; margin-top: 1px; }
.item.on .box { background: var(--brand); border-color: var(--teal); color: #fff; }
.box .ico { width: 16px; height: 16px; stroke-width: 3; }
.item-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item-txt b { font-weight: 700; }
.item-txt small { color: var(--muted); font-size: 13px; }
.item-price { flex: none; font-weight: 800; color: var(--teal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-price i { font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); }
.item-body { padding: 12px 14px 14px; display: grid; gap: 12px; border-top: 1px dashed var(--line); min-width: 0; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.faces .chip { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; font-size: 13px; line-height: 1.3; }
.faces .chip small { font-weight: 500; opacity: .85; font-size: 12px; }
.area-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; }
.area { flex: 1 1 150px; min-width: 0; }
.area-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field); overflow: hidden; }
.area-input:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); }
.area input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font-size: 16px; font-weight: 600; background: none; }
.area input:focus { box-shadow: none; }
.area input:disabled { background: var(--field-off); color: var(--muted); }
.area-input i { font-style: normal; padding: 0 12px; color: var(--muted); font-weight: 600; }
.line-amt { flex: none; text-align: right; display: flex; flex-direction: column; padding-bottom: 6px; }
.line-amt span { font-size: 12px; color: var(--muted); }
.line-amt b { font-size: 16px; font-weight: 800; color: var(--price); font-variant-numeric: tabular-nums; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); min-height: var(--tap); }
.check input { width: 18px; height: 18px; accent-color: var(--teal); }

/* ---------- Xem lại ---------- */
.rows { margin: 0; display: grid; gap: 0; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.rows div:last-child { border-bottom: 0; }
.rows dt { color: var(--muted); flex: none; max-width: 48%; }
.rows dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.total-card div { display: flex; justify-content: space-between; align-items: baseline; }
.total-card strong { font-size: 24px; font-weight: 800; color: var(--price); }
.lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.lines th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 0 0 6px; }
.lines td { padding: 9px 0; border-top: 1px dashed var(--line); vertical-align: top; }
.lines td small { display: block; color: var(--muted); font-size: 12px; }
.lines td:nth-child(2), .lines th:nth-child(2) { text-align: right; padding: 9px 8px; white-space: nowrap; }
.lines td:last-child, .lines th:last-child { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines em { font-style: normal; font-weight: 600; color: var(--muted); font-size: 13px; }
.lines tfoot td { border-top: 2px solid var(--ink); font-weight: 800; padding-top: 10px; }
.lines tfoot td:last-child { color: var(--price); font-size: 17px; }

.terms h3 { font-size: 14px; font-weight: 700; margin: 14px 0 6px; }
.ticks, .dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.ticks li { display: flex; gap: 8px; }
.ticks .ico { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.6; margin-top: 2px; }
.dots li { padding-left: 16px; position: relative; }
.dots li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }

/* ---------- Quy trình ---------- */
.prose { background: var(--card); padding: 18px 16px; margin-bottom: 4px; }
.prose h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.prose h3 { font-size: 15px; font-weight: 700; margin: 16px 0 8px; }
.prose p { margin-bottom: 8px; color: var(--ink-soft); }
.rooms { margin: 0 16px 16px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.room { display: flex; gap: 14px; padding: 16px; align-items: center; }
.room + .room { border-top: 1px solid var(--line); }
.room-art { width: 76px; height: 62px; flex: none; }
.room b { font-size: 16px; }
.room p { color: var(--muted); font-size: 14px; }

/* ---------- Lịch hẹn ---------- */
.bk-list { display: grid; gap: 10px; padding: 0 16px; }
.bk { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.bk-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.bk-ico.ind { background: var(--teal-100); color: var(--teal); }
.bk-ico.home { background: var(--orange-50); color: var(--orange-600); }
.bk-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.bk-body b { font-weight: 700; }
.bk-body small { color: var(--muted); font-size: 13px; }
.bk-amt { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-amt em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; margin-top: 6px; }
.st-wait { background: var(--orange-50); color: var(--orange-600); }
.st-off { background: var(--off-50); color: var(--off); }
.detail-head h2 { font-size: 20px; font-weight: 800; margin-top: 8px; }
.detail-head .status { margin-top: 0; }
.detail-head p { color: var(--muted); font-size: 13px; }
.empty { text-align: center; padding: 40px 24px; display: grid; gap: 12px; justify-items: center; color: var(--muted); }
.empty > .ico { width: 48px; height: 48px; color: var(--icon-muted); }
.empty .btn { width: 100%; max-width: 300px; }

/* ---------- Bảng giá, tài khoản ---------- */
.table-wrap { overflow-x: auto; }
.grid { width: 100%; border-collapse: collapse; font-size: 14px; }
.grid th, .grid td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.grid thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
.grid tbody th { text-align: left; white-space: normal; font-weight: 600; }
.grid td { font-weight: 700; }
.profile { display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.profile b { font-size: 17px; display: block; }
.profile small { color: var(--muted); }
.contact p { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; font-size: 14px; }
.contact .ico { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }

/* ---------- Thông báo, hộp thoại ---------- */
#toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; max-width: calc(100% - 32px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
dialog { background: var(--card); color: var(--ink); border: 0; border-radius: 20px; padding: 22px; width: min(360px, calc(100% - 32px)); box-shadow: 0 20px 60px rgb(0 0 0 / .25); }
dialog::backdrop { background: rgb(0 30 26 / .45); }
dialog h2 { font-size: 18px; font-weight: 800; }
dialog p { color: var(--muted); margin: 6px 0 18px; }
.dlg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Bước vị trí ---------- */
.addr-list { display: grid; gap: 8px; padding: 0 16px; }
.addr { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--field); width: 100%; }
.addr[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-50); box-shadow: 0 0 0 1px var(--teal) inset; }
.addr-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-100); color: var(--teal); }
.addr-ico .ico { width: 20px; height: 20px; }
.addr-txt { display: flex; flex-direction: column; min-width: 0; }
.addr-txt b { font-weight: 700; overflow-wrap: anywhere; }
.addr-txt small { color: var(--muted); font-size: 13px; }
.addr-new { border-style: dashed; }
.addr-new .addr-ico { background: var(--orange-50); color: var(--orange-600); }
.addr-saved { display: grid; }
.addr-line { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.addr-line:last-child { border-bottom: 0; }
.addr-line div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.addr-line small { color: var(--muted); font-size: 13px; }
.link-btn { border: 0; background: none; color: var(--red); font-weight: 600; padding: 4px 8px; min-height: var(--tap); min-width: var(--tap); }

/* ---------- Thời gian làm việc ---------- */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scroll-snap-type: x mandatory; }
.day { flex: none; width: 74px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--field); }
.day small { font-size: 12px; color: var(--muted); font-weight: 600; }
.day b { font-size: 16px; font-weight: 800; }
.day i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 99px; white-space: nowrap; margin-top: 2px; }
.day em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.day-today em { color: var(--orange-600); }
.day-holiday em { color: var(--red); }
.day-weekend em { color: var(--blue); }
.day[aria-pressed="true"] em { color: #fff; }
.day-normal i { background: var(--teal-50); color: var(--teal); }
.day-weekend i { background: var(--blue-50); color: var(--blue); }
.day-holiday i { background: var(--red-50); color: var(--red); }
.day-today i { background: var(--orange-50); color: var(--orange-600); }
.day[aria-pressed="true"] { border-color: var(--teal); background: var(--brand); color: #fff; }
.day[aria-pressed="true"] small { color: rgb(255 255 255 / .75); }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; font-size: 12px; color: var(--muted); margin: 6px 0 14px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-normal { background: var(--brand); }
.dot-weekend { background: var(--blue); }
.dot-holiday { background: var(--red); }
.dot-today { background: var(--orange); }
.day-info { font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--teal-50); }
.day-info-weekend { background: var(--blue-50); }
.day-info-holiday { background: var(--red-50); }
.day-info-today { background: var(--orange-50); }
.time-pick { display: flex; align-items: flex-end; gap: 8px; }
.time-pick label { display: flex; flex-direction: column; }
.time-pick select { font-size: 22px; font-weight: 800; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--field); min-width: 84px; font-variant-numeric: tabular-nums; }
.time-pick select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); }
.time-pick.has-err select { border-color: var(--red); }
.colon { font-size: 24px; font-weight: 800; padding-bottom: 10px; }
.time-end { margin-left: auto; text-align: right; display: flex; flex-direction: column; padding-bottom: 8px; }
.time-end span { font-size: 12px; color: var(--muted); }
.time-end b { font-size: 20px; font-weight: 800; color: var(--teal); font-variant-numeric: tabular-nums; }
#time-err:empty { display: none; }

/* ---------- Thanh toán ---------- */
.sub { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.minus { color: var(--teal-600); font-weight: 700; }
.voucher { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.voucher-row { display: flex; gap: 8px; }
.voucher-row input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 16px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.voucher-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); }
.voucher-row .btn { min-height: 44px; padding: 0 14px; }
.voucher .ok { display: block; color: var(--teal-600); font-weight: 600; font-size: 13px; margin-top: 6px; }
.chips.small { margin-top: 8px; gap: 6px; }
.chips.small .chip { min-height: 36px; padding: 4px 10px; font-size: 12px; border-style: dashed; border-color: var(--orange); background: var(--orange-50); color: var(--orange-600); }
.grand { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 4px; border-top: 2px solid var(--ink); }
.grand span { font-weight: 700; }
.grand strong { font-size: 24px; font-weight: 800; color: var(--price); font-variant-numeric: tabular-nums; }
.pay-list { display: grid; gap: 8px; }
.pay { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--field); text-align: left; width: 100%; }
.pay[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-50); }
.radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--box-line); }
.pay[aria-pressed="true"] .radio { border: 6px solid var(--teal); }
.pay-txt { display: flex; flex-direction: column; }
.pay-txt small { color: var(--muted); font-size: 13px; }
.qr { text-align: center; margin-top: 12px; }
.qr img { max-width: 260px; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.sub-title { font-size: 14px; font-weight: 700; margin: 16px 0 4px; }
.st-ok { background: var(--teal-100); color: var(--teal); }
.st-done { background: var(--green-50); color: var(--green); }

/* ---------- Ưu đãi trang chủ ---------- */
.promo-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; }
.promo-card { flex: none; width: 170px; padding: 12px 14px; border-radius: 14px; background: var(--orange-50); border: 1.5px dashed var(--orange); display: flex; flex-direction: column; gap: 2px; }
.promo-card b { color: var(--orange-600); font-weight: 800; letter-spacing: .5px; }
.promo-card span { font-size: 13px; }

/* ---------- Trạng thái: khởi động · đang tải · lỗi · mất mạng ---------- */
#splash { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--brand); background-image: var(--grad-brand); color: #fff; transition: opacity .3s; }
#splash p { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #b9f5c8; }
#splash.out { opacity: 0; pointer-events: none; }
.net { position: sticky; top: 0; z-index: 60; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 8px 16px; }
.net[hidden] { display: none; }
.skel { padding: var(--sp-4); display: grid; gap: var(--sp-3); }
.sk { border-radius: 14px; background: linear-gradient(90deg, var(--line) 25%, var(--field-off) 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.sk-title { height: 26px; width: 55%; }
.sk-card { height: 110px; }
.sk-line { height: 16px; }
.sk-line.short { width: 40%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.state-err h2 { font-size: 18px; font-weight: 800; color: var(--ink); }
.state-err p { max-width: 320px; }
.state-err > .ico { color: var(--warn-ink); }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.policy h3 { margin-top: 18px; }
.policy .dots { margin-bottom: 8px; }
.hint.center { text-align: center; margin-top: 14px; }

/* ---------- Chọn địa chỉ theo cấp: tỉnh → phường/xã → số nhà ---------- */
.field select { appearance: none; padding-right: 40px; min-height: var(--tap);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:disabled { background: var(--field-off); color: var(--muted); }
.ward-list { margin-top: 6px; max-height: 260px; overflow-y: auto; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field); }
.ward-opt { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 12px 14px; min-height: var(--tap); font-size: 15px; }
.ward-opt:last-child { border-bottom: 0; }
.ward-opt:hover, .ward-opt:focus-visible { background: var(--teal-50); }
.ward-list .hint { padding: 10px 14px; margin: 0; }
.picked { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; min-height: var(--tap); border-radius: 12px; border: 1.5px solid var(--teal); background: var(--teal-50); }
.picked .ico { color: var(--teal); width: 20px; height: 20px; }
.picked b { flex: 1; }
.picked span { color: var(--teal); font-weight: 700; font-size: 14px; }

/* ---------- Bánh xe cuộn giờ, phút ---------- */
.time-pick { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.wheels { position: relative; display: flex; align-items: center; gap: 4px; padding: 0 6px; border-radius: 18px; background: var(--field); border: 1.5px solid var(--line); }
.time-pick.has-err .wheels { border-color: var(--red); }
/* dải chọn ở giữa */
.wheels::before { content: ''; position: absolute; left: 6px; right: 6px; top: 96px; height: 44px; /* 8px nhãn + 110px nửa bánh xe − 22px */ border-radius: 12px; background: var(--teal-50); border: 1.5px solid var(--teal); pointer-events: none; }
.wheel-col { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.wheel-col .lbl { position: absolute; top: 4px; font-size: 11px; color: var(--muted); margin: 0; z-index: 2; }
.wheel { position: relative; height: 220px; width: 76px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none; border-radius: 12px;
  /* mờ dần ở trên và dưới như đồng hồ điện thoại */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent); }
.wheel::-webkit-scrollbar { display: none; }
.wheel:focus-visible { box-shadow: 0 0 0 3px var(--sun); }
.wheel ul { list-style: none; margin: 0; padding: 88px 0; }
.wheel li { height: 44px; display: grid; place-items: center; scroll-snap-align: center; font-size: 20px; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums; cursor: pointer; user-select: none; transition: color .12s, font-size .12s; }
.wheel li.sel { font-size: 26px; font-weight: 800; color: var(--ink); }
.wheel li.off { opacity: .35; text-decoration: line-through; }
.wheels .colon { position: relative; z-index: 1; padding: 8px 0 0; font-size: 26px; font-weight: 800; }
.time-pick .time-end { margin-left: 0; text-align: left; }
@media (prefers-reduced-motion: reduce) { .wheel li { transition: none; } }

/* ---------- Ảnh hiện trạng ---------- */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--sp-2); margin-top: var(--sp-3); }
.photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--field-off); display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .6); color: #fff; font-size: 14px; }
.photo-add { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed var(--teal); background: var(--teal-50); color: var(--teal); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 700; cursor: pointer; }
.photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-add:focus-within { box-shadow: 0 0 0 3px var(--sun); }
.photo-add.busy { opacity: .6; cursor: progress; }

/* ---------- Đánh giá ---------- */
.stars { display: flex; gap: 6px; margin-bottom: var(--sp-3); }
.star { width: var(--tap); height: var(--tap); border: 0; background: none; font-size: 34px; line-height: 1; color: var(--line); padding: 0; }
.star.on { color: var(--sun); }
.stars-show { font-size: 26px; color: var(--sun); letter-spacing: 2px; margin-bottom: 6px; }
.review-done p { margin-bottom: 8px; }

/* ---------- Khác ---------- */
.ico-s { width: 14px; height: 14px; vertical-align: -2px; }
button.row-link { width: calc(100% - 32px); border: 0; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
.forgot { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }
.forgot summary { cursor: pointer; color: var(--teal-600); font-weight: 600; min-height: var(--tap); display: flex; align-items: center; justify-content: center; }
.forgot p { text-align: left; background: var(--teal-50); padding: 10px 12px; border-radius: 10px; }

/* ---------- Khung thanh toán QR ---------- */
.paybox { margin-top: var(--sp-3); padding: var(--sp-4); border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--teal-50); }
.paybox h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.paybox .qr { background: #fff; border-radius: 14px; padding: 8px; margin: var(--sp-3) auto; max-width: 280px; }
.paybox .qr img { border: 0; }
.paybox .rows dd { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.paybox .link-btn { min-height: 32px; padding: 2px 6px; font-size: 13px; }
.paid-claim { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--green-50); color: var(--green); font-weight: 600; font-size: 14px; margin-top: var(--sp-2); }
.paid-claim .ico { width: 18px; height: 18px; flex: none; }
.warn-ink { color: var(--warn-ink); }
.link-btn.teal { color: var(--teal-600); }
.note-pay { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--warn-50); border: 1px solid var(--warn-line); margin-bottom: 8px; }
.note-pay .ico { width: 18px; height: 18px; color: var(--warn-ink); flex: none; margin-top: 1px; }

/* ---------- Mở app ngân hàng ---------- */
.bank-apps { margin: var(--sp-3) 0; }
.bank-apps .lbl { margin-bottom: 8px; }
.bank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.bank-app { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--field); text-decoration: none; color: var(--ink); }
.bank-app b { font-size: 14px; line-height: 1.25; }
.bank-app small { font-size: 12px; color: var(--muted); }
.bank-app.fill { border-color: var(--teal); background: var(--card); }
.bank-app.fill small { color: var(--teal-600); font-weight: 700; }
.bank-app:active { transform: scale(.98); }
.bank-apps details summary { cursor: pointer; font-weight: 600; color: var(--teal-600); min-height: var(--tap); display: flex; align-items: center; }
.paybox > .btn.ghost { margin-top: 4px; }
.cancel-reason { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--red-50); color: var(--red); font-weight: 600; font-size: 14px; }
.cancel-reason .ico { width: 18px; height: 18px; flex: none; }

/* ---------- Ô chọn + bảng lướt chọn từ đáy màn hình ---------- */
.select-field { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--field); text-align: left; font-size: 16px; font-weight: 600; }
.select-field.empty span { color: var(--muted); font-weight: 500; }
.select-field span { flex: 1; }
.select-field > .ico:first-child { color: var(--teal); }
.select-field .chev-down { transform: rotate(90deg); color: var(--muted); width: 18px; height: 18px; }
.has-err .select-field { border-color: var(--red); }
dialog.sheet { margin: auto auto 0; width: 100%; max-width: 480px; padding: 0; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
dialog.sheet[open] { animation: sheet-up .22s ease-out; }
@keyframes sheet-up { from { transform: translateY(40%); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.sheet-bar b { font-size: 16px; }
.link-btn.strong { font-weight: 800; }
.sheet-wheel { position: relative; display: flex; justify-content: center; padding: 12px 16px 20px; }
.sheet-wheel::before { content: ''; position: absolute; left: 16px; right: 16px; top: calc(12px + 88px); height: 44px; border-radius: 12px; background: var(--teal-50); border: 1.5px solid var(--teal); pointer-events: none; }
.sheet-wheel .wheel { width: 100%; }
.sheet-wheel .wheel li { font-size: 18px; }
.sheet-wheel .wheel li.sel { font-size: 21px; }
@media (prefers-reduced-motion: reduce) { dialog.sheet[open] { animation: none; } }

/* ---------- Bánh xe gọn (3 dòng) — giờ khảo sát ---------- */
.wheels.compact { display: flex; align-items: center; justify-content: center; gap: 2px; width: 100%; max-width: 240px; padding: 0 8px; margin-top: 2px; }
.wheels.compact::before { top: 44px; left: 8px; right: 8px; }
.wheels.compact .wheel { height: 132px; width: 84px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); }
.wheels.compact .wheel ul { padding: 44px 0; }
.wheels.compact .wheel li { font-size: 19px; }
.wheels.compact .wheel li.sel { font-size: 24px; }
.wheels.compact .colon { padding: 0; font-size: 22px; }
.wheels.compact.bad { border-color: var(--red); }
#survey-err:empty { display: none; }

/* ---------- Dòng chọn giờ + bảng chọn giờ đáy màn hình (theo mẫu anh Kha gửi) ---------- */
.time-field { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 8px 8px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--field); text-align: left; }
.time-field > .ico { color: var(--ink-soft); width: 20px; height: 20px; }
.time-field > span:first-of-type { flex: 1; font-size: 15px; font-weight: 600; }
.tbox { display: flex; align-items: center; border-radius: 10px; background: var(--teal-50); min-width: 128px; height: 40px; }
.tbox b { flex: 1; text-align: center; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tbox i { width: 1.5px; height: 22px; background: var(--box-line); }
.has-err .time-field { border-color: var(--red); }
.time-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.time-sub small { color: var(--muted); font-size: 13px; }
.chip-mini { border: 1.5px solid var(--line); background: var(--field); border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 600; min-height: 36px; }
.chip-mini:active { background: var(--teal-50); }

.ts { padding: 8px 16px 18px; display: flex; flex-direction: column; align-items: stretch; }
.ts-handle { width: 44px; height: 5px; border-radius: 99px; background: var(--box-line); margin: 2px auto 14px; }
.ts-title { text-align: center; font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.ts-wheels { position: relative; display: flex; justify-content: center; gap: 24px; padding: 6px 12px; border-radius: 14px; background: var(--teal-50); }
.ts-wheels::before { content: ''; position: absolute; left: 12px; right: 12px; top: calc(6px + 72px); height: 36px; border-radius: 10px; background: var(--line); pointer-events: none; }
.ts-wheels .wheel { height: 180px; width: 72px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.ts-wheels .wheel ul { padding: 72px 0; }
.ts-wheels .wheel li { height: 36px; font-size: 17px; font-weight: 500; }
.ts-wheels .wheel li.sel { font-size: 20px; font-weight: 700; color: var(--ink); }
.ts-err { min-height: 20px; text-align: center; margin: 8px 0 6px; }
.ts-err:empty { visibility: hidden; }
.ts-ok { min-height: 52px; font-size: 16px; }

/* =========================================================
   TRANG CHỦ MỚI (11/2026): banner thương hiệu, lối tắt, lý do chọn K3, quy trình
   ========================================================= */
:root { --teal-900: var(--ink); }
.hello { padding: 4px 20px 96px; }
.hello p { font-size: 14px; opacity: .85; font-weight: 500; }
.hello h1 { font-size: 26px; font-weight: 800; }
.hm-banner { position: relative; margin: -80px 16px 0; border-radius: 22px; overflow: hidden; min-height: 190px; color: #fff; display: flex;
  background: linear-gradient(100deg, #002d87 0%, #004baf 44%, rgb(0 75 175 / .55) 70%, rgb(0 121 228 / .1) 100%), url(../img/hero.jpg) right center / cover no-repeat;
  box-shadow: 0 18px 40px rgb(0 45 135 / .3); }
.hm-banner::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-green); z-index: 1; }
.hm-banner::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgb(0 180 40 / .9); filter: blur(52px); opacity: .45; pointer-events: none; }
.hm-banner-t { position: relative; z-index: 1; padding: 18px 18px 18px; max-width: 74%; display: flex; flex-direction: column; align-items: flex-start; }
.hm-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .25); padding: 4px 10px; border-radius: 99px; }
.hm-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc74; box-shadow: 0 0 0 3px rgb(61 220 116 / .3); }
.hm-banner h2 { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.4px; margin-top: 10px; }
.hm-banner p { font-size: 13px; opacity: .92; margin-top: 6px; }
.hm-cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--brand); font-weight: 800; font-size: 14px; padding: 10px 12px 10px 16px; border-radius: 12px; text-decoration: none; box-shadow: 0 6px 16px rgb(0 0 0 / .18); }
.hm-cta .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.hm-cta:active { transform: scale(.97); }

.hm-next { display: flex; flex-direction: column; gap: 4px; margin: 14px 16px 0; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line-strong); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.hm-next-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hm-next-top b { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--teal); }
.hm-next-top .ico { width: 18px; height: 18px; }
.hm-next-top em { font-style: normal; }
.hm-next-when { font-size: 18px; font-weight: 700; }
.hm-next-when b { font-weight: 800; }
.hm-next-sub { font-size: 13px; color: var(--muted); }
.hm-next-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.hm-next-bar i { height: 5px; border-radius: 4px; background: var(--line); }
.hm-next-bar i.on { background: var(--brand); }

.hm-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 16px 0; }
.hm-quick a { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-size: 12.5px; font-weight: 600; text-align: center; }
.hm-quick span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); box-shadow: 0 0 0 4px var(--card), var(--shadow); transition: transform .12s; }
.hm-quick a:active span { transform: scale(.94); }
.hm-quick .ico { width: 26px; height: 26px; }
.hm-quick a:nth-child(2) span, .hm-quick a:nth-child(4) span { background: var(--orange-50); color: var(--orange-600); }

.svc-price { font-size: 13px; color: var(--muted); margin-top: 8px; }
.svc-price b { font-size: 16px; font-weight: 800; color: var(--price); }
.svc-body .svc-price + .pill { margin-top: 10px; }

.promo-card { position: relative; width: 190px; padding: 12px 14px 12px 46px; }
.promo-card i { position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 8px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.promo-card i .ico { width: 16px; height: 16px; }

.hm-why { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 16px; }
.hm-why div { background: var(--card); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.hm-why span { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; margin-bottom: 4px; }
.hm-why .ico { width: 22px; height: 22px; }
.hm-why b { font-size: 15px; font-weight: 800; }
.hm-why small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.hm-steps { list-style: none; counter-reset: st; margin: 0 16px; padding: 14px 16px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); display: grid; gap: 0; }
.hm-steps li { counter-increment: st; position: relative; padding: 0 0 16px 48px; display: flex; flex-direction: column; }
.hm-steps li:last-child { padding-bottom: 0; }
.hm-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.hm-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: var(--line-strong); }
.hm-steps li:last-child::before { background: var(--orange); }
.hm-steps b { font-size: 15px; font-weight: 800; line-height: 1.3; }
.hm-steps small { font-size: 13px; color: var(--muted); }

.hm-help { margin: 20px 16px 0; padding: 18px 16px; border-radius: 20px; color: #fff; display: flex; flex-direction: column; gap: 4px;
  background: var(--grad-brand); position: relative; overflow: hidden; }
.hm-help::after { content: ""; position: absolute; right: -50px; top: -60px; width: 170px; height: 170px; border-radius: 50%; background: rgb(0 180 40 / .35); filter: blur(50px); pointer-events: none; }
.hm-help > * { position: relative; z-index: 1; }
.hm-help b { font-size: 18px; font-weight: 800; }
.hm-help small { font-size: 13px; opacity: .9; }
.hm-help div { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; margin-top: 12px; }
.hm-help .btn { min-height: 48px; justify-content: center; font-size: 15px; }
.hm-help .btn.primary { background: #fff; color: var(--brand); }
.hm-help .btn.ghost { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .4); color: #fff; }
.hm-foot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 22px 24px 8px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.hm-foot b { color: var(--ink-soft); font-size: 12.5px; letter-spacing: .3px; }

/* Màn đăng nhập: 3 lợi ích */
.auth-points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.auth-points li { position: relative; padding-left: 26px; font-size: 14px; opacity: .95; }
.auth-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: rgb(255 255 255 / .22); font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* Chuyển trang mượt + phản hồi khi bấm */
@media (prefers-reduced-motion: no-preference) {
  #view > * { animation: k3in .28s ease-out both; }
  @keyframes k3in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.btn { transition: transform .1s, box-shadow .15s, background-color .15s; }
.btn:active { transform: scale(.98); }
.svc img { height: auto; align-self: stretch; min-height: 100%; }
.hm-help div { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.hm-help .btn { white-space: nowrap; font-size: 14.5px; padding: 0 10px; gap: 6px; }

/* ---------- Vòng quay tri ân (tiền tố wq-) ---------- */
.wq-wheel { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; margin: 0 auto 18px; }
.wq-wheel svg { display: block; width: 100%; height: 100%; }
/* SVG mặc định quay quanh góc trên trái (0 0), không phải tâm.
   Thiếu dòng này là quay xong bánh xe bay ra ngoài khung. */
#wq-rotor { transform-origin: 250px 250px; }
.wq-pin { position: absolute; left: 50%; top: -5px; transform: translateX(-50%); width: 0; height: 0;
  border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 28px solid var(--orange);
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .3)); z-index: 1; }
.wq-prize { margin: 6px 0 2px; font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--brand); }
.wq-won { border-top: 5px solid var(--orange); }
.hm-wheel { display: block; margin: 16px 16px 0; padding: 16px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(135deg, #00802a 0%, #00a222 45%, #0079e4 130%); color: #fff; box-shadow: 0 10px 26px rgb(0 128 42 / .25); }
.hm-wheel b { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.3; }
.hm-wheel b svg { width: 20px; height: 20px; flex: none; }
.hm-wheel small { display: block; margin-top: 6px; font-size: 13px; opacity: .9; line-height: 1.45; }
.hm-wheel .pill { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 6px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .18); font-style: normal; font-size: 13px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { #wq-rotor { transition-duration: .01s !important; } }

/* =========================================================
   GIAO DIỆN THEO LOGO K3 (24/11/2026)
   ========================================================= */
.section-title::before { content: ""; flex: none; align-self: center; width: 4px; height: 18px; border-radius: 3px; background: linear-gradient(180deg, var(--brand-glow), var(--orange)); }
.section-title.big::before { height: 22px; }
.nav { background: rgb(255 255 255 / .92); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
@media (prefers-color-scheme: dark) { .nav { background: rgb(18 27 45 / .9); } }
.svc { border: 1px solid var(--line); border-radius: 20px; }
.svc:hover { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.svc-body b { color: var(--ink); }
.hm-why div { border: 1px solid var(--line); border-radius: 18px; }
.hm-why div:nth-child(even) span { background: var(--orange-50); color: var(--orange-600); }
.hm-steps { border: 1px solid var(--line); }
.hm-steps li::before { background: var(--brand); background-image: var(--grad-brand); box-shadow: 0 0 0 4px var(--teal-50); }
.hm-steps li:last-child::before { background-image: var(--grad-green); box-shadow: 0 0 0 4px var(--orange-50); }
.hm-steps li:not(:last-child)::after { background: linear-gradient(180deg, var(--teal-100), var(--orange-50)); }
.hm-join { margin: 20px 16px 0; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.hm-join b { font-size: 16px; font-weight: 800; }
.hm-join small { font-size: 13px; color: var(--muted); }
.hm-join div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.hm-join .btn { min-height: 46px; }
.hm-foot .logo { font-size: 30px; margin-bottom: 8px; }
.promo-card { border-style: solid; }
#splash .logo-lg { box-shadow: 0 0 0 3px rgb(255 255 255 / .6), 0 0 48px rgb(156 196 255 / .9); }

/* =========================================================
   TRANG CHỦ THEO ẢNH MẪU (24/11/2026) — tiền tố tc-
   Đầu trang sáng · 2 thẻ dịch vụ cạnh nhau · dải ưu đãi · 4 lý do · 3 bước ngang · ưu đãi · khối navy
   ========================================================= */
/* Thanh trên sáng cho các trang có thanh điều hướng dưới */
.top-light { background: var(--card); background-image: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.is-home .top-light { background: var(--sky); border-bottom-color: transparent; }
.top-light .logo { box-shadow: 0 0 0 1px var(--line), 0 2px 10px rgb(0 87 200 / .15); }
.top-light .top-call { color: var(--brand); background: var(--card); border: 1px solid var(--line); }
.nav a.on { color: var(--brand); }
.nav a.on::after { background: var(--brand); }

.tc-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-50); color: var(--green-500); }
.tc-ic .ico { width: 20px; height: 20px; }

/* Phần mở đầu (24/11/2026, theo mẫu anh Kha): ảnh tràn nền bên phải, nền xanh nhạt phủ mờ dần từ trái
   để chữ luôn đọc rõ; khuôn mặt nhân viên nằm ở phần ảnh không bị phủ. */
.tc-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 270px; padding: 6px 16px 18px; background: var(--sky); border-radius: 0 0 24px 24px; }
.tc-hero::before { content: none; }
.tc-hero-img { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 54%; }
.tc-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 0% 28%;
  /* Mép trái và mép trên tan dần theo đường cong mềm (nhiều nấc) thay vì phủ lớp nền lên ảnh,
     nên không còn mảng "sương sữa" đè lên tóc, vai nhân viên. */
  --fade-x: linear-gradient(90deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .08) 8%, rgb(0 0 0 / .28) 18%, rgb(0 0 0 / .58) 29%, rgb(0 0 0 / .85) 40%, #000 50%);
  --fade-y: linear-gradient(180deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .4) 8%, rgb(0 0 0 / .85) 16%, #000 22%);
  -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y); mask-composite: intersect;
  /* hạ độ gắt của ảnh cho cùng tông sáng, nhẹ với web */
  filter: saturate(.86) brightness(1.05) contrast(.94); }
.tc-hero-t { position: relative; z-index: 2; max-width: 60%; }
.tc-hi { font-size: 15px; font-weight: 700; color: var(--brand); }
.tc-hero h1 { margin-top: 4px; font-size: 25px; line-height: 1.2; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.tc-tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: nowrap; width: max-content; align-items: center; }
.tc-tags li { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tc-tags li + li::before { content: ""; width: 1px; height: 14px; margin: 0 9px; background: var(--box-line); }
.tc-tags .ico { width: 16px; height: 16px; color: var(--green-500); stroke-width: 2.2; }
.tc-hero-act { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 16px; }
.tc-hero-act .btn { min-height: 46px; padding: 0 16px 0 20px; gap: 6px; border-radius: 12px; box-shadow: 0 8px 18px rgb(0 87 200 / .28); }
.tc-hero-act .btn .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.tc-link { display: inline-flex; align-items: center; gap: 2px; min-height: var(--tap); padding-left: 4px; font-size: 14px; font-weight: 700; color: var(--brand); text-decoration: none; }
.tc-link .ico { width: 16px; height: 16px; stroke-width: 2.4; }

/* Tiêu đề mục: vạch xanh lá ngắn bên trái */
.tc-title { display: flex; align-items: center; gap: 8px; padding: 22px 16px 12px; font-size: 18px; font-weight: 800; letter-spacing: -.2px; color: var(--ink); }
.tc-title::before { content: ""; flex: none; width: 4px; height: 18px; border-radius: 3px; background: var(--green-500); }

/* Hai thẻ dịch vụ cạnh nhau — giá và nút luôn ngang hàng nhờ margin-top: auto */
.tc-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
.tc-card { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.tc-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--teal-50); }
.tc-card-b { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 10px 10px 12px; }
.tc-card h3 { font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.tc-card p { margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.tc-price { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; }
.tc-price small { font-size: 12px; color: var(--muted); }
.tc-price b { font-size: 17px; font-weight: 800; color: var(--price); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-price span { flex-basis: 100%; font-size: 11.5px; color: var(--muted); }
.tc-card .btn { margin-top: 10px; width: 100%; min-height: 44px; padding: 0 8px; border-radius: 10px; font-size: 14px; }

/* Dải ưu đãi */
.tc-offer-strip { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); min-height: 54px; margin: 12px 16px 0; padding: 8px 14px 8px 9px;
  border-radius: 14px; border: 1px solid var(--green-line); background: var(--orange-50); color: var(--ink); text-align: left; }
.tc-offer-strip .tc-ic { background: var(--card); }
.tc-offer-strip b { flex: 1; font-size: 14.5px; font-weight: 700; }
.tc-offer-strip > .ico { width: 18px; height: 18px; color: var(--orange-600); stroke-width: 2.4; }
.tc-offer-strip:active { transform: scale(.99); }

/* Vì sao chọn K3: 2 × 2 */
.tc-why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
.tc-why div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.tc-why .tc-ic { margin-bottom: 4px; }
.tc-why b { font-size: 14px; font-weight: 800; line-height: 1.3; }
.tc-why small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* 3 bước nằm ngang, nối bằng mũi tên nét đứt */
.tc-steps { list-style: none; margin: 0 16px; padding: 16px 6px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.tc-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 4px; text-align: center; min-width: 0; }
.tc-steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: calc(50% + 30px); right: calc(-50% + 30px); border-top: 2px dashed var(--green-line); }
.tc-steps li:not(:last-child)::before { content: ""; position: absolute; top: 18px; right: calc(-50% + 29px); width: 7px; height: 7px; border-top: 2px solid var(--green-500); border-right: 2px solid var(--green-500); transform: rotate(45deg); }
.tc-steps .tc-ic { width: 44px; height: 44px; margin-bottom: 6px; }
.tc-steps .tc-ic .ico { width: 22px; height: 22px; }
.tc-steps b { font-size: 13.5px; font-weight: 800; }
.tc-steps small { font-size: 12px; line-height: 1.35; color: var(--muted); }

/* Ưu đãi + vòng quay */
.tc-offers { scroll-margin-top: 72px; outline: none; }
.tc-voucher { display: flex; align-items: center; gap: 12px; margin: 0 16px 10px; padding: 12px 14px 12px 10px; border-radius: 14px; background: var(--orange-50); border: 1.5px dashed var(--green-500); }
.tc-voucher .tc-ic { background: var(--card); }
.tc-voucher > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tc-voucher b { font-size: 16px; font-weight: 800; letter-spacing: .6px; color: var(--orange-600); }
.tc-voucher small { font-size: 13px; color: var(--ink); }
.tc-voucher em { flex: none; max-width: 82px; font-style: normal; font-size: 11.5px; line-height: 1.3; text-align: right; color: var(--muted); }
.tc-voucher-none { margin: 0 16px 10px; font-size: 14px; color: var(--muted); }
.tc-wheel { display: flex; align-items: center; gap: 12px; min-height: 58px; margin: 0 16px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.tc-wheel > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tc-wheel b { font-size: 14.5px; font-weight: 800; }
.tc-wheel small { font-size: 12.5px; color: var(--muted); }
.tc-wheel > .ico { width: 18px; height: 18px; color: var(--brand); stroke-width: 2.4; }

.tc-join { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 8px; margin: 16px 16px 0; font-size: 14px; color: var(--muted); }
.tc-join a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; color: var(--brand); text-decoration: none; }

/* Khối navy cuối trang */
.tc-cta { position: relative; overflow: hidden; margin: 22px 16px 0; padding: 20px 16px 18px; border-radius: 16px; background: var(--navy); color: #fff; }
.tc-cta::after { content: ""; position: absolute; right: -60px; top: -70px; width: 180px; height: 180px; border-radius: 50%; background: rgb(18 148 71 / .45); filter: blur(55px); pointer-events: none; }
.tc-cta > * { position: relative; z-index: 1; }
.tc-cta h2 { font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.2px; }
.tc-cta p { margin-top: 6px; font-size: 13.5px; opacity: .82; }
.tc-cta div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.tc-cta .btn { min-height: 48px; padding: 0 10px; white-space: nowrap; }
.tc-cta .btn.ghost { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .35); color: #fff; }
.is-home .hm-next { margin-top: 12px; }

/* Máy tính: căn giữa, mở rộng theo chiều ngang */
@media (min-width: 900px) {
  .is-home .app { max-width: 1080px; }
  .is-home main { padding: 0 24px 40px; }
  .is-home .top { padding-left: 40px; padding-right: 40px; }
  .is-home .nav { padding-left: calc(50% - 300px); padding-right: calc(50% - 300px); }
  .tc-hero { margin: 8px 16px 0; min-height: 380px; padding: 48px 48px 48px; border-radius: 24px; }
  .tc-hero-img { width: 46%; }
  .tc-hero-t { max-width: 56%; }
  .tc-hi { font-size: 17px; }
  .tc-hero h1 { font-size: 40px; }
  .tc-tags li { font-size: 14px; }
  .tc-hero-act { flex-direction: row; align-items: center; gap: 8px 18px; margin-top: 22px; }
  .tc-hero-act .btn { min-height: 52px; padding: 0 22px 0 28px; font-size: 16px; }
  .tc-title { font-size: 22px; padding-top: 32px; }
  .tc-svc, .tc-why { gap: 16px; }
  .tc-card-b { padding: 16px 18px 18px; }
  .tc-card h3 { font-size: 19px; }
  .tc-card p { font-size: 14px; }
  .tc-price b { font-size: 22px; }
  .tc-card .btn { width: auto; align-self: flex-start; min-width: 170px; padding: 0 22px; }
  .tc-why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tc-why div { padding: 18px; }
  .tc-steps { padding: 26px 16px 22px; }
  .tc-steps b { font-size: 15px; }
  .tc-steps small { font-size: 13px; }
  .tc-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding: 0 16px; gap: 0 16px; }
  .tc-offers .tc-title { grid-column: 1 / -1; padding-left: 0; }
  .tc-voucher, .tc-wheel, .tc-voucher-none { margin: 0 0 12px; }
  .tc-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 24px; padding: 28px 32px; }
  .tc-cta h2 { font-size: 24px; grid-column: 1; }
  .tc-cta p { grid-column: 1; }
  .tc-cta div { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; grid-template-columns: auto auto; }
  .tc-cta .btn { padding: 0 22px; }
}

/* Ưu đãi gọn (24/11/2026, theo mẫu anh Kha): chỉ hiện mã đầu, bấm "Xem ưu đãi" mở các mã còn lại */
.tc-voucher { border: 1px solid var(--green-line); background: var(--orange-50); padding: 10px 12px 10px 10px; min-height: 60px; }
button.tc-voucher { width: calc(100% - 32px); text-align: left; color: var(--ink); }
button.tc-voucher:active { transform: scale(.99); }
.tc-ticket { flex: none; position: relative; width: 38px; height: 30px; border-radius: 6px; display: grid; place-items: center;
  background: var(--grad-green); color: #fff; font-size: 17px; font-weight: 800; transform: rotate(-12deg); box-shadow: 0 3px 8px rgb(18 148 71 / .3); }
.tc-ticket::before, .tc-ticket::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--orange-50); }
.tc-ticket::before { left: -4px; }
.tc-ticket::after { right: -4px; }
.tc-voucher b { color: var(--ink); font-size: 16px; letter-spacing: .4px; }
.tc-voucher small { color: var(--muted); }
.tc-voucher-main em { flex: none; max-width: none; display: inline-flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.tc-voucher-main em .ico { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .15s; }
.tc-voucher-main[aria-expanded="true"] em .ico { transform: rotate(90deg); }
.tc-voucher-main em.tc-hint { font-weight: 500; font-size: 11.5px; color: var(--muted); white-space: normal; max-width: 82px; text-align: right; }
.tc-voucher-more { display: grid; }
.tc-voucher-more[hidden] { display: none; }
.tc-voucher-note { margin: -2px 16px 10px; font-size: 12.5px; color: var(--muted); }
@media (min-width: 900px) {
  .tc-voucher-main { grid-column: 1; }
  button.tc-voucher { width: 100%; }
  .tc-voucher-more { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .tc-voucher-note { grid-column: 1 / -1; margin: 0 0 12px; }
}

/* Điện thoại: ảnh hẹp nên rút ngắn vùng tan để khuôn mặt nhân viên không bị mờ */
@media (max-width: 899px) {
  .tc-hero-img img { --fade-x: linear-gradient(90deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .12) 6%, rgb(0 0 0 / .38) 13%, rgb(0 0 0 / .68) 20%, rgb(0 0 0 / .92) 27%, #000 32%); }
}

/* Phần mở đầu khớp mẫu anh Kha (24/11/2026): ảnh phòng khách áo xanh dương bên phải, thanh trên trắng,
   lời chào navy chữ thường, tiêu đề 3 dòng, nhãn có biểu tượng lớn, nút xanh chuyển sắc. */
.is-home .top-light { background: var(--card); border-bottom-color: var(--line); }
.tc-hero { border-radius: 0 0 22px 22px; padding: 18px 16px 18px; min-height: 0; }
.tc-hero-img { width: 50%; }
.tc-hero-img img { object-position: 100% 30%; filter: none;
  --fade-x: linear-gradient(90deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .35) 10%, rgb(0 0 0 / .75) 20%, #000 30%);
  --fade-y: linear-gradient(180deg, #000 0, #000 100%); }
.tc-hero-t { max-width: 68%; }
.tc-hi { font-size: 15px; font-weight: 500; color: var(--ink); }
.tc-hero h1 { margin-top: 10px; font-size: 25px; line-height: 1.22; letter-spacing: -.5px; color: var(--ink); }
.tc-tags { margin-top: 14px; }
.tc-tags li { gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.tc-tags .ico { width: 20px; height: 20px; stroke-width: 2; }
.tc-tags li + li::before { height: 18px; margin: 0 12px; background: var(--line-strong); }
.tc-hero-act { margin-top: 16px; gap: 6px; }
.tc-hero-act .btn { min-height: 44px; padding: 0 16px 0 22px; border-radius: 12px; background-image: linear-gradient(135deg, #2f86f0 0%, var(--brand) 60%); }
.tc-link { font-size: 14px; font-weight: 600; padding-left: 6px; }
@media (max-width: 899px) {
  .tc-hero-img img { --fade-x: linear-gradient(90deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .35) 10%, rgb(0 0 0 / .75) 20%, #000 30%); }
}
@media (min-width: 900px) {
  .tc-hero { padding: 48px; }
  .tc-hero-img { width: 44%; }
  .tc-hero-t { max-width: 56%; }
  .tc-hi { font-size: 17px; }
  .tc-hero h1 { font-size: 42px; }
  .tc-tags li { font-size: 15px; }
}

/* Ảnh giữ đúng tỉ lệ gốc (không phóng to cắt xén), cao bằng phần mở đầu, bám mép phải như mẫu */
.tc-hero-img { width: auto; left: auto; }
.tc-hero-img img { width: auto; height: 100%; max-width: none; }
.tc-hero { padding: 14px 16px 16px; }
.tc-tags { margin-top: 12px; }
.tc-tags li { font-size: 12px; gap: 5px; }
.tc-tags .ico { width: 18px; height: 18px; }
.tc-tags li + li::before { margin: 0 10px; height: 16px; }
.tc-hero-act { margin-top: 14px; gap: 2px; }
.tc-hero-act .btn { min-height: 44px; font-size: 15px; }
@media (min-width: 900px) {
  .tc-hero { padding: 48px; }
  .tc-tags li { font-size: 15px; }
  .tc-tags .ico { width: 20px; height: 20px; }
}

/* Điện thoại: ảnh cao cố định ~ như mẫu, neo góc dưới phải; mép trên tan vào nền nếu phần mở đầu cao hơn */
@media (max-width: 899px) {
  .tc-hero-img { top: auto; bottom: 0; height: 276px; }
  .tc-hero-img img { --fade-y: linear-gradient(180deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .6) 7%, #000 14%); }
  .tc-hero-act .btn { min-height: 42px; }
  .tc-link { min-height: 36px; }
}

/* Vùng tan mép trái ngắn lại (chỉ ~12% bề ngang ảnh) để không xóa mất cánh tay nhân viên */
.tc-hero-img img, .tc-hero-img img:where(*) { --fade-x: linear-gradient(90deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .45) 5%, rgb(0 0 0 / .85) 9%, #000 13%); }
@media (max-width: 899px) {
  .tc-hero-img img { --fade-x: linear-gradient(90deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / .45) 5%, rgb(0 0 0 / .85) 9%, #000 13%); }
}

/* Thanh dưới chia đều theo số mục thật (khách: 3 mục, đã đăng nhập: 4 mục), không chừa ô trống bên phải */
.nav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }

/* Thanh trên nổi bật (24/11/2026): logo có vầng sáng + tên thương hiệu 2 màu như logo, nút gọi dạng viên thuốc có số hotline */
.top-light { min-height: 64px; padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; gap: 12px;
  background: rgb(255 255 255 / .94); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgb(0 45 135 / .06); }
.is-home .top-light { background: rgb(255 255 255 / .94); }
@media (prefers-color-scheme: dark) { .top-light, .is-home .top-light { background: rgb(18 27 45 / .92); } }
.top-mark { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.top-mark .logo { font-size: 30px; box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--teal-100), 0 4px 14px rgb(0 87 200 / .25); }
.top-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.top-name b { font-size: 17px; font-weight: 800; letter-spacing: -.3px; color: var(--brand); white-space: nowrap; }
.top-name b em { font-style: normal; color: var(--green-500); }
.top-name small { margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-light .top-call.top-call-pill { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; width: auto; height: 44px; padding: 0 14px 0 5px;
  border: 0; border-radius: 99px; color: #fff; background: var(--brand); background-image: linear-gradient(135deg, #2f86f0 0%, var(--brand) 60%);
  box-shadow: 0 6px 16px rgb(0 87 200 / .3); text-decoration: none; }
.top-call-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .2); }
.top-call-ic .ico { width: 18px; height: 18px; }
.top-call-t { display: flex; flex-direction: column; line-height: 1.1; }
.top-call-t small { font-size: 10.5px; font-weight: 600; opacity: .85; }
.top-call-t b { font-size: 14px; font-weight: 800; letter-spacing: .2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.top-call-pill:active { transform: scale(.97); }
@media (prefers-reduced-motion: no-preference) {
  .top-call-ic { animation: k3ring 3s ease-in-out infinite; }
  @keyframes k3ring { 0%, 86%, 100% { transform: none; } 89% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 95% { transform: rotate(-8deg); } }
}
/* Điện thoại hẹp: bỏ dòng phụ, nút gọi chỉ còn biểu tượng + "Gọi" */
@media (max-width: 374px) {
  .top-name small { display: none; }
  .top-call-t small { display: none; }
  .top-call-t b { font-size: 0; }
  .top-call-t b::after { content: "Gọi"; font-size: 14px; }
}
@media (min-width: 900px) {
  .top-mark .logo { font-size: 34px; }
  .top-name b { font-size: 20px; }
  .top-name small { font-size: 13px; }
}

/* Nút Fanpage Facebook ở chân trang (24/11/2026) */
.fb-link { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 340px; min-height: 58px; margin: 4px auto 14px; padding: 8px 14px 8px 8px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; text-align: left; }
.fb-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #1877f2; color: #fff; box-shadow: 0 4px 12px rgb(24 119 242 / .35); }
.fb-ic .ico { width: 24px; height: 24px; }
.fb-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.fb-link small { font-size: 12px; color: var(--muted); }
.fb-link b { font-size: 15px; font-weight: 800; color: #1877f2; letter-spacing: 0; }
.fb-link > .ico { width: 18px; height: 18px; color: var(--muted); stroke-width: 2.4; }
.fb-link:active { transform: scale(.98); }
@media (prefers-color-scheme: dark) { .fb-link b { color: #6ea8ff; } }
.contact .ico.ico { color: var(--teal); }

/* Facebook + Zalo cạnh nhau ở chân trang (24/11/2026) */
.social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 380px; margin: 4px auto 14px; }
.social .fb-link { margin: 0; max-width: none; min-height: 60px; gap: 10px; padding: 8px 10px 8px 8px; }
.zl-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #0068ff; color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: -.2px; box-shadow: 0 4px 12px rgb(0 104 255 / .35); }
.zl-link b { color: #0068ff; }
@media (prefers-color-scheme: dark) { .zl-link b { color: #6ea8ff; } }
.zl-ic-s { display: inline-grid; width: 22px; height: 22px; font-size: 6.5px; vertical-align: -6px; margin-right: 2px; box-shadow: none; }

/* ---------- Cột liên hệ nổi bên trái: Facebook · Zalo · Gọi (24/11/2026, theo mẫu anh Kha) ---------- */
.fc { position: fixed; z-index: 40; left: max(10px, env(safe-area-inset-left)); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.fc-list { display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, opacity .2s ease; }
.fc-btn, .fc-toggle { pointer-events: auto; }
.fc-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  background: #fff; box-shadow: 0 6px 18px rgb(16 32 71 / .22); }
/* vòng tròn viền mảnh bao quanh như mẫu, có nhịp lan tỏa nhẹ */
.fc-btn::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .85);
  box-shadow: 0 0 0 1px rgb(16 32 71 / .08); pointer-events: none; }
.fc-btn::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; pointer-events: none; }
.fc-btn .ico { width: 26px; height: 26px; }
.fc-fb { color: #1877f2; }
.fc-fb .ico { width: 30px; height: 30px; }
.fc-zl { color: #0068ff; }
.fc-zl span { font-size: 14px; font-weight: 800; letter-spacing: -.3px; color: #0068ff; }
.fc-call { color: var(--brand); }
.fc-call .ico { stroke-width: 2.2; }
.fc-btn:active { transform: scale(.94); }
.fc-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .fc-btn::after { animation: fc-pulse 2.4s ease-out infinite; }
  .fc-zl::after { animation-delay: .8s; }
  .fc-call::after { animation-delay: 1.6s; }
  @keyframes fc-pulse { 0% { opacity: .55; transform: scale(.85); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
  .fc-call .ico { animation: k3ring 3s ease-in-out infinite; }
}
.fc-toggle { width: 34px; height: 34px; margin-top: 6px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgb(16 32 71 / .55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .25s ease; }
.fc-toggle .ico { width: 18px; height: 18px; stroke-width: 2.6; }
/* thu gọn: các nút trượt ra mép trái, mũi tên quay ngược */
.fc.closed .fc-list { transform: translateX(-90px); opacity: 0; pointer-events: none; }
.fc.closed .fc-list .fc-btn { pointer-events: none; }
.fc.closed .fc-toggle { transform: rotate(180deg); }
/* trang có thanh tổng tiền ở đáy (đặt lịch): đẩy cột lên một chút cho khỏi đè */
.has-hero .fc { top: 42%; }
@media (prefers-reduced-motion: reduce) { .fc-list, .fc-toggle { transition: none; } }
/* ẩn khi in */
@media print { .fc { display: none; } }

/* Cột liên hệ: đặt ở góc dưới trái, ngay trên thanh điều hướng, để không che nút chính giữa màn hình */
.fc { top: auto; transform: none; bottom: calc(78px + env(safe-area-inset-bottom)); }
.has-hero .fc { top: auto; }
/* trang đặt lịch có thanh tổng tiền ở đáy: đẩy cột lên trên thanh đó */
.has-bar .fc { bottom: calc(170px + env(safe-area-inset-bottom)); }
/* trang không có thanh dưới (đăng nhập, chi tiết...) */
body:not(.has-bar):has(#nav[hidden]) .fc { bottom: calc(20px + env(safe-area-inset-bottom)); }

/* Tiêu đề phần mở đầu luôn đủ 3 dòng trên điện thoại hẹp */
@media (max-width: 899px) {
  .tc-hero-t { max-width: 76%; }
  .tc-hero h1 { font-size: clamp(21px, 6.3vw, 25px); }
}

/* ---------- Khung giới thiệu Zalo của K3 (bố cục như trang hồ sơ Zalo) ---------- */
dialog.zc-dlg { width: min(760px, calc(100% - 24px)); max-width: none; padding: 28px 28px 26px; border-radius: 18px; }
dialog.zc-dlg::backdrop { background: rgb(16 32 71 / .5); }
.zc-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--field-off);
  color: var(--muted); font-size: 24px; line-height: 1; display: grid; place-items: center; }
.zc { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: start; }
.zc-head { display: flex; gap: 22px; align-items: flex-start; }
.zc-logo.logo { font-size: 72px; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0068ff22, 0 6px 18px rgb(0 87 200 / .2); }
.zc-id { flex: 1; min-width: 0; }
.zc-id h2 { font-size: 24px; font-weight: 800; color: var(--ink); }
.zc-id p { margin: 6px 0 16px; color: var(--muted); font-size: 15px; }
.zc-msg { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 300px; min-height: 50px; border-radius: 10px;
  background: #0068ff; color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px rgb(0 104 255 / .3); }
.zc-msg:hover { background: #0057d6; }
.zc-msg .ico { width: 22px; height: 22px; }
.zc-main h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 800; color: var(--ink); }
.zc-about { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.zc-qr { margin: 0; text-align: center; }
.zc-qr img { display: block; width: 100%; height: auto; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 4px 18px rgb(16 32 71 / .12); }
.zc-qr figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
/* Điện thoại: xếp dọc, QR nhỏ lại ở cuối */
@media (max-width: 640px) {
  dialog.zc-dlg { padding: 22px 18px 20px; }
  .zc { grid-template-columns: 1fr; gap: 18px; }
  .zc-head { gap: 14px; }
  .zc-logo.logo { font-size: 50px; }
  .zc-id h2 { font-size: 20px; padding-right: 30px; }
  .zc-id p { margin: 4px 0 12px; font-size: 14px; }
  .zc-msg { max-width: none; }
  .zc-main h3 { margin-top: 20px; font-size: 17px; }
  .zc-about { font-size: 14px; }
  .zc-qr { max-width: 200px; margin: 0 auto; }
}

/* ---------- Trang Bảng giá (24/11/2026): thẻ giá thay cho bảng, số tiền to, nổi phương án có lợi ---------- */
.bg-hero { margin: 0 0 4px; padding: 18px 16px 20px; background: var(--sky); border-radius: 0 0 24px 24px; }
.bg-hero h1 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.bg-hero > p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.bg-jump { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.bg-jump button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--brand); font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow); }
.bg-jump .ico { width: 18px; height: 18px; }
.bg-sec { scroll-margin-top: 76px; outline: none; }
.bg-unit { margin-left: auto; padding: 3px 9px; border-radius: 99px; background: var(--teal-50); color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }

/* Kính: thẻ + 3 ô giá */
.bg-stack { display: grid; gap: 12px; padding: 0 16px; }
.bg-card { padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.bg-card-h { display: flex; gap: 12px; align-items: flex-start; }
.bg-card-h h3 { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.bg-card-h p { margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.bg-faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.bg-face { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px 10px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); text-align: center; min-width: 0; }
.bg-face > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.bg-face b { font-size: 17px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.bg-face small { font-size: 11px; color: var(--muted); margin-top: -2px; }
.bg-face.best { background: var(--teal-50); border: 1.5px solid var(--brand); }
.bg-face.best b { color: var(--brand); }
.bg-save { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 99px; white-space: nowrap;
  background: var(--orange-btn); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; }
.bg-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 16px 0; font-size: 12.5px; color: var(--muted); }
.bg-note .ico { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--brand); }

/* Hạng mục khác */
.bg-flat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
.bg-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.bg-item .tc-ic { margin-bottom: 4px; }
.bg-item > b { font-size: 13.5px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.bg-item > small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.bg-price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 2px; }
.bg-price b { font-size: 17px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.bg-price span { font-size: 11.5px; color: var(--muted); }
.bg-combo { position: relative; display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 18px 14px 14px; border-radius: 16px;
  background: var(--orange-50); border: 1.5px solid var(--green-500); }
.bg-ribbon { position: absolute; top: -11px; left: 14px; padding: 2px 10px; border-radius: 99px; background: var(--orange-btn); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .3px; }
.bg-combo-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bg-combo-t b { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.bg-combo-t small { font-size: 12.5px; color: var(--muted); }
.bg-combo-t em { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--orange-600); }
.bg-combo-t em .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.bg-combo .bg-price { margin: 0; padding: 0; flex-direction: column; align-items: flex-end; gap: 0; }
.bg-combo .bg-price b { font-size: 22px; color: var(--orange-600); }
.bg-src { margin: 12px 16px 0; font-size: 12px; color: var(--muted); }
.bg-cta { width: calc(100% - 32px); margin: 14px 16px 0; min-height: 50px; gap: 4px; }
.bg-cta .ico { width: 18px; height: 18px; stroke-width: 2.4; }

/* Nhà ở: lưới gói */
.bg-pk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
.bg-pk-i { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); min-width: 0; }
.bg-area { color: var(--ink); font-size: 14px; font-weight: 600; }
.bg-area small { font-size: 12px; color: var(--muted); font-weight: 500; }
.bg-area b { font-size: 26px; font-weight: 800; letter-spacing: -.6px; }
.bg-meta { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.bg-meta .ico { width: 14px; height: 14px; color: var(--green-500); }
.bg-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--box-line); margin: 0 3px; }
.bg-pk-p { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 18px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.bg-sub { margin: 20px 16px 10px; font-size: 15px; font-weight: 800; color: var(--ink); }
.bg-sur { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
.bg-sur > div { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.bg-sur span { display: flex; flex-direction: column; min-width: 0; }
.bg-sur span b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.bg-sur span small { font-size: 11.5px; color: var(--muted); }
.bg-sur em { font-style: normal; font-size: 15px; font-weight: 800; color: var(--warn-ink); white-space: nowrap; }
.bg-sur .ok { background: var(--orange-50); border-color: var(--green-line); }
.bg-sur .ok em { font-size: 12px; color: var(--orange-600); white-space: normal; text-align: right; }

/* Điện thoại hẹp: 3 hạng mục khác xếp 1 cột ngang cho dễ đọc */
@media (max-width: 389px) {
  .bg-flat { grid-template-columns: 1fr; }
  .bg-item { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
  .bg-item .tc-ic { grid-row: 1 / span 2; margin: 0; }
  .bg-item > small { grid-column: 2; }
  .bg-item .bg-price { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
}
@media (min-width: 560px) {
  .bg-pk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.bg-sec .tc-title { flex-wrap: wrap; row-gap: 6px; }
.bg-sec .tc-title .bg-unit { margin-left: auto; }
.btn.block.bg-cta { width: calc(100% - 32px); }

/* Giá trọn gói: "30.000đ/m²" trên cùng một dòng */
.bg-combo .bg-price { flex: none; flex-direction: row; align-items: baseline; gap: 1px; white-space: nowrap; }
.bg-combo .bg-price span { font-size: 13px; font-weight: 700; color: var(--orange-600); }

/* ---------- Băng rôn Vòng quay tri ân ngay dưới phần mở đầu (24/11/2026) ---------- */
.wq-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 10px;
  align-items: center; margin: 14px 16px 0; padding: 14px 14px 14px 12px; border-radius: 18px; text-decoration: none; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgb(255 210 74 / .35) 0%, transparent 45%), linear-gradient(120deg, #0e7a3a 0%, #129447 40%, #0057c8 120%);
  box-shadow: 0 12px 28px rgb(14 122 58 / .3); isolation: isolate; }
/* chấm sáng lấp lánh */
.wq-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at 18% 22%, #fff 0 1.5px, transparent 2px), radial-gradient(circle at 62% 14%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 70%, #fff 0 1.5px, transparent 2px), radial-gradient(circle at 46% 86%, #fff 0 1px, transparent 1.5px); }
.wq-art { grid-row: 1 / span 2; position: relative; width: 84px; height: 84px; flex: none; }
.wq-disc { position: absolute; inset: 0; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 6px 16px rgb(0 0 0 / .25), inset 0 0 0 2px rgb(255 255 255 / .4);
  background: conic-gradient(#ffd24a 0 45deg, #0057c8 0 90deg, #fff 0 135deg, #ff6b4a 0 180deg, #ffd24a 0 225deg, #0057c8 0 270deg, #fff 0 315deg, #129447 0 360deg); }
.wq-hub { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand); font-size: 11px; font-weight: 800; box-shadow: 0 2px 6px rgb(0 0 0 / .25); }
.wq-tip { position: absolute; left: 50%; top: -6px; width: 0; height: 0; margin-left: -8px; border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 14px solid #ffd24a; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .3)); }
.wq-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wq-txt em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #ffe27a; }
.wq-txt em .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.wq-txt b { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.3px; }
.wq-txt small { font-size: 12.5px; line-height: 1.4; opacity: .92; }
.wq-go { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 2px; min-height: 38px; padding: 0 12px 0 16px; border-radius: 99px;
  background: #ffd24a; color: #102047; font-size: 14px; font-weight: 800; box-shadow: 0 4px 12px rgb(0 0 0 / .2); }
.wq-go .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.wq-banner:active { transform: scale(.99); }
@media (prefers-reduced-motion: no-preference) {
  .wq-disc { animation: wq-spin 6s linear infinite; }
  .wq-go { animation: wq-pulse 2s ease-in-out infinite; }
  @keyframes wq-spin { to { transform: rotate(360deg); } }
  @keyframes wq-pulse { 0%, 100% { box-shadow: 0 4px 12px rgb(0 0 0 / .2), 0 0 0 0 rgb(255 210 74 / .7); } 60% { box-shadow: 0 4px 12px rgb(0 0 0 / .2), 0 0 0 8px rgb(255 210 74 / 0); } }
}
@media (min-width: 900px) {
  .wq-banner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; margin-top: 20px; padding: 18px 26px; column-gap: 22px; }
  .wq-art { grid-row: auto; width: 96px; height: 96px; }
  .wq-txt b { font-size: 24px; }
  .wq-txt small { font-size: 14px; }
  .wq-go { grid-column: 3; justify-self: end; min-height: 48px; padding: 0 18px 0 24px; font-size: 16px; }
}

/* ---------- Trang Vòng quay tri ân (24/11/2026): sân khấu bánh xe, đèn viền, kim vàng, thẻ giải ---------- */
.vq-hero { position: relative; overflow: hidden; margin: 0 0 6px; padding: 20px 16px 22px; color: #fff; text-align: center;
  background: radial-gradient(90% 120% at 50% 0%, rgb(255 210 74 / .28) 0%, transparent 55%), linear-gradient(160deg, #0057c8 0%, #102047 100%);
  border-radius: 0 0 28px 28px; }
.vq-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: radial-gradient(circle at 12% 30%, #ffd24a 0 2px, transparent 2.5px), radial-gradient(circle at 86% 22%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 72% 78%, #ffd24a 0 1.5px, transparent 2px), radial-gradient(circle at 24% 84%, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 50% 10%, #fff 0 1px, transparent 1.5px); }
.vq-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; background: rgb(255 255 255 / .14);
  color: #ffe27a; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.vq-kicker .ico { width: 14px; height: 14px; }
.vq-hero h1 { margin-top: 10px; font-size: 30px; font-weight: 800; letter-spacing: -.6px; line-height: 1.15; }
.vq-hero > p { margin-top: 6px; font-size: 14px; opacity: .88; }
.vq-badges { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.vq-badges li { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 99px; background: rgb(255 255 255 / .12);
  border: 1px solid rgb(255 255 255 / .22); font-size: 12px; font-weight: 700; }
.vq-badges .ico { width: 14px; height: 14px; color: #ffd24a; }

.vq-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 16px 0; }
.vq-wheel { position: relative; width: min(100%, 360px); aspect-ratio: 1; filter: drop-shadow(0 18px 30px rgb(16 32 71 / .3)); }
.vq-wheel > svg:first-child { display: block; width: 100%; height: 100%; }
.vq-pointer { position: absolute; left: 50%; top: -14px; width: 46px; height: 57px; transform: translateX(-50%); filter: drop-shadow(0 3px 4px rgb(0 0 0 / .35)); z-index: 2; }
.vq-base { width: 140px; height: 18px; margin-top: -4px; border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(180deg, #0057c8, #102047); box-shadow: 0 10px 18px rgb(16 32 71 / .25); }
.vq-bulb { fill: #ffd24a; }
.vq-bulb.b { fill: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .vq-bulb { animation: vq-blink 1.2s steps(1) infinite; }
  .vq-bulb.b { animation-delay: .6s; }
  .vq-stage.spinning .vq-bulb { animation-duration: .3s; }
  @keyframes vq-blink { 0% { opacity: 1; } 50% { opacity: .35; } }
}

.vq-act { margin: 20px 16px 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.vq-act > p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.btn.vq-btn { min-height: 54px; border: 0; border-radius: 14px; font-size: 17px; font-weight: 800; letter-spacing: .5px; color: #102047;
  background: linear-gradient(180deg, #ffe27a 0%, #ffc21a 100%); box-shadow: 0 8px 20px rgb(255 178 0 / .4), inset 0 -3px 0 rgb(0 0 0 / .12); }
.btn.vq-btn:disabled { opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .btn.vq-btn:not(:disabled) { animation: wq-pulse 2s ease-in-out infinite; }
}

.vq-won { position: relative; overflow: hidden; margin: 20px 16px 0; padding: 20px 16px 16px; text-align: center; border-radius: 20px;
  background: linear-gradient(160deg, #fff8dc 0%, #fff 60%); border: 2px solid #ffd24a; box-shadow: 0 12px 28px rgb(255 178 0 / .25); }
.vq-confetti { position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background: radial-gradient(circle at 10% 20%, #e63e62 0 3px, transparent 3.5px), radial-gradient(circle at 85% 15%, #0057c8 0 3px, transparent 3.5px),
    radial-gradient(circle at 20% 80%, #129447 0 2.5px, transparent 3px), radial-gradient(circle at 92% 70%, #ffc21a 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 8%, #2ec4b6 0 2.5px, transparent 3px); }
.vq-won-k { position: relative; font-size: 14px; font-weight: 700; color: var(--orange-600); }
.vq-won h2 { position: relative; margin-top: 6px; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.vq-won-v { position: relative; margin-top: 4px; font-size: 14px; color: var(--muted); }
.vq-won-v b { color: var(--brand); }
.vq-won-t { position: relative; margin: 12px 0 14px; font-size: 14px; color: var(--ink-soft); text-align: left; }

.vq-prizes { display: grid; gap: 8px; padding: 0 16px; }
.vq-prize { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.vq-rank { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: var(--c); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .15); text-shadow: 0 1px 2px rgb(0 0 0 / .35); }
.vq-prize-t { display: flex; flex-direction: column; min-width: 0; }
.vq-prize-t b { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.vq-prize-t small { font-size: 12.5px; color: var(--muted); }
.vq-prize.out { opacity: .5; }
.vq-prize.out small { color: var(--red); font-weight: 700; }
.vq-steps { margin-bottom: 8px; }

/* ---------- Vòng quay: bấm vào tâm K3 để quay + dải khách vừa trúng chạy lên (24/11/2026) ---------- */
.vq-hub { position: absolute; left: 50%; top: 50%; z-index: 3; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; padding: 0; border-radius: 50%; border: 5px solid #ffd24a; background: #fff; cursor: pointer;
  box-shadow: 0 6px 18px rgb(16 32 71 / .35), inset 0 -4px 0 rgb(0 0 0 / .06); }
.vq-hub img { width: 78%; height: auto; margin-top: -10%; pointer-events: none; }
.vq-hub span { position: absolute; bottom: 11%; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: clamp(9px, 2.6vw, 11px); font-weight: 800; letter-spacing: .6px; color: #e63e62; }
.vq-hub:active { transform: translate(-50%, -50%) scale(.94); }
.vq-hub:focus-visible { outline: 4px solid var(--sun); outline-offset: 4px; }
.vq-hub.busy { pointer-events: none; }
.vq-hub.busy span { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .vq-hub.ready::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid #ffd24a; pointer-events: none;
    animation: vq-ring 1.6s ease-out infinite; }
  .vq-hub.ready { animation: vq-bob 1.6s ease-in-out infinite; }
  @keyframes vq-ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
  @keyframes vq-bob { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.06); } }
}
.vq-tap { margin-top: 14px; padding: 8px 16px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; color: var(--muted); text-align: center; }
.vq-tap.go { color: var(--brand); border-color: #ffd24a; background: #fffbea; }
.vq-err { margin: 10px 16px 0; text-align: center; }

/* Dải chạy lên liên tục */
.vq-ticker { margin: 20px 16px 0; padding: 14px 12px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vq-ticker h2 { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; font-size: 15px; font-weight: 800; color: var(--ink); }
.vq-live { width: 9px; height: 9px; border-radius: 50%; background: #e63e62; box-shadow: 0 0 0 3px rgb(230 62 98 / .2); }
.vq-tk-win { position: relative; height: 168px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }
.vq-tk-list { list-style: none; margin: 0; padding: 0; }
.vq-tk-list li { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px; border-bottom: 1px dashed var(--line); }
.vq-tk-av { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #2f86f0, #0057c8); }
.vq-tk-av.gift { background: var(--c); }
.vq-tk-av .ico { width: 18px; height: 18px; }
.vq-tk-t { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vq-tk-t i { font-style: normal; color: var(--muted); font-size: 12.5px; }
.vq-tk-p { color: var(--orange-600); }
.vq-tk-list li > small { flex: none; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  /* mỗi dòng 2.2 giây; danh sách đã nhân đôi nên chạy tới nửa là nối liền vòng mới */
  .vq-tk-list { animation: vq-up calc(var(--n) * 2.2s) linear infinite; }
  .vq-ticker:hover .vq-tk-list { animation-play-state: paused; }
  @keyframes vq-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .vq-tk-win { height: auto; max-height: 280px; overflow-y: auto; -webkit-mask-image: none; mask-image: none; } }
.vq-hub img { width: 66%; margin-top: -18%; }
.vq-hub span { bottom: 13%; }
/* Tâm K3 chỉ còn logo, không chữ (anh Kha 24/11/2026) */
.vq-hub img { width: 78%; margin-top: 0; }

/* ---------- So sánh nhanh Dân dụng / Công nghiệp (25/11/2026) ---------- */
.cmp { margin: 14px 16px 0; padding: 14px 12px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.cmp h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 4px 10px; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.cmp h3 small { font-size: 12px; font-weight: 600; color: var(--muted); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
.cmp-head span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border-radius: 10px 10px 0 0; font-size: 13.5px; font-weight: 800; }
.cmp-head .ico { width: 18px; height: 18px; }
.cmp-head .h, .cmp-row .h { background: var(--teal-50); color: var(--brand); }
.cmp-head .i, .cmp-row .i { background: var(--orange-50); color: var(--orange-600); }
.cmp dl { margin: 0; }
.cmp-row dt { grid-column: 1 / -1; padding: 9px 4px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); background: var(--card); }
.cmp-row dd { margin: 0; padding: 4px 10px 9px; font-size: 13px; line-height: 1.4; color: var(--ink) !important; }
.cmp-row:last-child dd { border-radius: 0 0 10px 10px; padding-bottom: 11px; }
.cmp-row dt { box-shadow: 0 -1px 0 var(--line) inset; }
.cmp .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-tip { display: flex; gap: 6px; align-items: flex-start; margin: 10px 4px 0; font-size: 12.5px; color: var(--muted); }
.cmp-tip .ico { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--brand); }
.cmp-tip a { font-weight: 700; color: var(--brand); text-decoration: none; white-space: nowrap; }
@media (min-width: 900px) {
  .cmp { padding: 20px 22px 18px; margin-top: 18px; }
  .cmp h3 { font-size: 18px; }
  .cmp-head, .cmp-row { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
  .cmp-head::before { content: ""; }
  .cmp-row dt { grid-column: auto; padding: 12px 4px; text-transform: none; font-size: 13.5px; letter-spacing: 0; box-shadow: none; border-top: 1px solid var(--line); }
  .cmp-row dd { padding: 12px; font-size: 14px; }
  .cmp-row:last-child dd { padding-bottom: 14px; }
}
.cmp-row dd { padding-top: 3px; padding-bottom: 8px; }

/* Nhãn mục so sánh canh giữa trên điện thoại (anh Kha 25/11/2026) */
@media (max-width: 899px) { .cmp-row dt { text-align: center; } }

/* ---------- Dân dụng: chọn cách tính Trọn gói / Theo m² (25/11/2026) ---------- */
.mode-sw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 16px 2px; padding: 5px; border-radius: 16px; background: var(--teal-50); border: 1px solid var(--line); }
.mode-sw button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; color: var(--muted); text-align: left; }
.mode-sw button .ico { flex: none; width: 22px; height: 22px; }
.mode-sw button span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mode-sw button b { font-size: 14.5px; font-weight: 800; }
.mode-sw button small { font-size: 11.5px; }
.mode-sw button[aria-pressed="true"] { background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.mode-sw button[aria-pressed="true"] small { color: var(--muted); }
.bg-sub small { margin-left: 6px; font-size: 11.5px; font-weight: 600; color: var(--muted); }

/* Trong các bước đặt lịch (có ô nhập m², giờ...) ẩn cột liên hệ nổi để không che ô nhập (25/11/2026) */
body.has-hero .fc { display: none; }
