/* ==========================================================
   Ntahien Tech — giao diện chính
   ========================================================== */
:root {
  --bg: #f4f7f6;
  --bg-2: #eaf0ee;
  --surface: #ffffff;
  --surface-2: #f8faf9;
  --ink: #0a1714;
  --ink-2: #22312d;
  --muted: #5a6b66;
  --line: #dde6e3;
  --brand: #16b56b;
  --brand-2: #0ea5e9;
  --brand-ink: #0a7a47;
  --hl: #d4f970;
  --hl-ink: #0a1714;
  --dark: #050c0b;
  --dark-2: #0b1715;
  --dark-line: rgba(255, 255, 255, .1);
  --grad: linear-gradient(100deg, #16b56b 0%, #0ea5e9 100%);
  --shadow-sm: 0 2px 10px -4px rgba(10, 30, 25, .12);
  --shadow: 0 24px 60px -28px rgba(10, 35, 28, .35);
  --shadow-lg: 0 40px 100px -40px rgba(10, 35, 28, .45);
  --r: 22px;
  --r-sm: 14px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060c0b; --bg-2: #0a1312; --surface: #0d1816; --surface-2: #111e1b;
    --ink: #e9f2ef; --ink-2: #c8d6d1; --muted: #8fa29c; --line: #1c2b28;
    --brand-ink: #4ade94;
    --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, .5);
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
    --shadow-lg: 0 40px 100px -40px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060c0b; --bg-2: #0a1312; --surface: #0d1816; --surface-2: #111e1b;
  --ink: #e9f2ef; --ink-2: #c8d6d1; --muted: #8fa29c; --line: #1c2b28;
  --brand-ink: #4ade94;
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, .5);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
  --shadow-lg: 0 40px 100px -40px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--hl); color: #0a1714; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1240px, 100% - 64px); } }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10000; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- Chữ ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow .num { font-family: var(--mono); color: var(--brand); letter-spacing: .05em; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow .num::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--line { padding-bottom: 10px; border-bottom: 2px solid var(--ink); color: var(--ink); }
.eyebrow--dark { color: rgba(255, 255, 255, .62); }
.slash { color: var(--brand); }
.h2 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; font-weight: 900; letter-spacing: -.025em; }
.h2--xl { font-size: clamp(34px, 5.1vw, 70px); line-height: 1.02; letter-spacing: -.035em; }
.h2--light { color: #fff; }
.h2 em { font-style: normal; color: var(--muted); }
.h2 em.serif { color: transparent; }
.muted-ink { color: #8193a0; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -.01em; background: linear-gradient(100deg, #5eead4, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--muted); line-height: 1.75; }
.grad-text { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s ease-in-out infinite; }
@keyframes gradShift { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
mark.hl, .hl { position: relative; background: none; color: inherit; z-index: 0; white-space: nowrap; }
mark.hl::before { content: ''; position: absolute; left: -.08em; right: -.08em; bottom: .04em; height: .52em; background: var(--hl); z-index: -1; transform-origin: left; transform: scaleX(0) skewX(-8deg); border-radius: 3px; transition: transform 1s var(--ease) .35s; }
.is-in mark.hl::before, mark.hl.is-in::before, .hero mark.hl::before { transform: scaleX(1) skewX(-8deg); }
/* Giao diện tối: vạch tô phủ kín chữ để chữ tối luôn đọc được */
[data-theme="dark"] mark.hl { color: var(--hl-ink); }
[data-theme="dark"] mark.hl::before { height: .98em; bottom: -.04em; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) mark.hl { color: var(--hl-ink); }
  :root:not([data-theme="light"]) mark.hl::before { height: .98em; bottom: -.04em; }
}

/* ---------- Nút ---------- */
.btn { --bg-btn: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s, background-color .3s, color .3s; isolation: isolate; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-110%); transition: transform .8s var(--ease); z-index: 0; }
.btn:hover::after { transform: translateX(110%); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--bg); box-shadow: 0 14px 30px -14px rgba(10, 23, 20, .6); }
.btn--dark:hover { box-shadow: 0 20px 40px -16px rgba(10, 23, 20, .7); }
.btn--brand { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(22, 181, 107, .55); }
.btn--brand:hover { box-shadow: 0 20px 44px -14px rgba(14, 165, 233, .6); }
.btn--ghost { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline-light { border: 1.5px solid rgba(255, 255, 255, .22); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn__arrow { width: 32px; height: 32px; margin-right: -14px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: rotate(45deg); }
.ico--zalo { width: 1.5em; height: 1.5em; color: #0068ff; }
.btn--dark .ico--zalo { color: #3b8bff; }
.link-under { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 6px 0; position: relative; }
.link-under::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link-under:hover::after { transform: scaleX(0); }
.link-under .ico { transition: transform .4s var(--ease); }
.link-under:hover .ico { transform: translate(3px, -3px); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.icon-btn:hover { border-color: var(--ink); transform: rotate(-15deg); }
.icon-btn .ico--moon { display: none; }
[data-theme="dark"] .icon-btn .ico--sun { display: none; }
[data-theme="dark"] .icon-btn .ico--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .ico--sun { display: none; }
  :root:not([data-theme="light"]) .icon-btn .ico--moon { display: block; }
}
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-2); color: var(--ink-2); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Con trỏ ---------- */
.fx-field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9990; opacity: 0; will-change: transform; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
/* Khung ngắm 4 góc */
.cursor { --c: var(--brand); --L: 9px; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; border-radius: 4px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--L) 2px no-repeat, linear-gradient(var(--c), var(--c)) top left / 2px var(--L) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--L) 2px no-repeat, linear-gradient(var(--c), var(--c)) top right / 2px var(--L) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--L) 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 2px var(--L) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--L) 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 2px var(--L) no-repeat;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), border-radius .4s var(--ease), opacity .3s; }
.cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--brand); transition: opacity .3s; }
.cursor.is-hover { --c: var(--brand-2); --L: 12px; width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.cursor.is-hover::after { content: ''; position: absolute; inset: 8px; border-radius: 3px; background: rgba(14, 165, 233, .1); }
.cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--ink); }
.cursor.is-down { --L: 14px; width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cursor__label { font-size: 13px; font-weight: 700; color: var(--bg); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); white-space: nowrap; }
.cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0 !important; }
.cursor-dot.is-hover { opacity: 0; }
.click-wave { position: fixed; pointer-events: none; z-index: 9989; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid var(--brand); border-radius: 3px; animation: wave .65s var(--ease) forwards; }
@keyframes wave { to { transform: scale(4.5) rotate(45deg); opacity: 0; border-color: var(--brand-2); } }
/* Ký hiệu code bay lên */
.sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.sparkle { position: absolute; bottom: -30px; font-family: var(--mono); font-weight: 700; color: var(--brand); opacity: 0; font-size: var(--s, 12px); animation: rise var(--t, 20s) linear var(--dl, 0s) infinite; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .35; } 80% { opacity: .25; } 100% { transform: translateY(-110vh); opacity: 0; } }

