/* UniStay — public site (landing, auth, tenant pages). Tech style: grid canvas, mono labels, hairlines. */
:root {
  --ink: #0e1712;
  --ink-2: #26332b;
  --muted: #5f6b64;
  --muted-2: #8b958f;
  --green: #2e4a36;
  --green-2: #3f6a4d;
  --green-soft: #e9f0ea;
  --amber: #f2a62a;
  --amber-2: #e0901a;
  --amber-soft: #fff4df;
  --bg: #ffffff;
  --bg-2: #f6f7f3;
  --line: #e6e8e3;
  --line-2: #d6dad3;
  --ok: #16a34a;
  --warn: #ea8a0c;
  --bad: #dc2626;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 23, 18, .04), 0 12px 32px -12px rgba(14, 23, 18, .14);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green); box-shadow: 0 8px 20px -8px rgba(46, 74, 54, .6); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-2); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-ic { display: grid; place-items: center; width: 28px; height: 28px; margin-right: -10px; border-radius: 50%; background: var(--amber); color: var(--ink); }
.btn-ic .ic { width: 15px; height: 15px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.8); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); backdrop-filter: blur(6px); }
.chip-mono { background: var(--green-soft); border-color: #cfe0d2; color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } }
.mono-label { display: inline-block; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.mono-label.light { color: rgba(255,255,255,.65); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--amber-soft); color: #9a5b00; font-size: 12px; font-weight: 600; }
.soon { font-style: normal; font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.checks .ic { width: 18px; height: 18px; color: var(--green-2); margin-top: 3px; }
.checks.big li { font-size: 16px; }

/* ---------- announcement + nav ---------- */
.announce { position: relative; background: var(--ink); color: #fff; text-align: center; font-size: 13.5px; padding: 8px 44px; }
.announce b { color: var(--amber); }
.announce-x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255,255,255,.6); cursor: pointer; display: grid; }
.announce-x .ic { width: 16px; height: 16px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-links > a, .dd-btn { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-links > a:hover, .dd-btn:hover { background: var(--bg-2); color: var(--ink); }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: -20px; width: 560px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.dd-menu a:hover { background: var(--bg-2); }
.dd-menu .ic { color: var(--green-2); margin-top: 2px; }
.dd-menu b { display: block; font-size: 14.5px; font-weight: 600; }
.dd-menu small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-login { padding: 8px 12px; font-size: 15px; font-weight: 500; }
.nav-burger { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; padding: 7px; cursor: pointer; }

/* ---------- hero ---------- */
.grid-bg { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; }
.hero { position: relative; overflow: hidden; padding: 28px 0 40px; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,.2) 50%, #fff 100%); pointer-events: none; }
.hero-glow { position: absolute; width: 760px; height: 760px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(242,166,42,.22), transparent 62%); filter: blur(10px); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.hero-copy { container-type: inline-size; min-width: 0; }
/* mỗi câu tiêu đề đúng 1 dòng: cỡ chữ theo bề rộng cột chữ (cqi), không xuống dòng */
.hero-title { margin: 18px 0 20px; font-size: clamp(22px, 7.7cqi, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.24; }
.hero-title span { display: block; white-space: nowrap; }
.hero-title .hl { padding-bottom: .12em; margin-bottom: -.12em; color: transparent; background: linear-gradient(90deg, var(--green-2), var(--amber) 85%); -webkit-background-clip: text; background-clip: text; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 18px; }
.hero-visual { position: relative; }
.win { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(14,23,18,.35); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.win-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.hv { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; padding: 16px; background: #fbfbf9; }
.hv-meter { display: flex; flex-direction: column; gap: 10px; }
.meter { position: relative; overflow: hidden; border-radius: 14px; padding: 22px 14px 18px; background: linear-gradient(160deg, #e9ece6, #cfd5cc); border: 1px solid #c3c9c0; box-shadow: inset 0 2px 0 rgba(255,255,255,.7); text-align: center; }
.meter-brand { font-size: 10.5px; color: #4b564f; letter-spacing: .08em; }
.meter-meta { font-size: 9.5px; color: #66716a; margin-top: 10px; }
.meter-digits { display: inline-flex; gap: 3px; margin-top: 10px; padding: 6px; background: #121614; border-radius: 6px; }
.meter-digits span { display: grid; place-items: center; width: 26px; height: 36px; border-radius: 3px; background: linear-gradient(#26302a, #0c0f0d 48%, #1c231f 52%, #0b0d0c); color: #f2f5f0; font-size: 22px; font-weight: 600; }
.meter-digits span.red { background: linear-gradient(#a3221b, #6b1410 48%, #87201a 52%, #5e0f0b); }
.meter-digits.sm span { width: 22px; height: 30px; font-size: 18px; }
.scanline { position: absolute; left: 0; right: 0; height: 40px; top: 0; background: linear-gradient(180deg, transparent, rgba(242,166,42,.35) 60%, rgba(242,166,42,.9) 62%, transparent 64%); animation: scan 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-40px); } 50% { transform: translateY(150px); } 100% { transform: translateY(-40px); } }
.meter-box { position: absolute; left: 50%; top: 44px; width: 182px; height: 58px; transform: translateX(-50%); border: 2px solid var(--amber); border-radius: 8px; box-shadow: 0 0 0 4px rgba(242,166,42,.18); animation: box 2.6s infinite; }
@keyframes box { 0%, 40% { opacity: 0; transform: translateX(-50%) scale(1.15); } 55%, 100% { opacity: 1; transform: translateX(-50%) scale(1); } }
.hv-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse-a 1.4s infinite; }
@keyframes pulse-a { 50% { opacity: .3; } }
.hv-side { display: flex; flex-direction: column; gap: 12px; }
.hv-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.hv-num { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin: 4px 0 8px; }
.hv-num small { font-size: 13px; color: var(--muted); }
.hv-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 4px 0; }
.hv-row span { display: inline-flex; align-items: center; gap: 6px; }
.hv-row b { color: var(--ink); font-weight: 600; }
.hv-row .ic { width: 15px; height: 15px; }
.ok { color: var(--ok) !important; }
.hv-warn { margin-top: 8px; padding: 7px 10px; border-radius: 8px; background: var(--amber-soft); color: #9a5b00; font-size: 12px; }
.bar { height: 6px; border-radius: 9px; background: var(--bg-2); overflow: hidden; margin: 4px 0 8px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-2), var(--amber)); border-radius: 9px; }
.toast-float { position: absolute; left: -26px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 14px; font-size: 13px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.ok-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
@keyframes float { 50% { transform: translateY(-8px); } }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 84px; border-top: 1px solid var(--line); }
.stat { padding: 28px 8px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-v { font-size: clamp(32px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; }
.stat-l { color: var(--muted); font-size: 15px; }

/* ---------- section heads ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head-center { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.head-center h2, .head-split h2, .why h2, .faq-wrap h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; margin: 12px 0 14px; }
.head-center p, .head-split p { color: var(--muted); font-size: 17px; }
.head-split { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin-bottom: 44px; }
.head-split h2 { margin-top: 0; max-width: 760px; }

/* ---------- story (dark panel) ---------- */
.story { position: relative; overflow: hidden; border-radius: 28px; background: #0c1310; color: #fff; padding: 44px; min-height: 480px; }
.story-bg { position: absolute; inset: -10px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; padding: 20px; opacity: .08; font-size: 22px; pointer-events: none; }
.story-in { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.story-step { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 16px; border-radius: 14px; cursor: pointer; opacity: .5; transition: .25s; }
.story-step:hover { opacity: .8; }
.story-step.on { opacity: 1; background: rgba(255,255,255,.06); }
.story-step > span { color: var(--amber); font-size: 13px; padding-top: 3px; }
.story-step b { font-size: 17px; }
.story-step p { color: rgba(255,255,255,.65); font-size: 14px; display: none; margin-top: 4px; }
.story-step.on p { display: block; }
.story-progress { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; display: none; }
.story-step.on .story-progress { display: block; }
.story-progress i { display: block; height: 100%; width: 0; background: var(--amber); }
.story-step.on .story-progress i { animation: prog 4.5s linear forwards; }
@keyframes prog { to { width: 100%; } }
.story-screen { position: relative; height: 360px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.ss { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; transform: scale(.97); transition: .4s; }
.ss.on { opacity: 1; transform: none; }
.ss-phone { width: 210px; padding: 12px; border-radius: 28px; background: #1a221e; border: 1px solid rgba(255,255,255,.12); text-align: center; }
.ss-cam { position: relative; overflow: hidden; height: 230px; border-radius: 18px; background: linear-gradient(160deg, #3b463f, #1d2420); display: grid; place-items: center; align-content: center; gap: 16px; color: rgba(255,255,255,.5); }
.ss-cap { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 10px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mini-table th { text-align: left; color: rgba(255,255,255,.5); font-weight: 500; padding: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.mini-table td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.mini-table tr.warn td { color: var(--amber); }
.mini-table tr.muted td { color: rgba(255,255,255,.35); }
.tiers { width: 100%; display: grid; gap: 10px; font-size: 13px; }
.tier { display: grid; grid-template-columns: 56px 86px 1fr 64px; align-items: center; gap: 10px; color: rgba(255,255,255,.75); }
.tier > i { height: 8px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.tier > i > i { display: block; height: 100%; background: var(--amber); border-radius: 6px; }
.tier b { text-align: right; }
.tier-total { margin-top: 10px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.2); text-align: right; font-size: 15px; }
.tier-total b { color: var(--amber); font-size: 20px; }
.issue { display: flex; align-items: center; gap: 20px; font-size: 16px; }
.issue small { color: rgba(255,255,255,.55); }
.issue-n { font-size: 84px; font-weight: 600; line-height: 1; color: var(--amber); }
.issue-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 12.5px; }
.issue-list span { padding: 5px 10px; border-radius: 999px; background: rgba(74,222,128,.12); color: #86efac; }
.ss[data-i="3"] { align-content: center; gap: 24px; }
.ss-qr { display: flex; align-items: center; gap: 24px; }
.ss-qr b { font-size: 26px; display: block; margin: 4px 0 12px; }
.qr-fake { width: 132px; height: 132px; border-radius: 12px; background-color: #fff; background-image: linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%), linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; border: 10px solid #fff; box-shadow: inset 0 0 0 3px #111; }
.qr-fake.sm { width: 84px; height: 84px; background-size: 10px 10px; background-position: 0 0, 5px 5px; border-width: 7px; }
.qr-fake.center { margin: 12px auto; }
.paid-stamp { display: inline-block; padding: 4px 12px; border: 2px solid #4ade80; color: #4ade80; border-radius: 8px; font-weight: 700; font-size: 13px; letter-spacing: .06em; transform: rotate(-6deg); }
.paid-stamp.sm { font-size: 11px; color: var(--ok); border-color: var(--ok); }
.story-foot { position: relative; margin-top: 30px; font-size: 13px; color: rgba(255,255,255,.55); text-align: center; }

/* ---------- models carousel ---------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel::-webkit-scrollbar { display: none; }
.model-card { scroll-snap-align: start; }
.model-art { position: relative; height: 300px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; }
.model-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; opacity: .7; }
.model-art span { position: absolute; top: 14px; left: 16px; font-size: 12px; color: var(--muted); }
.model-ic { position: relative; width: 96px; height: 96px; stroke-width: 1.2; color: var(--green); padding: 22px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); transition: transform .3s; }
.model-card:hover .model-ic { transform: translateY(-6px) rotate(-3deg); }
.m1 .model-art { background: linear-gradient(160deg, #fff, var(--amber-soft)); }
.m2 .model-art { background: linear-gradient(160deg, #fff, var(--green-soft)); }
.m3 .model-art { background: linear-gradient(160deg, #fff, #eef2f7); }
.m4 .model-art { background: linear-gradient(160deg, #fff, #f3eefa); }
.m5 .model-art { background: linear-gradient(160deg, #fff, #fdeee9); }
.m6 .model-art { background: linear-gradient(160deg, #fff, #ecf3f2); }
.model-card h3 { font-size: 20px; margin: 18px 0 4px; }
.model-card p { color: var(--muted); font-size: 15px; }
.carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.cbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; }
.cbtn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- highlights bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hl-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.hl-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.hl-visual { position: relative; height: 250px; display: grid; place-items: center; align-content: center; gap: 14px; padding: 22px; background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.hl-meter .hl-visual { background: radial-gradient(circle at 50% 30%, var(--amber-soft), var(--bg-2) 70%); }
.hl-contract .hl-visual { background: radial-gradient(circle at 50% 30%, var(--green-soft), var(--bg-2) 70%); }
.meter-sm { width: 240px; padding: 18px 10px; }
.meter-sm .meter-box { top: 13px; width: 196px; }
.hl-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; font-size: 11px; }
.hl-chips span { padding: 3px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.doc { width: 230px; padding: 16px; background: #fff; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 7px; }
.doc-h { font-size: 9.5px; color: var(--muted); }
.doc > i { height: 6px; border-radius: 4px; background: var(--bg-2); }
.doc > i.s { width: 60%; }
.doc-sign { display: flex; align-items: center; justify-content: space-between; color: var(--green); border-top: 1px dashed var(--line-2); padding-top: 6px; }
.doc-sign svg { width: 110px; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 3s ease-in-out infinite; }
.doc-sign span { font-size: 9px; color: var(--muted); }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.chain { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted-2); }
.chain span { padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; color: var(--muted); }
.chain span.on { border-color: var(--green-2); color: var(--green); background: var(--green-soft); }
.inv-card { width: 250px; background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px; }
.inv-row { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; color: var(--muted); }
.inv-row b { color: var(--ink); font-weight: 500; }
.inv-row.total { border-top: 1px dashed var(--line-2); margin-top: 4px; padding-top: 8px; }
.inv-row.total b { font-weight: 700; color: var(--green); }
.inv-qr { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.hl-body { padding: 26px; }
.hl-body h3 { font-size: 24px; margin: 12px 0 10px; }
.hl-body p { color: var(--muted); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { display: flex; gap: 16px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.feature h4 { font-size: 16.5px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- product screens ---------- */
.screens { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 86vw); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100vw - 1200px) / 2)) 16px; scrollbar-width: thin; }
.screen { margin: 0; scroll-snap-align: center; }
.screen-ui { height: 330px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); overflow: hidden; }
.screen figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }
.screen figcaption b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ui-table th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.ui-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.ui-table tr.tot td { font-weight: 700; border-bottom: 0; }
.cell { display: inline-block; min-width: 64px; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 6px; }
.cell.warn { border-color: var(--warn); background: var(--amber-soft); color: #9a5b00; }
.pill-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #1d4ed8; }
.ui-alerts { display: grid; gap: 4px; margin-top: 12px; font-size: 12.5px; color: #9a5b00; }
.steps-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.steps-bar span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.steps-bar span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.checklist li::before { content: "●"; margin-right: 8px; }
.checklist li.ok::before { color: var(--ok); }
.checklist li.warn::before { color: var(--warn); }
.checklist li b { margin-left: auto; font-weight: 600; font-size: 13px; }
.checklist li.warn b { color: #9a5b00; }
.sum-row { display: flex; justify-content: space-between; margin-top: 14px; padding: 12px; border-radius: 10px; background: var(--bg-2); font-size: 14px; }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.inv-head small { display: block; color: var(--muted); font-size: 13px; }
.badge-unpaid { padding: 3px 10px; border-radius: 999px; background: #fef2f2; color: var(--bad); font-size: 12px; font-weight: 600; }
.map-legend { display: flex; gap: 14px; font-size: 13px; margin-bottom: 14px; }
.map-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.map-legend .r::before, .room-map .r { background: var(--green-soft); }
.map-legend .m::before, .room-map .m { background: var(--amber-soft); }
.map-legend .v::before, .room-map .v { background: var(--bg-2); }
.room-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.room-map span { display: grid; place-items: center; height: 70px; border-radius: 12px; font-family: var(--mono); font-weight: 600; border: 1px solid var(--line); }
.room-map .r { color: var(--green); border-color: #cfe0d2; }
.room-map .m { color: #9a5b00; border-color: #f5d9a8; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.lead { color: var(--muted); font-size: 17px; }
.why-nums { display: grid; gap: 14px; }
.why-num { display: flex; align-items: baseline; gap: 18px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.why-num b { font-size: 34px; letter-spacing: -0.03em; min-width: 150px; color: var(--green); }
.why-num span { color: var(--muted); font-size: 15px; }

/* ---------- compare ---------- */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.compare table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare th { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; }
.compare tr:last-child td { border-bottom: 0; }
.compare .us { background: var(--green-soft); color: var(--green); font-weight: 600; }
.compare td.us .ic { vertical-align: -3px; }
.compare th.us { color: var(--green); }

/* ---------- tenant duo ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); }
.duo-card h3 { font-size: 24px; margin: 10px 0 0; }
.duo-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.duo-card.dark .checks li { color: rgba(255,255,255,.8); }
.duo-card.dark .checks .ic { color: var(--amber); }
.duo-card.dark .tag { background: rgba(242,166,42,.15); color: var(--amber); }
.phone { width: 220px; padding: 10px; border-radius: 32px; background: #111; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.phone-in { height: 400px; border-radius: 24px; background: #fff; color: var(--ink); padding: 26px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.ph-h { font-size: 11px; color: var(--muted); }
.ph-total { font-size: 26px; font-weight: 600; }
.ph-line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 6px 0; }
.ph-line b { color: var(--ink); }
.ph-btn { margin-top: auto; padding: 10px; border-radius: 12px; background: var(--ink); color: #fff; text-align: center; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ph-btn.amber { background: var(--amber); color: var(--ink); }
.ph-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-kpis div { padding: 10px; border-radius: 12px; background: var(--bg-2); }
.ph-kpis b { display: block; font-size: 18px; }
.ph-kpis small { color: var(--muted); font-size: 11px; }
.ph-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding: 10px; border-radius: 12px; background: var(--bg-2); }
.ph-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--amber), var(--green-2)); }

/* ---------- steps ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.step { padding: 28px 24px 8px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step > span { font-size: 13px; color: var(--muted); }
.step h3 { font-size: 21px; margin: 12px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step a { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14.5px; }
.step a:hover { color: var(--green-2); }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.plan-hot { border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(14,23,18,.35); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; }
.plan h3 { font-size: 22px; }
.plan-tag { color: var(--muted); font-size: 14.5px; margin-top: 4px; min-height: 46px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 4px; }
.plan-price b { font-size: 46px; letter-spacing: -0.04em; font-weight: 700; }
.plan-price span { color: var(--muted); }
.plan-range { font-size: 12.5px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan-feats { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-feats li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan-feats .ic { color: var(--green-2); margin-top: 3px; }
.plan-feats.cols { grid-template-columns: 1fr 1fr; margin-bottom: 0; }
.plan-ent { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin-top: 20px; padding: 32px; border-radius: 24px; background: var(--ink); color: #fff; }
.plan-ent h3 { font-size: 26px; margin: 10px 0 0; }
.plan-ent .tag { background: rgba(242,166,42,.15); color: var(--amber); }
.plan-ent .plan-feats li { color: rgba(255,255,255,.8); }
.plan-ent .plan-feats .ic { color: var(--amber); }
.plan-ent .soon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }
.plan-ent-cta { display: grid; gap: 10px; }

/* ---------- articles, quotes, roadmap ---------- */
.articles, .quotes, .roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article { display: flex; flex-direction: column; gap: 10px; }
.article-art { height: 190px; border-radius: 18px; display: grid; place-items: center; border: 1px solid var(--line); }
.article-art.a1 { background: linear-gradient(140deg, var(--amber-soft), #fff); }
.article-art.a2 { background: linear-gradient(140deg, var(--green-soft), #fff); }
.article-art.a3 { background: linear-gradient(140deg, #eef2f7, #fff); }
.article > span { font-size: 12.5px; color: var(--muted); }
.article h3 { font-size: 19px; }
.article .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
.article:hover h3 { color: var(--green-2); }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.quote blockquote { margin: 0; font-size: 16.5px; line-height: 1.65; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote small { display: block; color: var(--muted); font-size: 13.5px; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; }
.road { padding: 26px; border: 1px dashed var(--line-2); border-radius: 20px; background: #fff; }
.road > span { font-size: 13px; color: var(--muted); margin-right: 8px; }
.road h3 { font-size: 19px; margin: 14px 0 8px; }
.road p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-wrap > div:first-child { position: sticky; top: 100px; }
.faq-wrap > div:first-child p { color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-item p { padding: 0 46px 22px 0; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta-sec { padding-top: 0; }
.grid-bg-dark { background-color: #0c1310; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; }
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding: 56px; border-radius: 28px; color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -300px; background: radial-gradient(circle, rgba(242,166,42,.3), transparent 65%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 700; }
.cta p { color: rgba(255,255,255,.7); font-size: 17px; margin: 16px 0 26px; }
.cta-links { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-form { display: grid; gap: 10px; padding: 24px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.lead-form input, .lead-form select { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.25); color: #fff; outline: none; }
.lead-form input::placeholder { color: rgba(255,255,255,.5); }
.lead-form select option { color: var(--ink); }
.lead-form input:focus, .lead-form select:focus { border-color: var(--amber); }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #86efac; }
.form-msg.bad { color: #fca5a5; }

/* ---------- footer, floating ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 16px 0; max-width: 360px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact .ic { width: 16px; height: 16px; color: var(--green-2); }
.footer-contact a { font-weight: 600; }
.footer h4 { margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 14.5px; }
.footer-grid a:hover { color: var(--green-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.float-btns { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
/* Có chatbot ChatNow (nút chat 60px góc phải dưới): xếp Zalo / Gọi lên trên nút chat, thẳng cột */
body:has(#chatnow-widget) .float-btns { right: 24px; bottom: 94px; }
.float-btns a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 8px 24px -6px rgba(0,0,0,.35); font-size: 12px; font-weight: 700; animation: ring 3s infinite; }
.float-zalo { background: #0068ff; }
.float-phone { background: var(--green); animation-delay: 1.5s !important; }
@keyframes ring { 0%, 70%, 100% { box-shadow: 0 8px 24px -6px rgba(0,0,0,.35), 0 0 0 0 rgba(0,104,255,.35); } 85% { box-shadow: 0 8px 24px -6px rgba(0,0,0,.35), 0 0 0 12px rgba(0,104,255,0); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } *, *::before, *::after { animation: none !important; } }

/* ---------- public utility pages (auth, invoice, contract, verify) ---------- */
.page { min-height: calc(100vh - 68px); padding: 48px 0 80px; background: var(--bg-2); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.narrow { width: min(760px, 100% - 32px); margin: 0 auto; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(63,106,77,.12); }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.alert-bad { background: #fef2f2; color: #991b1b; }
.alert-ok { background: #f0fdf4; color: #166534; }
.alert-warn { background: var(--amber-soft); color: #9a5b00; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  body.menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 68px; left: 0; right: 0; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); }
  body.menu-open .dd-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 0 10px; }
  .hero-in, .why, .faq-wrap, .cta, .story-in { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .bento, .pricing, .articles, .quotes, .roadmap { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .carousel { grid-auto-columns: calc((100% - 24px) / 2); }
  .faq-wrap > div:first-child { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .nav-login { display: none; }
  .hero { padding-top: 18px; }
  .hv { grid-template-columns: 1fr; }
  .toast-float { left: 8px; bottom: -18px; font-size: 12px; }
  .stats { grid-template-columns: 1fr; margin-top: 56px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .head-split { grid-template-columns: 1fr; gap: 0; }
  .story { padding: 22px; border-radius: 20px; }
  .story-screen { height: 320px; }
  .tier { grid-template-columns: 48px 1fr 56px; }
  .tier > span:nth-child(2) { display: none; }
  .bento, .pricing, .articles, .quotes, .roadmap, .features, .steps4 { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .carousel { grid-auto-columns: 82%; }
  .duo-card { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .plan-ent { grid-template-columns: 1fr; padding: 24px; }
  .plan-feats.cols { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .why-num { flex-direction: column; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .dd-menu { grid-template-columns: 1fr; }
}
[hidden] { display: none !important; }

/* ---------- custom dropdown (static/js/dropdown.js) ---------- */
.dd2 { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; }
.field .dd2, .form-grid .dd2, .lead-form .dd2, .jf-field .dd2 { display: block; }
.dd2-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0 !important; pointer-events: none !important; }
.dd2-btn { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 8px 12px; text-align: left; cursor: pointer; font: inherit; font-size: 14px; color: var(--ink); background: #fff !important; background-image: none !important; border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .15s, box-shadow .15s, background .15s; }
.dd2-btn:hover { border-color: #b9c0b6; }
.dd2-btn:focus-visible, .dd2-btn.open { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(63,106,77,.12); }
.dd2-btn:disabled { cursor: not-allowed; opacity: .55; background: var(--bg-2) !important; }
.dd2-val { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.dd2-val > span { overflow: hidden; text-overflow: ellipsis; }
.dd2-ph { color: var(--muted-2); }
.dd2-chev { display: grid; place-items: center; width: 22px; height: 22px; margin-right: -4px; border-radius: 7px; color: var(--muted); background: var(--bg-2); transition: transform .2s, background .15s; flex: none; }
.dd2-btn.open .dd2-chev { transform: rotate(180deg); background: var(--ink); color: #fff; }
.dd2-meta { font-style: normal; font-family: var(--mono); font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; flex: none; }
.inp-cell + .dd2-btn, .dd2-btn.inp-cell { min-height: 32px; }
.dd2-pop { position: fixed; z-index: 1000; overflow: auto; padding: 6px; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(14,23,18,.06), 0 18px 40px -12px rgba(14,23,18,.28); opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top; transition: opacity .14s, transform .14s; font-family: var(--font); }
.dd2-pop.up { transform-origin: bottom; transform: translateY(4px) scale(.98); }
.dd2-pop.in { opacity: 1; transform: none; }
.dd2-pop ul { list-style: none; margin: 0; padding: 0; }
.dd2-opt { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 6px; border-radius: 9px; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.dd2-opt.act { background: var(--bg-2); color: var(--ink); }
.dd2-opt.sel { color: var(--ink); font-weight: 600; }
.dd2-opt.sel .dd2-check { color: var(--green-2); }
.dd2-opt.ph { color: var(--muted); }
.dd2-opt.dis { opacity: .4; cursor: not-allowed; }
.dd2-opt .dd2-l { flex: 1; }
.dd2-opt .dd2-meta { margin-left: 10px; }
.dd2-check { display: grid; place-items: center; width: 18px; flex: none; }
.dd2-search { position: sticky; top: -6px; margin: -6px -6px 6px; padding: 8px; background: inherit; border-bottom: 1px solid var(--line); }
.dd2-search input { width: 100%; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 9px; outline: none; font-size: 13.5px; }
.dd2-search input:focus { border-color: var(--green-2); }
/* dark (landing CTA form) */
.dd2-dark .dd2-btn { background: rgba(0,0,0,.25) !important; color: #fff; border-color: rgba(255,255,255,.15); padding: 13px 14px; }
.dd2-dark .dd2-ph { color: rgba(255,255,255,.5); }
.dd2-dark .dd2-chev { background: rgba(255,255,255,.1); color: #fff; }
.dd2-dark .dd2-btn.open, .dd2-dark .dd2-btn:focus-visible { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242,166,42,.15); }
.dd2-pop.dd2-dark { background: rgba(20,28,24,.97); border-color: rgba(255,255,255,.12); }
.dd2-pop.dd2-dark .dd2-opt { color: rgba(255,255,255,.8); }
.dd2-pop.dd2-dark .dd2-opt.act { background: rgba(255,255,255,.08); color: #fff; }
.dd2-pop.dd2-dark .dd2-opt.sel .dd2-check { color: var(--amber); }

/* ---------- models grid (fixed 3×2 with thumbnails) ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.model:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.model-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.model-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.model:hover .model-thumb img { transform: scale(1.04); }
.model-thumb span { position: absolute; top: 10px; left: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.85); font-size: 11px; color: var(--muted); }
.model-body { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.model-ic2 { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--green-soft); color: var(--green); }
.model-ic2 .ic { width: 19px; height: 19px; }
.model-body > div { flex: 1; min-width: 0; }
.model-body h3 { font-size: 16.5px; }
.model-body p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.model-go { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: .2s; }
.model:hover .model-go { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- product screens: arrows + big scroll track ---------- */
.screens-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.drag-hint { font-size: 12.5px; color: var(--muted); padding: 6px 12px; border: 1px dashed var(--line-2); border-radius: 999px; background: #fff; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.screens { scrollbar-width: none; cursor: grab; }
.screens::-webkit-scrollbar { display: none; }
.screens.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.scroll-track { position: relative; height: 12px; margin-top: 14px; border-radius: 999px; background: #e3e6df; cursor: pointer; }
.scroll-track i { position: absolute; top: 2px; bottom: 2px; left: 2px; min-width: 60px; border-radius: 999px; background: var(--ink); cursor: grab; transition: background .15s; }
.scroll-track i:hover, .scroll-track.drag i { background: var(--green-2); }
.scroll-track.drag i { cursor: grabbing; }

/* ---------- pricing cycle tabs ---------- */
.cycle-tabs { display: inline-flex; gap: 4px; margin-top: 22px; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.cycle-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: .15s; }
.cycle-tabs button em { font-style: normal; font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: var(--amber-soft); color: #9a5b00; }
.cycle-tabs button.on { background: var(--ink); color: #fff; }
.cycle-tabs button.on em { background: var(--amber); color: var(--ink); }
.plan-price b { transition: opacity .15s; }
.plan-price s { font-size: 16px; color: var(--muted-2); margin-left: 6px; font-weight: 500; }
.plan-cycle { font-size: 12px; color: var(--muted); margin: -2px 0 4px; min-height: 18px; }
.plan-cycle b { color: var(--green-2); }

/* ---------- articles (compact, 3×2, thumbnails) ---------- */
.articles2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.art { display: flex; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.art:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.art-thumb { flex: none; width: 104px; height: 80px; border-radius: 11px; overflow: hidden; background: var(--bg-2); }
.art-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-body { min-width: 0; display: grid; gap: 3px; }
.art-meta { font-size: 11px; color: var(--muted); }
.art-meta b { color: var(--green-2); font-weight: 600; }
.art h3 { font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art .more { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.art:hover .more { color: var(--green-2); }

@media (max-width: 1080px) { .models, .articles2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .models, .articles2 { grid-template-columns: 1fr; }
  .screens-nav { flex-direction: column; align-items: flex-start; }
  .cycle-tabs { flex-wrap: wrap; justify-content: center; border-radius: 18px; }
  .cycle-tabs button { padding: 8px 12px; font-size: 13.5px; }
}
/* article reader popup */
.art-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px 16px; background: rgba(8,12,10,.6); backdrop-filter: blur(4px); animation: artFade .2s; }
.art-modal[hidden] { display: none; }
@keyframes artFade { from { opacity: 0; } }
.art-box { position: relative; width: min(760px, 100%); max-height: calc(100vh - 48px); background: #fff; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); display: flex; overflow: hidden; }
.art-scroll { overflow-y: auto; padding: 0 0 32px; }
.art-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.art-x .ic { width: 18px; height: 18px; }
.art-read-img { height: 220px; background: var(--bg-2); overflow: hidden; }
.art-read-img img { width: 100%; height: 100%; object-fit: contain; }
.art-read > .art-meta, .art-read > h2, .art-text { padding: 0 36px; }
.art-read > .art-meta { display: block; margin-top: 24px; font-size: 12.5px; color: var(--muted); }
.art-read > .art-meta b { color: var(--green-2); }
.art-read > h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; line-height: 1.18; margin: 8px 0 16px; }
.art-text { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.art-text p { margin: 0 0 14px; }
.art-text h4 { font-size: 18px; margin: 22px 0 8px; color: var(--ink); }
.art-text ul { margin: 0 0 14px; padding-left: 22px; }
.art-text li { margin: 4px 0; }
@media (max-width: 560px) { .art-read > .art-meta, .art-read > h2, .art-text { padding: 0 20px; } .art-read-img { height: 160px; } }

/* ---------- real photos (round D) ---------- */
.hl-visual.has-photo { background: #0f1a14; }
.hl-visual .hl-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .6s ease; }
.hl-visual.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,14,.25), rgba(10,18,14,.62)); }
.hl-visual.has-photo > :not(.hl-bg) { position: relative; z-index: 1; }
.hl-card:hover .hl-bg { transform: scale(1.07); }
.hl-visual.has-photo .doc, .hl-visual.has-photo .inv-card { box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.hl-visual.has-photo .hl-chips span, .hl-visual.has-photo .chain span { background: rgba(255,255,255,.92); }
.hl-visual.has-photo .chain { color: rgba(255,255,255,.8); }
.hl-visual.has-photo .meter { box-shadow: 0 18px 40px rgba(0,0,0,.4); }

.why-photo { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; box-shadow: var(--shadow); }
.why-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,14,0) 35%, rgba(10,18,14,.7)); }
.why-cap { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.88); font-size: 11.5px; color: var(--ink); }
.why-float { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 10px; }
.why-float .why-num { padding: 14px 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-color: rgba(255,255,255,.6); }
.why-float .why-num b { font-size: 26px; min-width: 120px; }
.why-float .why-num span { font-size: 14px; }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.ps-card { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; background: #0f1a14; }
.ps-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ps-card:hover img { transform: scale(1.05); }
.ps-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,14,0) 45%, rgba(10,18,14,.82)); }
.ps-card figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: #fff; display: grid; gap: 4px; }
.ps-card figcaption .mono { font-size: 12px; color: var(--amber); }
.ps-card figcaption b { font-size: 19px; }
.ps-card figcaption small { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.5; }

.step-img { position: relative; height: 170px; border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: var(--bg-2); }
.step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.step:hover .step-img img { transform: scale(1.05); }
.step-img .mono { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12px; color: var(--ink); }
.step h3 { margin-top: 0; }

.avatar-img { width: 52px; height: 52px; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(0,0,0,.08); background: var(--bg-2); }
.quote { position: relative; }
.quote::before { content: "“"; position: absolute; bottom: -18px; right: 22px; font-size: 96px; line-height: 1; color: var(--amber-soft, #fdf0d8); font-family: Georgia, serif; }

.cta.has-photo { background-color: #0c1310; }
.cta .cta-bg { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.cta.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,19,16,.9) 25%, rgba(12,19,16,.45) 70%, rgba(12,19,16,.6)); }
.cta.has-photo > :not(.cta-bg) { z-index: 1; }

@media (max-width: 980px) { .photo-strip { grid-template-columns: 1fr 1fr; } .why-photo { min-height: 460px; } }
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr; }
  .ps-card { aspect-ratio: 4 / 3.4; }
  .why-photo { min-height: 420px; }
  .why-float .why-num { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
  .why-float .why-num b { font-size: 22px; min-width: 96px; }
}

/* ---------- highlight: báo cáo tự động gửi qua Zalo (4 thẻ → lưới 2×2) ---------- */
.bento:has(> .hl-card:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
.hl-report .hl-visual { background: radial-gradient(circle at 50% 30%, #e3ecff, var(--bg-2) 72%); }
.zrep { width: 270px; display: grid; gap: 7px; font-size: 12px; }
.zrep-h { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.zrep-h div { display: grid; line-height: 1.2; } .zrep-h small { color: var(--muted); font-size: 10.5px; }
.zrep-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0068ff; color: #fff; font-weight: 700; font-size: 12px; }
.zrep-me { justify-self: end; padding: 5px 11px; border-radius: 12px 12px 3px 12px; background: #d6e6ff; color: #0b3d91; }
.zrep-card { padding: 10px; border-radius: 12px 12px 12px 3px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.zrep-t { font-weight: 700; font-size: 12.5px; margin-bottom: 7px; }
.zrep-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.zrep-kpi span { display: grid; gap: 1px; padding: 5px 6px; border-radius: 8px; background: var(--bg-2); color: var(--muted); font-size: 10px; }
.zrep-kpi b { color: var(--ink); font-size: 13px; font-family: var(--mono); }
.zrep-bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 8px; }
.zrep-bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #2f7a4f, #8cc5a0); }
.zrep-bars i:last-child { background: linear-gradient(180deg, #e0a526, #f7d27a); }
.zrep-time { color: var(--muted); font-size: 10px; }
@media (max-width: 680px) { .bento:has(> .hl-card:nth-child(4)) { grid-template-columns: 1fr; } }
