/* =========================================================
   Smartera Demo Hub — STYLE DÙNG CHUNG cho TẤT CẢ template
   Mọi layout tô màu theo biến --c (đặt inline theo lĩnh vực).
   ========================================================= */
:root { --c: #1e6bff; --c-dark: #0b3fb0; --c-soft: #eef3ff; --ink: #0f172a; --muted: #64748b; --line: #e7ecf3; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--ink); line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.t-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: .15s; font-size: 15px; }
.btn-c { background: var(--c); color: #fff; }
.btn-c:hover { background: var(--c-dark); }
.btn-o { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-o:hover { border-color: var(--c); color: var(--c); }
.btn-w { background: #fff; color: var(--c-dark); }

/* ---- Thanh nav Smartera (đồng bộ với index — màu cố định, không theo --c) ---- */
.sm-bar { position: sticky; top: 0; z-index: 200; background: rgba(10,23,38,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(26,155,255,.18); }
.sm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sm-brand img { height: 38px; width: auto; display: block; }
.sm-menu { display: flex; align-items: center; gap: 8px; }
.sm-menu a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #c4d4e6; transition: .15s; }
.sm-menu a:hover, .sm-menu a.on { background: rgba(26,155,255,.14); color: #fff; }
.sm-menu a.badge { background: linear-gradient(135deg,#1a9bff,#16c5e0); color: #fff; box-shadow: 0 6px 18px rgba(22,197,224,.25); }
.sm-cta { padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #c4d4e6; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); white-space: nowrap; transition: .15s; }
.sm-cta:hover { border-color: #1a9bff; color: #1a9bff; }
@media (max-width: 820px) { .sm-menu { display: none; } .sm-wrap { height: 58px; } .demo-bar { top: 58px; } }

/* ---- Demo banner (thanh báo đây là mẫu) ---- */
.demo-bar { background: #0f172a; color: #fff; font-size: 13px; padding: 9px 16px; text-align: center; position: sticky; top: 70px; z-index: 100; }
.demo-bar a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.5); }
.demo-bar .pill { background: var(--c); padding: 2px 10px; border-radius: 999px; font-weight: 700; margin-right: 6px; }

/* ---- Header ---- */
.t-header { position: sticky; top: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 50; }
.t-nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.t-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.t-brand .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; font-size: 20px; }
.t-menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.t-menu a { padding: 9px 14px; border-radius: 8px; font-weight: 600; color: #334155; font-size: 15px; }
.t-menu a:hover, .t-menu a.on { background: var(--c-soft); color: var(--c-dark); }

/* ---- Hero ---- */
.t-hero { padding: 80px 0; }
.t-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.t-eyebrow { display: inline-block; background: var(--c-soft); color: var(--c-dark); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.t-hero h1 { font-size: 50px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -1.5px; }
.t-hero p.sub { font-size: 19px; color: var(--muted); margin: 0 0 26px; }
.t-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.t-hero-art { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--c), var(--c-dark)); border-radius: 22px; aspect-ratio: 4/3; box-shadow: 0 20px 50px rgba(15,23,42,.18); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; }
.t-hero-art span { background: rgba(255,255,255,.16); border-radius: 12px; display: grid; place-items: center; font-size: 40px; }
.t-hero-art span:first-child { grid-column: span 2; }
/* Hero biến thể căn giữa (landing/onepage/promo) — có ảnh nền + lớp phủ màu */
.t-hero--center { position: relative; overflow: hidden; text-align: center; background: linear-gradient(135deg, var(--c), var(--c-dark)); color: #fff; }
.t-hero--center .t-photo { z-index: 0; }
.t-hero-ov { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, var(--c), var(--c-dark)); opacity: .8; }
.t-hero--center > .t-wrap { position: relative; z-index: 2; }
.t-hero--center .t-eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.t-hero--center h1 { font-size: 56px; max-width: 900px; margin: 0 auto 18px; }
.t-hero--center p.sub { color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 28px; }
.t-hero--center .t-hero-actions { justify-content: center; }

/* ---- Sections ---- */
.t-sec { padding: 74px 0; }
.t-sec.alt { background: #f6f8fc; }
.t-sec.dark { background: #0b1220; color: #cbd5e1; }
.t-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.t-head h2 { font-size: 36px; margin: 0 0 12px; letter-spacing: -1px; }
.t-head p { color: var(--muted); font-size: 18px; margin: 0; }
.t-sec.dark .t-head p { color: #94a3b8; }

/* ---- Feature / card grids ---- */
.t-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.t-feat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; transition: .2s; }
.t-feat:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,23,42,.08); border-color: transparent; }
.t-feat .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; }
.t-feat h3 { margin: 0 0 8px; font-size: 20px; }
.t-feat p { margin: 0; color: var(--muted); }

/* ---- Ảnh stock phủ kín khung (fallback: nền gradient + icon lộ ra nếu ảnh lỗi) ---- */
.t-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }

/* ---- Item / product cards ---- */
.t-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .2s; }
.t-item:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(15,23,42,.1); border-color: transparent; }
.t-item .thumb { position: relative; overflow: hidden; aspect-ratio: 16/11; background: linear-gradient(135deg, var(--c), var(--c-dark)); display: grid; place-items: center; font-size: 40px; color: #fff; }
.t-item .b { padding: 16px; }
.t-item .b h4 { margin: 0 0 4px; font-size: 17px; }
.t-item .b .meta { color: var(--muted); font-size: 14px; }
.t-item .b .price { color: var(--c); font-weight: 800; font-size: 18px; margin-top: 8px; }
.t-item .b .buy { display: block; text-align: center; margin-top: 12px; padding: 9px; border-radius: 8px; background: var(--c-soft); color: var(--c-dark); font-weight: 700; font-size: 14px; }

/* ---- About split ---- */
.t-about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.t-about .pic { position: relative; overflow: hidden; aspect-ratio: 4/3; border-radius: 18px; background: linear-gradient(135deg, var(--c), var(--c-dark)); display: grid; place-items: center; font-size: 80px; color: rgba(255,255,255,.85); }
.t-about h2 { font-size: 34px; margin: 0 0 16px; letter-spacing: -1px; }
.t-about p { color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.t-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.t-check li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.t-check li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--c-soft); color: var(--c); display: grid; place-items: center; font-size: 13px; flex: none; }

/* ---- Stats ---- */
.t-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.t-stat { text-align: center; }
.t-stat .n { font-size: 40px; font-weight: 800; color: var(--c); letter-spacing: -1px; }
.t-stat .l { color: var(--muted); font-weight: 600; }
.t-sec.dark .t-stat .n { color: #fff; }

/* ---- Quote / testimonial ---- */
.t-quote { max-width: 760px; margin: 0 auto; text-align: center; }
.t-quote .q { font-size: 26px; font-weight: 600; line-height: 1.5; margin: 0 0 20px; }
.t-quote .q::before { content: "“"; color: var(--c); font-size: 50px; line-height: 0; vertical-align: -12px; margin-right: 4px; }
.t-quote .by { color: var(--muted); font-weight: 700; }

/* ---- CTA band ---- */
.t-cta { background: linear-gradient(135deg, var(--c-dark), var(--c)); color: #fff; border-radius: 22px; padding: 56px; text-align: center; }
.t-cta h2 { font-size: 34px; margin: 0 0 12px; }
.t-cta p { opacity: .92; font-size: 18px; margin: 0 0 24px; }

/* ---- Pricing (Dịch vụ) ---- */
.t-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.t-plan { border: 1px solid var(--line); border-radius: 16px; padding: 30px; background: #fff; text-align: center; }
.t-plan.popular { border-color: var(--c); box-shadow: 0 16px 40px rgba(15,23,42,.1); position: relative; }
.t-plan.popular::after { content: "Phổ biến"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--c); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.t-plan h3 { font-size: 20px; margin: 0 0 6px; }
.t-plan .amt { font-size: 34px; font-weight: 800; color: var(--c); margin: 10px 0; }
.t-plan ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; display: grid; gap: 8px; }
.t-plan ul li { color: var(--muted); }
.t-plan ul li::before { content: "✓ "; color: var(--c); font-weight: 800; }

/* ---- News / blog ---- */
.t-article { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .2s; }
.t-article:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,23,42,.08); }
.t-article .img { position: relative; overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--c), var(--c-dark)); display: grid; place-items: center; font-size: 40px; color: #fff; }
.t-article .b { padding: 18px; }
.t-article .cat { color: var(--c); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.t-article h3 { margin: 6px 0 8px; font-size: 19px; }
.t-article p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- Portfolio masonry ---- */
.t-masonry { columns: 3; column-gap: 18px; }
.t-masonry .pf { position: relative; break-inside: avoid; margin-bottom: 18px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--c), var(--c-dark)); color: #fff; display: grid; place-items: center; font-weight: 700; min-height: 160px; }
.t-masonry .pf .pf-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-weight: 700; font-size: 14px; }
.t-masonry .pf:nth-child(3n+1) { aspect-ratio: 3/4; }
.t-masonry .pf:nth-child(3n+2) { aspect-ratio: 1/1; }
.t-masonry .pf:nth-child(3n) { aspect-ratio: 4/5; }

/* ---- Booking bar ---- */
.t-bookbar { background: #fff; border-radius: 16px; box-shadow: 0 16px 40px rgba(15,23,42,.12); padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; margin-top: -40px; position: relative; z-index: 5; }
.t-bookbar .f { display: flex; flex-direction: column; gap: 4px; }
.t-bookbar .f label { font-size: 12px; color: var(--muted); font-weight: 700; }
.t-bookbar .f input, .t-bookbar .f select { padding: 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }

/* ---- Dashboard ---- */
.t-dash { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.t-side { background: #0b1220; color: #cbd5e1; padding: 22px 16px; }
.t-side .logo { color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.t-side a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; color: #94a3b8; font-weight: 600; margin-bottom: 4px; }
.t-side a.on, .t-side a:hover { background: rgba(255,255,255,.08); color: #fff; }
.t-main { padding: 26px 30px; background: #f6f8fc; }
.t-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.t-topbar h1 { font-size: 24px; margin: 0; }
.t-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.t-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.t-kpi .k-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.t-kpi .k-n { font-size: 28px; font-weight: 800; }
.t-kpi .k-l { color: var(--muted); font-size: 14px; }
.t-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.t-table { width: 100%; border-collapse: collapse; }
.t-table th, .t-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.t-table th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.t-badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--c-soft); color: var(--c-dark); }

/* ---- Contact ---- */
.t-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.t-form { display: grid; gap: 14px; }
.t-form input, .t-form textarea { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; }
.t-form input:focus, .t-form textarea:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px var(--c-soft); }
.t-info { display: grid; gap: 18px; align-content: start; }
.t-info .row { display: flex; gap: 14px; align-items: flex-start; }
.t-info .row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; font-size: 20px; flex: none; }
.t-info .row b { display: block; }
.t-info .row span { color: var(--muted); }
.t-map { aspect-ratio: 21/9; border-radius: 14px; background: repeating-linear-gradient(45deg, #e2e8f0, #e2e8f0 12px, #eef2f7 12px, #eef2f7 24px); display: grid; place-items: center; color: var(--muted); font-weight: 700; margin-top: 26px; }

/* ---- Footer ---- */
.t-footer { background: #0b1220; color: #cbd5e1; padding: 54px 0 26px; }
.t-fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.t-fgrid h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
.t-fgrid a { display: block; color: #94a3b8; padding: 4px 0; }
.t-fgrid a:hover { color: #fff; }
.t-fbottom { border-top: 1px solid #1e293b; margin-top: 36px; padding-top: 22px; text-align: center; color: #64748b; font-size: 14px; }

/* =========================================================
   AI · Chatbot · AI Agent
   ========================================================= */
.ai-app { display: grid; grid-template-columns: 264px 1fr; height: calc(100vh - 39px); background: #f6f8fc; }
.ai-app--agent { grid-template-columns: 240px 1fr 290px; }
.ai-side { background: #0b1220; color: #cbd5e1; padding: 16px 12px; display: flex; flex-direction: column; gap: 6px; overflow: auto; }
.ai-side-top { color: #fff; font-weight: 800; display: flex; align-items: center; gap: 9px; font-size: 16px; margin-bottom: 14px; }
.ai-side-top .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--c); display: grid; place-items: center; font-size: 18px; }
.ai-new { background: var(--c); color: #fff; border: 0; border-radius: 10px; padding: 11px; font-weight: 700; cursor: pointer; margin-bottom: 12px; transition: .15s; }
.ai-new:hover { background: var(--c-dark); }
.ai-side-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #64748b; margin: 6px 4px; }
.ai-side-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #94a3b8; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-side-item:hover, .ai-side-item.on { background: rgba(255,255,255,.08); color: #fff; }
.ai-main { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.ai-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ai-head b { font-size: 16px; }
.ai-on { color: #16a34a; font-size: 13px; font-weight: 700; margin-left: 10px; }
.ai-model { background: var(--c-soft); color: var(--c-dark); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ai-msgs, .ai-agent-body { flex: 1; overflow: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, #fafbfe, #f3f6fb); }
.ai-msg { display: flex; gap: 12px; max-width: 80%; }
.ai-msg .ai-av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 18px; background: var(--c-soft); }
.ai-bubble { padding: 13px 16px; border-radius: 16px; font-size: 15px; line-height: 1.55; box-shadow: 0 2px 10px rgba(15,23,42,.05); }
.ai-bot { align-self: flex-start; }
.ai-bot .ai-bubble { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; }
.ai-user { align-self: flex-end; flex-direction: row-reverse; }
.ai-user .ai-av { background: var(--c); color: #fff; }
.ai-user .ai-bubble { background: var(--c); color: #fff; border-top-right-radius: 4px; }
.ai-suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px 12px; }
.ai-chip { border: 1px solid var(--line); background: #fff; color: var(--c-dark); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; transition: .15s; }
.ai-chip:hover { border-color: var(--c); background: var(--c-soft); }
.ai-input { display: flex; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; }
.ai-input input { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 15px; outline: none; }
.ai-input input:focus { border-color: var(--c); box-shadow: 0 0 0 3px var(--c-soft); }
.ai-send { width: 48px; border: 0; border-radius: 12px; background: var(--c); color: #fff; font-size: 18px; cursor: pointer; transition: .15s; }
.ai-send:hover { background: var(--c-dark); }
/* Agent */
.ai-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ai-card-h { padding: 13px 16px; font-weight: 700; border-bottom: 1px solid var(--line); background: var(--c-soft); color: var(--c-dark); }
.ai-steps { padding: 8px; }
.ai-step { display: flex; gap: 12px; padding: 12px; border-radius: 10px; }
.ai-step-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--c-soft); display: grid; place-items: center; font-size: 17px; flex: none; }
.ai-step b { display: block; font-size: 14px; }
.ai-step span { color: var(--muted); font-size: 13px; }
.ai-step.done .ai-step-ic { background: #dcfce7; }
.ai-rec { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.ai-rec b { display: block; }
.ai-rec span { color: var(--muted); font-size: 14px; }
.ai-context { background: #fff; border-left: 1px solid var(--line); padding: 18px; overflow: auto; }
.ai-ctx-h { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.ai-ctx-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ai-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-tool { background: var(--c-soft); color: var(--c-dark); padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.ai-src { color: var(--muted); font-size: 14px; line-height: 1.6; }
/* AI landing preview */
.ai-preview { max-width: 640px; margin: 0 auto; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(15,23,42,.1); background: #fff; }
.ai-preview .ai-msgs { padding: 22px; max-height: 360px; }
.ai-preview .ai-msg { max-width: 88%; }

/* ---- Trang địa phương: lưới khu vực ---- */
.area-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.area-link { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink); background: #fff; transition: .15s; }
.area-link:hover { border-color: var(--c); color: var(--c); background: var(--c-soft); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .ai-app, .ai-app--agent { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - 39px); }
  .ai-side, .ai-context { display: none; }
  .ai-msg { max-width: 92%; }
}
@media (max-width: 960px) {
  .t-hero-grid, .t-about, .t-contact { grid-template-columns: 1fr; }
  .t-grid4, .t-grid3, .t-stats, .t-price-grid, .t-kpis { grid-template-columns: repeat(2, 1fr); }
  .t-masonry { columns: 2; }
  .t-hero h1 { font-size: 38px; } .t-hero--center h1 { font-size: 40px; }
  .t-menu { display: none; }
  .t-bookbar { grid-template-columns: 1fr 1fr; }
  .t-dash { grid-template-columns: 1fr; } .t-side { display: none; }
}
@media (max-width: 560px) {
  .t-grid4, .t-grid3, .t-stats, .t-price-grid, .t-kpis { grid-template-columns: 1fr; }
  .t-masonry { columns: 1; }
  .t-cta, .t-plan { padding: 30px 20px; }
}

/* =========================================================
   Biến thể tối (Dark Landing) — phủ lên các khối dùng chung
   ========================================================= */
.theme-dark { background: #0b1220; color: #e2e8f0; }
.theme-dark .t-header { background: rgba(11,18,32,.92); border-color: #1e293b; }
.theme-dark .t-brand { color: #fff; }
.theme-dark .t-menu a { color: #cbd5e1; }
.theme-dark .t-menu a:hover, .theme-dark .t-menu a.on { background: rgba(255,255,255,.08); color: #fff; }
.theme-dark .t-sec { background: #0b1220; }
.theme-dark .t-sec.alt { background: #0f172a; }
.theme-dark .t-head h2 { color: #fff; }
.theme-dark .t-head p { color: #94a3b8; }
.theme-dark .t-feat { background: #131c2e; border-color: #1e293b; }
.theme-dark .t-feat h3 { color: #fff; }
.theme-dark .t-feat p { color: #94a3b8; }
.theme-dark .t-item { background: #131c2e; border-color: #1e293b; }
.theme-dark .t-item .b h4 { color: #fff; }
.theme-dark .t-item .b .meta { color: #94a3b8; }
.theme-dark .t-quote .q { color: #fff; }
.theme-dark .t-stat .n { color: #fff; }

/* =========================================================
   Coming Soon — màn hình chờ ra mắt
   ========================================================= */
.t-coming { min-height: 100vh; display: grid; place-items: center; text-align: center; color: #fff; padding: 40px 20px;
  background: radial-gradient(900px 500px at 50% -10%, var(--c) 0%, transparent 55%), #0b1220; position: relative; overflow: hidden; }
.t-coming .t-photo { z-index: 0; }
.t-coming-ov { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(900px 500px at 50% -10%, rgba(0,0,0,0), rgba(11,18,32,.5) 70%), linear-gradient(180deg, rgba(11,18,32,.74), rgba(11,18,32,.9)); }
.t-coming .inner { position: relative; z-index: 2; max-width: 640px; width: 100%; }
.t-coming .logo { font-size: 28px; font-weight: 800; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.t-coming .logo .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--c); display: grid; place-items: center; font-size: 28px; }
.t-coming .badge { display: inline-block; background: rgba(255,255,255,.12); padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .5px; margin-bottom: 22px; }
.t-coming h1 { font-size: 60px; letter-spacing: -2px; margin: 0 0 16px; line-height: 1.05; }
.t-coming p { color: #94a3b8; font-size: 19px; margin: 0 auto 34px; max-width: 480px; }
.t-count { display: flex; gap: 16px; justify-content: center; margin-bottom: 38px; }
.t-count .u { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 6px; min-width: 84px; }
.t-count .u .v { font-size: 34px; font-weight: 800; color: #fff; }
.t-count .u .lab { font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }
.t-sub-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto 26px; }
.t-sub-form input { flex: 1; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-size: 15px; }
.t-sub-form input::placeholder { color: #94a3b8; }
.t-social { display: flex; gap: 12px; justify-content: center; }
.t-social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 18px; }
.t-social a:hover { background: var(--c); }

/* =========================================================
   Magazine — bố cục tạp chí/biên tập
   ========================================================= */
.t-mag-feat { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-bottom: 40px; }
.t-mag-hero { border-radius: 18px; overflow: hidden; position: relative; min-height: 360px; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78)), linear-gradient(135deg, var(--c), var(--c-dark)); color: #fff; padding: 30px; }
.t-mag-hero .t-photo { z-index: 0; }
.t-mag-ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.15) 30%, rgba(0,0,0,.78)); }
.t-mag-txt { position: relative; z-index: 2; }
.t-mag-hero .k { color: #fff; background: var(--c); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; display: inline-block; margin-bottom: 12px; }
.t-mag-hero h2 { font-size: 34px; margin: 0 0 8px; letter-spacing: -1px; line-height: 1.15; }
.t-mag-hero p { margin: 0; opacity: .9; }
.t-mag-side { display: grid; gap: 16px; align-content: start; }
.t-mag-row { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.t-mag-row .th { position: relative; overflow: hidden; width: 84px; height: 64px; border-radius: 10px; flex: none; background: linear-gradient(135deg, var(--c), var(--c-dark)); display: grid; place-items: center; color: #fff; font-size: 24px; }
.t-mag-row .k { color: var(--c); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.t-mag-row h4 { margin: 3px 0 0; font-size: 16px; line-height: 1.3; }

/* =========================================================
   Thanh điều hướng nổi trên trang mẫu
   ========================================================= */
.t-navfab { position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 8px; background: rgba(15,23,42,.95); color: #fff;
  border-radius: 999px; padding: 7px 10px; box-shadow: 0 12px 34px rgba(0,0,0,.28); backdrop-filter: blur(6px); }
.t-navfab a, .t-navfab span.btnf { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; font-size: 18px; font-weight: 700; }
.t-navfab a:hover { background: var(--c); }
.t-navfab span.btnf.off { opacity: .3; }
.t-navfab .code { font-size: 12px; color: #cbd5e1; font-weight: 700; padding: 0 6px; white-space: nowrap; }
.t-navfab .home { width: auto; padding: 0 14px; gap: 6px; font-size: 13px; background: var(--c); }
@media (max-width: 560px) { .t-navfab .code { display: none; } }