/* ---------- Thanh điều hướng ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; padding: 14px 0; transition: transform .5s var(--ease), padding .4s var(--ease); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__wrap { width: min(1240px, 100% - 32px); margin: 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 10px 0 16px; border-radius: 999px; border: 1px solid transparent; transition: background-color .4s, border-color .4s, box-shadow .4s, width .5s var(--ease); }
.nav.is-scrolled .nav__wrap { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); border-color: var(--line); box-shadow: var(--shadow-sm); width: min(1120px, 100% - 24px); }
.nav__progress { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(1080px, 100% - 80px); height: 2px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.nav.is-scrolled .nav__progress { opacity: 1; }
.nav__progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 2px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand__mark { width: 38px; height: 38px; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__name b { font-weight: 800; color: var(--brand); margin-left: 2px; }
.nav__links { display: none; gap: 4px; padding: 5px; border-radius: 999px; }
.nav__links a { position: relative; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .3s, background-color .3s; }
.nav__links a:hover { color: var(--ink); background: var(--bg-2); }
.nav__links a.is-active { color: #fff; background: var(--ink); }
[data-theme="dark"] .nav__links a.is-active { color: var(--bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav__links a.is-active { color: var(--bg); } }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }
.nav__cta .ico { width: 1.5em; height: 1.5em; color: #fff; --zt: #0ea5e9; }
.btn--brand .ico { --zt: #16b56b; }
.contact__list .ci .ico, .footer__social .ico { --zt: #050c0b; }
.burger { width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; gap: 5px; background: var(--ink); }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--bg); transition: transform .45s var(--ease), opacity .3s, width .3s; }
.burger span:nth-child(3) { width: 11px; }
.burger:hover span:nth-child(3) { width: 18px; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { width: 18px; transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1080px) { .nav__links { display: flex; } }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1080px) { .burger { display: none; } }

/* ---------- Menu toàn màn hình ---------- */
.menu { position: fixed; inset: 0; z-index: 75; pointer-events: none; visibility: hidden; }
.menu-open .menu { pointer-events: auto; visibility: visible; }
.menu__bg { position: absolute; inset: 0; background: #050c0b; clip-path: circle(0 at calc(100% - 50px) 46px); transition: clip-path .8s var(--ease); }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 50px) 46px); }
.menu-open .brand { color: #fff; }
.menu-open .nav.is-scrolled .nav__wrap { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.menu__inner { position: relative; height: 100%; overflow-y: auto; padding: 110px 24px 40px; display: grid; gap: 40px; align-content: start; color: #fff; width: min(1240px, 100%); margin: 0 auto; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(30px, 7vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.menu__links a i { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--brand); font-weight: 500; }
.menu__links a:hover { color: var(--hl); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; } .menu-open .menu__links a:nth-child(2) { transition-delay: .3s; } .menu-open .menu__links a:nth-child(3) { transition-delay: .35s; } .menu-open .menu__links a:nth-child(4) { transition-delay: .4s; } .menu-open .menu__links a:nth-child(5) { transition-delay: .45s; } .menu-open .menu__links a:nth-child(6) { transition-delay: .5s; } .menu-open .menu__links a:nth-child(7) { transition-delay: .55s; }
.menu__side { opacity: 0; transition: opacity .6s .5s; }
.menu-open .menu__side { opacity: 1; }
.menu__big { display: block; font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu__mail { display: block; margin-top: 6px; color: rgba(255, 255, 255, .8); }
.menu__note { margin-top: 14px; color: rgba(255, 255, 255, .5); font-size: 14px; }
@media (min-width: 860px) { .menu__inner { grid-template-columns: 1.4fr 1fr; align-content: center; padding-top: 80px; } }

/* ---------- Hiệu ứng xuất hiện ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding: .2em .02em .08em; margin: -.2em -.02em -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--wd, 0s); }
.is-ready .split-word > span { transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 0; overflow: hidden; }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); opacity: .55; pointer-events: none; }
.hero__glow { position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; background: radial-gradient(circle, rgba(14, 165, 233, .18), transparent 60%), radial-gradient(circle at 30% 70%, rgba(22, 181, 107, .16), transparent 55%); filter: blur(10px); pointer-events: none; animation: glowMove 14s ease-in-out infinite alternate; }
@keyframes glowMove { to { transform: translate(-120px, 80px) scale(1.1); } }
.hero__inner { position: relative; display: grid; gap: 40px; }
.hero__title { font-size: clamp(40px, 6.3vw, 96px); line-height: 1; font-weight: 900; letter-spacing: -.045em; margin: 6px 0 34px; }
.hero__title .line { display: block; }
.hero__title .line--script { font-size: .5em; letter-spacing: -.025em; margin-top: .22em; font-weight: 800; line-height: 1.15; }
.hero__title .line { white-space: nowrap; }
.hero__title .line--script { white-space: normal; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero__right { display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); line-height: 1.8; }
.hero__lead strong { color: var(--ink); font-weight: 700; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--mono); font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.stat > span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.hero__tags { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(1240px, 100% - 32px); margin: 60px auto 0; }
.hero__tags span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: border-color .3s, color .3s, transform .3s var(--ease); }
.hero__tags span:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-3px); }
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: end; }
  .hero__right { padding-left: 40px; border-left: 1px solid var(--line); padding-bottom: 8px; }
}

/* Dải giao diện nghiêng */
.showcase { position: relative; margin-top: 10px; padding: 30px 0 90px; perspective: 1400px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.showcase__track { display: flex; gap: 28px; width: max-content; transform: rotateX(18deg) rotateZ(-3deg); transform-style: preserve-3d; animation: slideLeft 55s linear infinite; }
.showcase:hover .showcase__track { animation-play-state: paused; }
.shot { position: relative; width: clamp(260px, 30vw, 420px); aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); transition: transform .6s var(--ease); flex: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot:hover { transform: translateY(-14px) scale(1.03); }
.shot__label { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(5, 12, 11, .78); color: #fff; backdrop-filter: blur(6px); }
.shot--phone { width: clamp(130px, 13vw, 190px); aspect-ratio: 9 / 19; border-radius: 26px; border: 6px solid #0a1714; }
@keyframes slideLeft { to { transform: rotateX(18deg) rotateZ(-3deg) translateX(-50%); } }

/* ---------- Dải chữ chạy ---------- */
.ticker { position: relative; padding: 18px 0 70px; overflow: hidden; }
.ticker__row { background: var(--ink); color: var(--bg); padding: 18px 0; transform: rotate(-2deg); margin: 0 -40px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.ticker__row--alt { background: var(--hl); color: #0a1714; transform: rotate(1.6deg); margin-top: -26px; z-index: 1; }
.ticker__move { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; font-size: clamp(18px, 2.2vw, 28px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.ticker__move--rev { animation-direction: reverse; animation-duration: 38s; }
.ticker__move i { font-style: normal; color: var(--brand); font-size: .7em; }
.ticker__row--alt .ticker__move i { color: #0a1714; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Vì sao ---------- */
.why { padding: 60px 0 120px; }
.why__inner { display: grid; gap: 50px; }
.why__sticky .h2 { margin-bottom: 22px; }
.compare { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.compare__col { padding: 22px; }
.compare__col--bad { background: var(--surface-2); }
.compare__col--good { background: linear-gradient(160deg, rgba(22, 181, 107, .1), rgba(14, 165, 233, .06)); }
.compare__head { font-weight: 800; margin-bottom: 12px; font-size: 15px; }
.compare__col--bad .compare__head { color: var(--muted); }
.compare__col--good .compare__head { color: var(--brand-ink); }
.compare li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.5; margin-top: 10px; color: var(--ink-2); }
.compare li::before { content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; }
.compare__col--bad li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(239, 68, 68, .5); }
.compare__col--bad li::before { background: rgba(239, 68, 68, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E") center / 9px no-repeat; }
.compare__col--good li::before { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.stack { display: grid; gap: 22px; }
.stack__card { position: sticky; top: calc(110px + var(--i) * 22px); display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform-origin: top center; min-height: 300px; }
.stack__card:nth-child(2) { background: linear-gradient(170deg, var(--surface), var(--surface-2)); }
.stack__card:nth-child(4) { background: var(--ink); color: var(--bg); border-color: transparent; }
.stack__card:nth-child(4) p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.stack__card:nth-child(4) .stack__chips span { background: rgba(255, 255, 255, .08); color: inherit; border-color: transparent; }
[data-theme="dark"] .stack__card:nth-child(4) .stack__chips span { background: rgba(0, 0, 0, .08); }
.stack__num { font-family: var(--mono); font-size: 54px; font-weight: 700; line-height: .9; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--hl); color: #0a1714; margin-bottom: 18px; }
.stack__icon .ico { width: 22px; height: 22px; }
.stack__card h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.stack__card p { color: var(--muted); }
.stack__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.stack__chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.stack__meter { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--muted); }
.stack__meter b { font-family: var(--mono); font-size: 22px; color: var(--brand); }
.meter { flex: 1; height: 10px; border-radius: 10px; background: var(--bg-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--grad); transition: width 1.8s var(--ease) .3s; }
.is-in .meter i, .meter.is-in i { width: var(--w); }
@media (min-width: 1000px) {
  .why__inner { grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; }
  .why__sticky { position: sticky; top: 120px; }
}
@media (max-width: 560px) {
  .stack__card { grid-template-columns: 1fr; padding: 24px; gap: 8px; top: calc(90px + var(--i) * 14px); }
  .stack__num { font-size: 40px; }
  .compare { grid-template-columns: 1fr; }
}

/* ---------- Dịch vụ ---------- */
.services { padding: 110px 0; background: var(--surface-2); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 22px; margin-bottom: 56px; }
.sec-head--center { text-align: center; justify-items: center; }
.sec-head--center .lead { max-width: 640px; }
@media (min-width: 1000px) {
  .sec-head:not(.sec-head--center) { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 60px; }
  .sec-head__aside { padding-left: 30px; border-left: 1px solid var(--line); }
}
.svc-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { --mx: 50%; --my: 50%; position: relative; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transform-style: preserve-3d; transition: box-shadow .5s, border-color .5s, transform .5s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.svc::before, .pcard::before, .proj::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(22, 181, 107, .13), transparent 45%); opacity: 0; transition: opacity .4s; }
.svc:hover::before, .pcard:hover::before, .proj:hover::before { opacity: 1; }
.svc:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.svc__visual { height: 250px; padding: 22px; display: grid; place-items: center; background: linear-gradient(160deg, #eef6f3, #f6faf8); position: relative; overflow: hidden; }
.svc__visual--warm { background: linear-gradient(160deg, #fff4ea, #fff9f3); }
.svc__visual--lime { background: linear-gradient(160deg, #f3fbdc, #fbfef1); }
.svc__visual--sky { background: linear-gradient(160deg, #e6f5fd, #f4fbff); }
.svc__visual--mint { background: linear-gradient(160deg, #e3f8ee, #f2fcf7); }
.svc__visual--violet { background: linear-gradient(160deg, #efeafe, #f8f6ff); }
[data-theme="dark"] .svc__visual { filter: brightness(.9) saturate(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .svc__visual { filter: brightness(.9) saturate(.9); } }
.svc__body { padding: 24px 26px 26px; }
.svc__no { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--brand); }
.svc__body h3 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 8px; }
.svc__body p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.svc__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc__ico { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .4s, color .4s, transform .5s var(--ease); }
.svc:hover .svc__ico { background: var(--ink); color: var(--bg); transform: rotate(-20deg); }

/* mô phỏng giao diện nhỏ (luôn sáng) */
.svc__visual { color: #0a1714; }
.mock-browser { width: 100%; max-width: 330px; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px -18px rgba(10, 35, 28, .3); overflow: hidden; transition: transform .6s var(--ease); }
.svc:hover .mock-browser { transform: translateY(-6px) rotate(-1deg); }
.mock-browser__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f1f5f4; }
.mock-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4dcd9; }
.mock-browser__bar span { margin-left: 8px; font-size: 9.5px; color: #7b8b87; background: #fff; padding: 2px 10px; border-radius: 999px; }
.mock-site { padding: 12px; }
.mock-site__nav { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mock-site__nav b { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); }
.mock-site__nav span { height: 5px; width: 24px; border-radius: 3px; background: #e2e8e6; }
.mock-site__nav span:first-of-type { margin-left: auto; }
.mock-site__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; align-items: center; }
.mock-site__hero p { height: 8px; border-radius: 4px; background: #0a1714; margin-bottom: 6px; }
.mock-site__hero .w80 { width: 90%; } .mock-site__hero .w60 { width: 70%; } .mock-site__hero .w40 { width: 46%; }
.mock-site__hero .hl-line { background: var(--hl); height: 8px; }
.mock-site__hero em { display: inline-block; margin-top: 8px; font-style: normal; font-size: 9px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #0a1714; color: #fff; }
.mock-site__img { height: 76px; border-radius: 10px; background: linear-gradient(135deg, #16b56b, #0ea5e9); position: relative; overflow: hidden; }
.mock-site__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); animation: shimmer 2.8s ease-in-out infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.mock-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mock-site__cards span { height: 34px; border-radius: 8px; background: #f1f5f4; }
.mock-shop { width: 100%; max-width: 340px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 20px 40px -18px rgba(60, 30, 10, .25); }
.mock-shop__top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; margin-bottom: 10px; }
.mock-shop__cart { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #0a1714; display: grid; place-items: center; }
.mock-shop__cart .ico { color: #fff; width: 14px; height: 14px; }
.mock-shop__cart i { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; border-radius: 8px; background: #ef4444; color: #fff; font-size: 9px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.mock-shop__cart.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.mock-shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-shop .p { border: 1px solid #eef0ef; border-radius: 10px; padding: 6px; font-size: 9.5px; display: grid; gap: 2px; }
.mock-shop .p span { height: 66px; border-radius: 7px; background: var(--c); margin-bottom: 4px; }
.mock-shop .p em { font-style: normal; color: #e11d48; font-weight: 700; }
.mock-shop .p button { margin-top: 4px; font-size: 8.5px; font-weight: 700; padding: 5px 0; border-radius: 6px; background: #0a1714; color: #fff; transition: transform .2s; }
.mock-shop .p button.is-click { transform: scale(.9); background: var(--brand); }
.mock-landing { width: 100%; max-width: 300px; text-align: center; padding: 18px; border-radius: 16px; background: #0a1714; box-shadow: 0 20px 40px -18px rgba(10, 35, 28, .5); }
.mock-landing * { color: #fff; }
.mock-landing__badge { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--hl); color: #0a1714; }
.mock-landing__title { font-size: 17px; font-weight: 800; line-height: 1.25; margin: 10px 0 12px; }
.mock-landing__title b { color: var(--hl); }
.mock-landing__count { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.mock-landing__count span { display: grid; font-size: 8.5px; color: rgba(255, 255, 255, .6); width: 48px; padding: 6px 0; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.mock-landing__count b { font-family: var(--mono); font-size: 17px; }
.mock-landing__cta { display: inline-block; font-size: 11px; font-weight: 800; padding: 9px 18px; border-radius: 999px; background: var(--grad); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(22, 181, 107, 0); } 0% { box-shadow: 0 0 0 0 rgba(22, 181, 107, .55); } }
.mock-dash { width: 100%; max-width: 340px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 20px 40px -18px rgba(10, 60, 90, .3); font-size: 10px; }
.mock-dash__head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.mock-dash__head span { color: #16a34a; font-weight: 700; }
.mock-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-dash__kpis div { border: 1px solid #eef0ef; border-radius: 8px; padding: 6px 8px; }
.mock-dash__kpis small { display: block; color: #7b8b87; font-size: 8.5px; }
.mock-dash__kpis b { font-size: 14px; }
.mock-dash__bars { display: flex; align-items: flex-end; gap: 7px; height: 90px; margin-top: 12px; padding-top: 4px; border-bottom: 1px solid #eef0ef; }
.mock-dash__bars i { flex: 1; height: 0; border-radius: 4px 4px 0 0; background: linear-gradient(#38bdf8, #0284c7); transition: height 1.2s var(--ease); }
.mock-dash__bars i:last-child { background: var(--grad); }
.is-in .mock-dash__bars i { height: var(--h); }
.is-in .mock-dash__bars i:nth-child(2) { transition-delay: .06s; } .is-in .mock-dash__bars i:nth-child(3) { transition-delay: .12s; } .is-in .mock-dash__bars i:nth-child(4) { transition-delay: .18s; } .is-in .mock-dash__bars i:nth-child(5) { transition-delay: .24s; } .is-in .mock-dash__bars i:nth-child(6) { transition-delay: .3s; } .is-in .mock-dash__bars i:nth-child(7) { transition-delay: .36s; } .is-in .mock-dash__bars i:nth-child(8) { transition-delay: .42s; }
.mock-phones { position: relative; width: 220px; height: 220px; }
.mock-phone { position: absolute; width: 112px; height: 230px; border-radius: 20px; border: 5px solid #0a1714; overflow: hidden; background: #fff; left: 18px; top: 8px; transform: rotate(-8deg); box-shadow: 0 20px 40px -14px rgba(10, 35, 28, .4); transition: transform .6s var(--ease); }
.mock-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mock-phone--b { left: auto; right: 10px; top: 0; transform: rotate(7deg); z-index: 1; }
.svc:hover .mock-phone { transform: rotate(-12deg) translateX(-8px); }
.svc:hover .mock-phone--b { transform: rotate(10deg) translate(8px, -6px); }
.mock-chat { width: 100%; max-width: 310px; display: flex; flex-direction: column; gap: 7px; font-size: 11px; }
.mock-chat .b { max-width: 82%; padding: 8px 12px; border-radius: 14px; line-height: 1.4; box-shadow: 0 6px 16px -10px rgba(40, 20, 90, .3); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); }
.mock-chat .b--in { background: #fff; border-bottom-left-radius: 4px; }
.mock-chat .b--out { background: #7c3aed; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.mock-chat .b--typing { display: flex; gap: 4px; background: #fff; width: fit-content; }
.mock-chat .b--typing i { width: 6px; height: 6px; border-radius: 50%; background: #a78bfa; animation: typing 1s infinite; }
.mock-chat .b--typing i:nth-child(2) { animation-delay: .15s; } .mock-chat .b--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }
.mock-chat .b.show { opacity: 1; transform: none; }
.mock-chat__tag { align-self: center; display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; color: #6d28d9; background: #fff; padding: 4px 10px; border-radius: 999px; margin-top: 4px; }
.mock-chat__tag .ico { color: #7c3aed; width: 12px; height: 12px; }

/* ---------- Dự án ---------- */
.projects { padding: 120px 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filters button { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; transition: background-color .3s, color .3s, border-color .3s; }
.filters button sup { font-family: var(--mono); font-size: 10px; margin-left: 2px; color: var(--muted); }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters button.is-active sup { color: var(--hl); }
.proj-grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .proj-grid { grid-template-columns: repeat(12, 1fr); } .proj { grid-column: span 4; } .proj--wide { grid-column: span 6; } }
.proj { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-align: left; transition: transform .6s var(--ease), box-shadow .5s, opacity .5s, border-color .4s; }
.proj:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.proj.is-out { display: none; }
.proj.is-pop { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.proj__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--accent) 12%, var(--bg-2)); }
.proj__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.proj:hover .proj__media img { transform: scale(1.06); }
.proj__media--phones { display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding: 26px 20px 0; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), color-mix(in srgb, var(--accent) 10%, var(--bg-2)); }
.proj__media--phones img { width: 30%; max-width: 130px; height: auto; aspect-ratio: 9 / 19.5; border-radius: 16px 16px 0 0; border: 4px solid #0a1714; border-bottom: 0; box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .35); transition: transform .8s var(--ease); }
.proj__media--phones img:nth-child(2) { transform: translateY(-14px); }
.proj:hover .proj__media--phones img { transform: translateY(-8px); }
.proj:hover .proj__media--phones img:nth-child(2) { transform: translateY(-24px) scale(1.03); }
.proj__media--chat { display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, #e7f4fb, #f4fafd); }
.tg { width: 100%; max-width: 330px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -18px rgba(10, 60, 90, .35); font-size: 11px; color: #0a1714; }
.tg__head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #229ed9; color: #fff; font-weight: 700; }
.tg__head i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.tg__body { padding: 10px; display: grid; gap: 6px; background: #eaf3f8; }
.tg__msg { background: #fff; padding: 7px 10px; border-radius: 10px; max-width: 88%; line-height: 1.4; }
.tg__msg--bot { border-left: 3px solid #229ed9; }
.tg__btns { display: flex; gap: 4px; margin-top: 6px; }
.tg__btns span { flex: 1; text-align: center; font-size: 9.5px; font-weight: 700; padding: 5px 0; border-radius: 6px; background: #e3f1f9; color: #1b7fb0; }
.proj__badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; gap: 6px; }
.proj__badge span { padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .92); color: #0a1714; backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); }
.proj__badge .live { background: #0a1714; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.proj__badge .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
.proj__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.proj__kind { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.proj__title { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 8px; }
.proj__sum { color: var(--muted); font-size: 14.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proj__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.proj__more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.proj__more .ico { transition: transform .4s var(--ease); }
.proj:hover .proj__more .ico { transform: translate(3px, -3px); }
.projects__more { margin-top: 44px; text-align: center; }

/* ---------- Quy trình (tối) ---------- */
.process { position: relative; padding: 120px 0; background: #050c0b; color: #fff; overflow: hidden; }
.process__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(14, 165, 233, .22), transparent 60%), radial-gradient(ellipse 50% 40% at 10% 90%, rgba(22, 181, 107, .2), transparent 60%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 56px 56px; pointer-events: none; }
.process .container { position: relative; }
.process__head { display: grid; gap: 30px; margin-bottom: 56px; }
.process__meter p { color: rgba(255, 255, 255, .62); line-height: 1.75; }
.process__counter { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; font-family: var(--mono); }
.process__counter span { font-family: var(--font); font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .5); font-weight: 700; }
.process__counter b { font-size: 44px; line-height: 1; }
.process__counter i { font-style: normal; font-size: 34px; color: rgba(255, 255, 255, .3); }
.process__counter em { font-style: normal; font-size: 34px; color: rgba(255, 255, 255, .3); }
.process__bar { flex: 1; height: 3px; background: rgba(255, 255, 255, .1); border-radius: 3px; margin-left: 18px; align-self: center; overflow: hidden; }
.process__bar span { display: block; height: 100%; width: 16.6%; background: var(--grad); border-radius: 3px; transition: width .6s var(--ease); }
@media (min-width: 1000px) { .process__head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 80px; } }
.process__body { display: grid; gap: 30px; }
@media (min-width: 1000px) { .process__body { grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; } .console { position: sticky; top: 110px; } }
.steps { display: grid; gap: 10px; counter-reset: s; }
.step { display: flex; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid transparent; cursor: pointer; transition: background-color .4s, border-color .4s, opacity .4s; opacity: .5; }
.step:hover { opacity: .85; }
.step.is-active { opacity: 1; background: rgba(255, 255, 255, .05); border-color: rgba(94, 234, 212, .35); box-shadow: inset 0 0 30px rgba(14, 165, 233, .08); }
.step__no { font-family: var(--mono); font-weight: 700; color: #5eead4; font-size: 14px; padding-top: 3px; }
.step h3 { font-size: 19px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.step h3 small { font-size: 11.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .45); font-weight: 700; }
.step p { margin-top: 6px; color: rgba(255, 255, 255, .62); font-size: 14.5px; line-height: 1.65; }
.console { border-radius: 26px; padding: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 80px -20px rgba(14, 165, 233, .25); }
.console__head { display: flex; align-items: center; gap: 10px; padding: 8px 12px 14px; font-size: 12px; letter-spacing: .2em; font-weight: 700; color: rgba(255, 255, 255, .7); }
.console__head .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.console__head b { margin-left: auto; font-family: var(--mono); color: #5eead4; letter-spacing: .05em; }
.console__screen { border-radius: 18px; background: #08110f; border: 1px solid rgba(255, 255, 255, .06); padding: 22px; }
.console__top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; }
.console__top span { display: inline-flex; align-items: center; gap: 8px; }
.console__top span .ico { color: #5eead4; }
.console__top em { font-style: normal; font-size: 12px; color: #4ade80; display: inline-flex; align-items: center; gap: 6px; }
.console__top em i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.console__main { display: grid; gap: 26px; align-items: center; margin: 26px 0; }
@media (min-width: 600px) { .console__main { grid-template-columns: 210px 1fr; } }
.radar { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.radar svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(94, 234, 212, .22); stroke-width: 1; }
.radar__sweep { position: absolute; inset: 8px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(94, 234, 212, .45), transparent 22%); animation: spin 4s linear infinite; mask-image: radial-gradient(circle, #000 69%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 69%, transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.radar__core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: #0b1a17; border: 1px solid rgba(94, 234, 212, .4); box-shadow: 0 0 30px rgba(94, 234, 212, .3); }
.radar__core .ico { width: 26px; height: 26px; color: #5eead4; }
.radar__blip { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; border-radius: 50%; background: #f472b6; box-shadow: 0 0 12px #f472b6; animation: blink 2s infinite var(--dl, 0s); }
.console__list { display: grid; gap: 10px; }
.console__list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); animation: slideIn .6s var(--ease) both; }
.console__list li:nth-child(2) { animation-delay: .1s; } .console__list li:nth-child(3) { animation-delay: .2s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }
.console__list .ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(94, 234, 212, .1); color: #5eead4; flex: none; }
.console__list b { display: block; font-size: 14px; }
.console__list small { color: rgba(255, 255, 255, .5); font-size: 12px; }
.console__list .ok { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); display: grid; place-items: center; flex: none; }
.console__list .ok.is-done { border-color: #4ade80; color: #4ade80; }
.console__list .ok .ico { width: 12px; height: 12px; opacity: 0; }
.console__list .ok.is-done .ico { opacity: 1; }
.console__log { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .45); margin-bottom: 10px; }
.console__log span:last-child { font-family: var(--mono); color: #5eead4; }
.console__ticks { display: flex; gap: 4px; height: 22px; }
.console__ticks i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, .08); transition: background-color .3s; }
.console__ticks i.on { background: linear-gradient(#5eead4, #16b56b); box-shadow: 0 0 8px rgba(94, 234, 212, .5); }
.process__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 56px; }

/* ---------- Bảng giá ---------- */
.pricing { padding: 120px 0; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-top: 10px; }
.seg button { position: relative; z-index: 1; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: color .35s; }
.seg button.is-active { color: var(--bg); }
.seg__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease); }
.seg[data-pos="1"] .seg__pill { transform: translateX(100%); }
.price-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .price-grid { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.price { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; animation: pop .6s var(--ease) both; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price--hot { background: var(--ink); color: var(--bg); border-color: transparent; box-shadow: var(--shadow-lg); }
.price--hot::before { content: ''; position: absolute; inset: -2px; border-radius: 28px; padding: 2px; background: conic-gradient(from var(--ang, 0deg), #16b56b, #0ea5e9, #d4f970, #16b56b); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: borderSpin 4s linear infinite; pointer-events: none; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes borderSpin { to { --ang: 360deg; } }
.price__tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); margin-bottom: 18px; }
.price--hot .price__tag { background: var(--hl); color: #0a1714; }
.price h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.price__desc { font-size: 14px; color: var(--muted); margin: 6px 0 20px; min-height: 44px; }
.price--hot .price__desc, .price--hot .price__time, .price--hot li { color: color-mix(in srgb, var(--bg) 86%, transparent); }
.price__val { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price__val small { font-size: 14px; color: var(--muted); }
.price__val b { font-family: var(--mono); font-size: clamp(28px, 2.6vw, 34px); letter-spacing: -.04em; line-height: 1; }
.price__val span { font-size: 13px; color: var(--muted); }
.price--hot .price__val small, .price--hot .price__val span { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.price__time { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.price ul { margin: 22px 0 26px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.price--hot ul { border-color: rgba(255, 255, 255, .15); }
[data-theme="dark"] .price--hot ul { border-color: rgba(0, 0, 0, .15); }
.price li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.price li::before { content: ''; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: rgba(22, 181, 107, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316b56b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.price .btn { margin-top: auto; }
.price--hot .btn--ghost { background: var(--hl); color: #0a1714; border-color: transparent; }
.pricing__note { text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--muted); }

/* ---------- Ước tính ---------- */
.estimate { padding: 110px 0; background: var(--surface-2); border-block: 1px solid var(--line); }
.estimate__inner { display: grid; gap: 50px; }
@media (min-width: 1000px) { .estimate__inner { grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; } .estimate__intro { position: sticky; top: 120px; } }
.estimate__intro .h2 { margin-bottom: 18px; }
.ticks { display: grid; gap: 12px; margin-top: 26px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; }
.ticks .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3; }
.calc { padding: 30px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 26px; }
.calc fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc legend { font-weight: 800; font-size: 16px; margin-bottom: 14px; display: flex; justify-content: space-between; width: 100%; }
.calc legend b { font-family: var(--mono); color: var(--brand); }
.calc__types { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 700; font-size: 14.5px; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.opt span small { font-weight: 500; font-size: 12.5px; color: var(--muted); }
.opt span:hover { border-color: var(--ink); }
.opt input:checked + span { border-color: var(--brand); background: rgba(22, 181, 107, .08); }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.calc__addons { display: grid; gap: 8px; }
@media (min-width: 600px) { .calc__addons { grid-template-columns: 1fr 1fr; } }
.chk { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; font-size: 14px; font-weight: 600; transition: border-color .3s, background-color .3s; }
.chk input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--muted); flex: none; display: grid; place-items: center; transition: background-color .25s, border-color .25s; margin: 0; }
.chk input:checked { background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--brand); }
.chk:has(input:checked) { border-color: var(--brand); background: rgba(22, 181, 107, .06); }
.chk em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--brand) var(--p, 20%), var(--bg-2) var(--p, 20%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 6px solid var(--brand); box-shadow: var(--shadow-sm); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 6px solid var(--brand); cursor: grab; }
.switch { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { width: 46px; height: 26px; border-radius: 26px; background: var(--bg-2); border: 1px solid var(--line); position: relative; flex: none; transition: background-color .3s; }
.switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.switch input:checked + .switch__ui { background: var(--brand); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--brand); outline-offset: 2px; }
.calc__result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; border-radius: 20px; background: var(--ink); color: var(--bg); }
.calc__result small { font-size: 12.5px; color: color-mix(in srgb, var(--bg) 60%, transparent); font-weight: 600; letter-spacing: .04em; }
.calc__price { font-family: var(--mono); font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.04em; line-height: 1.2; margin: 4px 0; }
.calc__price em { font-style: normal; font-size: .6em; color: var(--hl); }
.calc__result .btn--dark { background: var(--hl); color: #0a1714; box-shadow: none; }

/* ---------- Về tôi ---------- */
.about { padding: 120px 0 80px; overflow: hidden; }
.about__inner { display: grid; gap: 60px; align-items: center; }
@media (min-width: 1000px) { .about__inner { grid-template-columns: .85fr 1.15fr; gap: 80px; } }
.about__photo { position: relative; width: min(440px, 100%); margin: 0 auto; }
.about__frame { position: relative; border-radius: 34px; padding: 6px; background: conic-gradient(from var(--ang, 0deg), #16b56b, #0ea5e9, #d4f970, #16b56b); animation: borderSpin 6s linear infinite; }
.about__frame img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 29px; background: var(--bg-2); }
.badge-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 700; white-space: nowrap; animation: floaty 4s ease-in-out infinite; }
.badge-float .ico { color: var(--brand); }
.badge-float--a { left: -14px; top: 12%; }
.badge-float--b { right: -10px; top: 46%; animation-delay: -1.3s; }
.badge-float--c { left: 8%; bottom: -16px; animation-delay: -2.6s; }
.badge-float--c b { font-family: var(--mono); color: var(--brand); }
.live { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 1.6s infinite; display: inline-block; }
.about__hello { font-size: clamp(36px, 5vw, 64px); }
.about__role { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; margin: 12px 0 22px; color: var(--ink-2); }
.typing { color: var(--brand-ink); }
.caret { display: inline-block; width: 3px; height: 1em; background: var(--brand); margin-left: 3px; vertical-align: -.12em; animation: blink 1s steps(2) infinite; }
.quote { margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--brand); border-radius: 0 18px 18px 0; background: linear-gradient(90deg, rgba(22, 181, 107, .08), transparent); font-size: 19px; font-weight: 700; line-height: 1.5; }
.quote cite { display: block; margin-top: 8px; font-size: 13.5px; font-style: normal; font-weight: 500; color: var(--muted); }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about__facts div { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.about__facts b { display: block; font-size: 22px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__facts span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }
@media (max-width: 520px) { .about__facts { grid-template-columns: 1fr; } .badge-float--a { left: 0; } .badge-float--b { right: 0; } }
.stack-marquee { margin-top: 90px; padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.stack-marquee__move { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.stack-marquee:hover .stack-marquee__move { animation-play-state: paused; }
.tech { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: transform .3s var(--ease), border-color .3s; }
.tech:hover { transform: translateY(-4px); border-color: var(--brand); }
.tech img { width: 22px; height: 22px; }

/* ---------- Cam kết ---------- */
.promise { padding: 100px 0 120px; }
.promise__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .promise__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .promise__grid { grid-template-columns: repeat(3, 1fr); } }
.pcard { --mx: 50%; --my: 50%; position: relative; padding: 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s, opacity .9s var(--ease) var(--d, 0s); }
.pcard:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.pcard__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-2); color: var(--brand-ink); margin-bottom: 22px; transition: background-color .4s, color .4s, transform .5s var(--ease); }
.pcard__ico .ico { width: 24px; height: 24px; }
.pcard:hover .pcard__ico { background: var(--grad); color: #fff; transform: rotate(-10deg) scale(1.05); }
.pcard h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.pcard p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; background: var(--surface-2); border-top: 1px solid var(--line); }
.faq__inner { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq__inner { grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; } .faq__intro { position: sticky; top: 120px; } }
.faq__intro .lead { margin: 16px 0 26px; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.qa.is-open { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.qa__q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 700; font-size: 16.5px; }
.qa__q i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--brand); }
.qa__q .pm { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); flex: none; display: grid; place-items: center; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.qa.is-open .qa__q .pm { transform: rotate(180deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 22px 22px 52px; color: var(--muted); line-height: 1.75; }

/* ---------- Liên hệ ---------- */
.contact { padding: 110px 0; }
.contact__card { position: relative; display: grid; gap: 40px; padding: clamp(26px, 5vw, 60px); border-radius: 36px; background: #050c0b; color: #fff; overflow: hidden; }
.contact__glow { position: absolute; width: 700px; height: 700px; left: -200px; top: -300px; background: radial-gradient(circle, rgba(22, 181, 107, .3), transparent 60%); pointer-events: none; animation: glowMove 12s ease-in-out infinite alternate; }
.contact__card > :not(.contact__glow) { position: relative; }
@media (min-width: 1000px) { .contact__card { grid-template-columns: .9fr 1.1fr; gap: 60px; } }
.contact__lead { color: rgba(255, 255, 255, .65); margin: 20px 0 30px; line-height: 1.75; }
.contact__list { display: grid; gap: 10px; }
.contact__list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .08); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.contact__list a:hover { background: rgba(255, 255, 255, .05); border-color: rgba(94, 234, 212, .4); transform: translateX(6px); }
.contact__list .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); flex: none; }
.contact__list .ci .ico { width: 22px; height: 22px; color: #5eead4; }
.contact__list small { display: block; font-size: 12px; color: rgba(255, 255, 255, .5); }
.contact__list span { font-weight: 700; word-break: break-word; }
.cform { display: grid; gap: 16px; padding: clamp(20px, 3vw, 30px); border-radius: 26px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.cform__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .cform__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #fff; outline: none; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select option { color: #0a1714; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #5eead4; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(94, 234, 212, .12); }
.field.is-error input { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, .15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 13.5px; font-weight: 600; transition: background-color .3s, border-color .3s, color .3s; }
.chips span:hover { border-color: rgba(255, 255, 255, .4); }
.chips input:checked + span { background: var(--hl); color: #0a1714; border-color: var(--hl); }
.chips input:focus-visible + span { outline: 2px solid #5eead4; outline-offset: 2px; }
.cform__hint { font-size: 12.5px; color: rgba(255, 255, 255, .45); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #050c0b; color: rgba(255, 255, 255, .75); padding: 90px 0 30px; overflow: hidden; }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.brand--light { color: #fff; }
.footer__brand p { margin: 18px 0 22px; max-width: 340px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.footer__social a:hover { background: #fff; color: #050c0b; transform: translateY(-4px); }
.footer__h { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__col { display: grid; gap: 11px; align-content: start; }
.footer__col a, .footer__col span { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; width: fit-content; transition: color .3s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--hl); transform: translateX(4px); }
.footer__col .ico { color: #5eead4; }
.footer__giant { margin: 80px 0 20px; font-size: clamp(40px, 11.6vw, 156px); font-weight: 900; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); text-align: center; white-space: nowrap; user-select: none; transition: -webkit-text-stroke-color .5s; }
.footer__giant span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; opacity: .9; }
.footer__giant:hover { -webkit-text-stroke-color: rgba(255, 255, 255, .5); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ---------- Nút nổi ---------- */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 14px; }
.fab { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .4s var(--ease); }
.fab:hover { transform: scale(1.1); }
.fab::before, .fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; animation: ring 2.2s ease-out infinite; opacity: 0; }
.fab::after { animation-delay: 1.1s; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.fab--zalo { background: #fff; color: #0068ff; border: 2px solid #e6efff; }
.fab--zalo .ico { width: 36px; height: 36px; }
.fab--call { background: #16b56b; color: #16b56b; }
.fab--call .ico { color: #fff; width: 24px; height: 24px; animation: shake 2.4s ease-in-out infinite; }
@keyframes shake { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-14deg); } 10%, 20%, 30% { transform: rotate(14deg); } }
.totop { position: fixed; left: 18px; bottom: 18px; z-index: 70; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover .ico { transform: translateY(-3px); }
.totop .ico { transition: transform .3s var(--ease); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 2.5; }
.totop__ring circle:first-child { stroke: var(--line); }
.totop__ring circle:last-child { stroke: var(--brand); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; stroke-linecap: round; }

/* ---------- Hộp chi tiết ---------- */
.modal { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 8, 7, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel { position: relative; width: min(1040px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .4s, transform .6s var(--ease); overscroll-behavior: contain; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal--sm .modal__panel { width: min(520px, 100%); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.pm-gallery { position: relative; background: var(--bg-2); }
.pm-gallery__main { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.pm-gallery__main img { width: 100%; height: 100%; object-fit: contain; animation: fadeImg .5s var(--ease); }
.pm-gallery--phone .pm-gallery__main { aspect-ratio: auto; height: min(560px, 62vh); padding: 20px; display: flex; justify-content: center; align-items: center; }
.pm-gallery--phone .pm-gallery__main img { width: auto; height: 100%; max-height: 100%; object-fit: contain; border-radius: 22px; border: 5px solid #0a1714; }
@keyframes fadeImg { from { opacity: 0; transform: scale(1.02); } }
.pm-gallery__nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.pm-gallery__nav:hover { transform: scale(1.1); }
.pm-gallery__nav--prev { left: 14px; } .pm-gallery__nav--next { right: 14px; }
.pm-thumbs { display: flex; gap: 8px; justify-content: center; padding: 12px; }
.pm-thumbs button { width: 64px; height: 42px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .3s, border-color .3s; }
.pm-thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pm-thumbs button.is-active { opacity: 1; border-color: var(--brand); }
.pm-body { padding: clamp(22px, 4vw, 40px); display: grid; gap: 30px; }
@media (min-width: 860px) { .pm-body { grid-template-columns: 1.3fr 1fr; } }
.pm-body h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 14px; }
.pm-body .lead { margin-bottom: 20px; }
.pm-feat { display: grid; gap: 10px; }
.pm-feat li { position: relative; padding-left: 28px; color: var(--ink-2); line-height: 1.6; }
.pm-feat li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.pm-side { display: grid; gap: 20px; align-content: start; padding: 24px; border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); }
.pm-side h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pm-side .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-links { display: grid; gap: 8px; }
.pm-links .btn { width: 100%; }
.pm-note { font-size: 13.5px; color: var(--muted); }
.send { padding: 36px 30px 30px; text-align: center; }
.send__ok { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; animation: pop .6s var(--ease); }
.send__ok .ico { width: 30px; height: 30px; stroke-width: 3; }
.send h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.send p { color: var(--muted); font-size: 14.5px; }
.send__msg { text-align: left; white-space: pre-wrap; word-break: break-word; font-family: var(--font); font-size: 13.5px; line-height: 1.6; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 18px 0; max-height: 220px; overflow: auto; }
.send__actions { display: grid; gap: 8px; }

/* ---------- Thông báo ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 9500; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-lg); transition: opacity .35s, transform .5s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .fx-field, .sparkles, .cursor, .cursor-dot { display: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
}
@media (hover: none), (pointer: coarse) {
  .fx-field, .cursor, .cursor-dot { display: none !important; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__stats { gap: 18px; }
  .stat > span { font-size: 11px; letter-spacing: .06em; }
  .showcase { margin-top: 30px; padding-bottom: 50px; }
  .why, .services, .projects, .process, .pricing, .estimate, .about, .promise, .faq, .contact { padding-block: 80px; }
  .calc { padding: 20px; }
  .floating { right: 12px; bottom: 12px; gap: 10px; }
  .fab { width: 50px; height: 50px; }
  .totop { left: 12px; bottom: 12px; width: 46px; height: 46px; }
  .nav__wrap { padding: 0 8px 0 12px; height: 58px; }
}
