/* =========================================================
   Nineplus Group – Website stylesheet (tông tối theo Hồ sơ năng lực)
   Than chì làm nền chủ đạo · cam lửa nhấn · vàng kim cho slogan
   ========================================================= */
:root {
  --bg: #23262f;          /* than chì – nền chính */
  --bg-2: #1c1f27;        /* than đậm – mục xen kẽ, chân trang */
  --bg-3: #2b2f3a;        /* thẻ, khối nổi */
  --bg-4: #353a47;        /* viền nổi, hover */
  --field: #181a21;       /* ô nhập liệu */
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --head: #ffffff;
  --text: #cfd3db;
  --muted: #9aa1ae;
  --orange: #f26a1b;
  --orange-2: #f7931e;
  --orange-deep: #c2410c;
  --red: #d7261e;
  --gold: #d4a64a;
  --gold-soft: #e7cf8f;
  --on-orange: #1a1c23;
  --fire: linear-gradient(115deg, #e8531a 0%, #f26a1b 45%, #f7931e 100%);
  --radius: 20px;
  --radius-sm: 14px;
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 16px 40px rgba(0, 0, 0, .28);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .45);
  --font: 'Be Vietnam Pro', Tahoma, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Oswald', 'Be Vietnam Pro', 'Arial Narrow', sans-serif;
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--head); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
em { font-style: normal; color: var(--orange); }
::selection { background: var(--orange); color: var(--on-orange); }
.ic { flex-shrink: 0; vertical-align: middle; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 15px; height: 15px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--orange); color: var(--on-orange); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.break { word-break: break-all; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-fire { background: var(--fire); background-size: 150% 100%; color: var(--on-orange); box-shadow: 0 10px 26px rgba(242, 106, 27, .28); }
.btn-fire:hover { background-position: 100% 0; box-shadow: 0 14px 34px rgba(242, 106, 27, .42); }
.btn-navy { background: var(--head); color: var(--on-orange); }
.btn-navy:hover { background: var(--orange); }
.btn-gold { background: var(--gold); color: var(--on-orange); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline, .btn-outline-light { border-color: var(--line-2); color: var(--head); background: transparent; }
.btn-outline:hover, .btn-outline-light:hover { border-color: var(--orange); color: var(--orange); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--on-orange); }
.btn-link { padding-left: 4px; padding-right: 4px; color: var(--head); border-radius: 0; }
.btn-link:hover { color: var(--orange); transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.btn-row.center { justify-content: center; }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.gold { color: var(--gold); }
.section-head.center .eyebrow { justify-content: center; }
.h-display, .hero-title, .page-hero h1, .post-hero h1 { font-family: var(--font); font-weight: 700; letter-spacing: -.025em; }
.h-display { font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.25; }
.h-display.light, .light { color: #fff; }
.lead { font-size: 1.08rem; color: var(--muted); line-height: 1.75; }
.lead.light { color: rgba(255, 255, 255, .78); }
.h-sub { font-size: 1.45rem; margin: 56px 0 22px; }
.dot { color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
.section.soft, .section.dark, .dark { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { margin: 0; }
.section-lead { max-width: 440px; color: var(--muted); margin: 0; }
.section-lead.light { color: var(--gold); font-weight: 700; letter-spacing: .06em; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(28, 31, 39, .94); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: background .35s, box-shadow .35s, border-color .35s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.is-home .site-header.is-transparent { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.is-home .site-header.is-transparent.is-scrolled { background: rgba(28, 31, 39, .94); backdrop-filter: blur(12px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: .1em; color: #fff; }
.brand-text em { font-size: .66rem; font-weight: 700; letter-spacing: .52em; color: var(--orange); margin-top: 4px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; list-style: none; gap: 2px; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 600; font-size: .93rem; color: #e6e8ee; position: relative; transition: color .2s; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > ul > li > a:hover, .main-nav a.active { color: var(--orange); }
.main-nav > ul > li > a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: min(820px, 92vw); transform: translate(-40%, 8px); background: var(--bg-3); border: 1px solid var(--line-2); border-top: 3px solid var(--orange); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 22px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.mega::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-40%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); transition: background .2s; }
.mega-item:hover { background: var(--bg-4); }
.mega-item strong { display: block; color: #fff; font-size: .95rem; }
.mega-item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 2px; }
.mega-ic { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(242, 106, 27, .14); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.mega-ic .ic { width: 22px; height: 22px; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 16px 16px 4px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: .95rem; }
.header-phone .ic { color: var(--orange); }
.lang-switch { font-size: .78rem; font-weight: 800; letter-spacing: .08em; border: 1.5px solid var(--line-2); color: #fff; border-radius: var(--radius-sm); padding: 6px 10px; }
.lang-switch:hover { border-color: var(--orange); color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: #fff; }

.mobile-nav { position: fixed; inset: 0; z-index: 100; background: var(--bg-2); color: #fff; display: flex; flex-direction: column; padding: 18px 22px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; }
.mobile-nav::before { content: ''; position: absolute; right: -30%; top: -20%; width: 90%; height: 60%; background: radial-gradient(closest-side, rgba(242, 106, 27, .22), transparent); pointer-events: none; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-head { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.nav-close { background: rgba(0, 0, 0, .35); border: 0; color: #fff; border-radius: var(--radius-sm); padding: 8px; }
.mobile-nav nav { display: flex; flex-direction: column; position: relative; }
.mobile-nav nav > a, .mobile-nav summary { letter-spacing: .03em; font-size: 1.3rem; font-weight: 600; padding: 13px 4px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .ic { transform: rotate(180deg); }
.mobile-nav .sub { display: block; font-size: 1rem; padding: 10px 16px; color: var(--text); }
.mobile-nav .muted { color: var(--gold); justify-content: flex-start; font-family: var(--font); text-transform: none; font-size: 1rem; }
.mobile-nav-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* ---------- Hero – toàn khung kiểu điện ảnh ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: #111318; isolation: isolate; text-align: center; }
.hero-slides { position: absolute; inset: -6% 0; z-index: -3; will-change: transform; }
.hero-slides img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slides img { opacity: 0; transform: scale(1.12); transition: opacity 2s var(--ease-soft), transform 9s linear; }
.hero-slides img.is-active { opacity: 1; transform: scale(1.02); }
.hero-video { z-index: -3; opacity: 0; transition: opacity 1.6s var(--ease-soft); }
.hero-video.is-ready { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(17, 19, 24, .6) 0%, rgba(17, 19, 24, .8) 60%, rgba(17, 19, 24, .92) 100%), linear-gradient(180deg, rgba(17, 19, 24, .55) 0%, rgba(17, 19, 24, .15) 30%, rgba(17, 19, 24, .35) 70%, var(--bg) 100%); }
.hero-inner { position: relative; max-width: 940px; padding-top: calc(var(--header-h) + 40px); padding-bottom: 160px; }
.hero-eyebrow { display: inline-block; margin: 0 0 26px; font-size: .74rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-soft); }
.hero-title { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4.1rem); line-height: 1.22; margin: 0 auto 26px; text-wrap: balance; }
.hero-line { display: block; }
.hero-line.is-accent { background: linear-gradient(100deg, #f26a1b 10%, #f7931e 55%, #ffc56b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-sub { font-size: clamp(1rem, 1.35vw, 1.15rem); color: rgba(255, 255, 255, .78); max-width: 620px; margin: 0 auto; line-height: 1.8; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-top: 38px; }
.btn-text { padding: 12px 6px; color: #fff; border-radius: 0; background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 1.5px no-repeat; transition: background-size .5s var(--ease-soft), color .3s; }
.btn-text:hover { transform: none; background-size: 100% 1.5px; color: var(--orange-2); }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 26px; }
.hero-stats { display: flex; justify-content: center; }
.stat { padding: 6px 34px; position: relative; text-align: center; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255, 255, 255, .18); }
.stat strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2rem); color: #fff; line-height: 1.1; letter-spacing: .02em; }
.stat span { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.scroll-hint { display: block; width: 24px; height: 38px; margin: 22px auto 0; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 14px; position: relative; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--orange); animation: scrollhint 2.2s var(--ease-soft) infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
/* Nội dung đầu trang hiện lần lượt, mờ → rõ */
.js .hero-in { opacity: 0; transform: translateY(26px); filter: blur(8px); animation: heroIn 1.2s var(--ease-soft) forwards; animation-delay: calc(.25s + var(--d, 0) * .14s); }
@keyframes heroIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes flame { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.03) rotate(-1.2deg); } 60% { transform: scale(.99) rotate(.8deg); } }

/* ---------- Dải chữ chạy ---------- */

/* ---------- Clients ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 26px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: #fff; }
.check-list .ic { color: var(--on-orange); background: var(--orange); border-radius: 3px; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.check-list.compact { gap: 8px; margin: 16px 0; }
.check-list.compact li { font-size: .95rem; }
.intro-media { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.intro-media::before { content: ''; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%; border-left: 6px solid var(--orange); border-top: 6px solid var(--orange); z-index: -1; }
.intro-media figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.intro-media figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.intro-media figure:hover img { transform: scale(1.06); }
.im-1 { grid-row: 1 / 3; }
.intro-badge { position: absolute; left: -28px; bottom: 32px; background: var(--fire); color: var(--on-orange); border-radius: var(--radius-sm); padding: 14px 20px 14px 14px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); }
.intro-badge img { width: 54px; height: auto; background: #fff; border-radius: 4px; padding: 4px; }
.intro-badge strong { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.intro-badge span { font-size: .8rem; font-weight: 600; }

/* ---------- Services ecosystem ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eco-card { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; color: #fff; display: flex; isolation: isolate; }
.eco-card.is-wide { grid-column: span 2; min-height: 400px; }
.eco-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.eco-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 31, 39, .05) 15%, rgba(28, 31, 39, .94) 100%); transition: background .4s; }
.eco-card::before { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--fire); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.eco-card:hover img { transform: scale(1.08); }
.eco-card:hover::before { transform: scaleX(1); }
.eco-body { margin-top: auto; padding: 26px; width: 100%; }
.eco-body h3 { color: #fff; font-weight: 600; letter-spacing: .02em; font-size: 1.35rem; margin: 14px 0 6px; }
.eco-card.is-wide .eco-body h3 { font-size: 1.75rem; }
.eco-body p { color: rgba(255, 255, 255, .72); font-size: .9rem; margin: 0; }
.eco-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .85rem; color: var(--orange); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.eco-card:hover .eco-more, .eco-card:focus-visible .eco-more { opacity: 1; transform: none; }
.eco-ic { width: 48px; height: 48px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--fire); color: var(--on-orange); }
.eco-ic.sm { width: 40px; height: 40px; }
.eco-ic.sm .ic { width: 20px; height: 20px; }

/* ---------- Why / pillars ---------- */
.why { background: radial-gradient(900px 500px at 95% 10%, rgba(242, 106, 27, .16), transparent 60%), var(--bg-2); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { position: relative; padding: 34px 28px; border-radius: var(--radius-sm); background: var(--bg-3); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), background .3s; overflow: hidden; }
.pillar::after { content: ''; position: absolute; right: -30px; top: -30px; width: 60px; height: 60px; background: var(--orange); transform: rotate(45deg); opacity: 0; transition: opacity .3s; }
.pillar:hover { border-color: rgba(242, 106, 27, .55); transform: translateY(-6px); background: var(--bg-4); }
.pillar:hover::after { opacity: 1; }
.pillar-num { position: absolute; top: 16px; right: 22px; font-family: var(--display); font-size: 2.6rem; font-weight: 600; color: rgba(255, 255, 255, .07); }
.pillar-ic { width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--orange); border: 1.5px solid rgba(242, 106, 27, .5); margin-bottom: 22px; }
.pillar h3 { font-weight: 600; font-size: 1.4rem; letter-spacing: .03em; }
.pillar p { font-size: .93rem; margin: 0; color: var(--muted); }

/* ---------- Case studies – cuộn ngang (hiệu ứng mức C) ---------- */
.hscroll { position: relative; }
.hscroll-pin { position: relative; }
.hscroll-track { display: flex; gap: 20px; padding: 0 24px 8px max(24px, calc((100vw - var(--container)) / 2 + 24px)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll-track::-webkit-scrollbar { display: none; }
.hs-card { position: relative; flex: 0 0 min(560px, 82vw); height: min(62vh, 520px); border-radius: var(--radius-sm); overflow: hidden; color: #fff; display: flex; isolation: isolate; scroll-snap-align: start; }
.hs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.hs-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(28, 31, 39, .95)); }
.hs-card:hover img { transform: scale(1.06); }
.hs-body { margin-top: auto; padding: 28px; }
.hs-num { position: absolute; top: 16px; right: 22px; font-family: var(--display); font-size: 4rem; font-weight: 600; line-height: 1; color: rgba(255, 255, 255, .22); }
.hs-body h3 { font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); margin: 12px 0 6px; color: #fff; }
.hs-body p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .92rem; }
.hs-card.hs-more { background: var(--fire); color: var(--on-orange); align-items: flex-end; flex-basis: min(380px, 70vw); }
.hs-card.hs-more::after { display: none; }
.hs-more strong { display: block; font-family: var(--display); font-size: 5rem; line-height: 1; }
.hs-more h3 { color: var(--on-orange); }
.hs-progress { height: 3px; background: var(--line); margin: 28px auto 0; max-width: calc(var(--container) - 48px); position: relative; }
.hs-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--fire); transform: scaleX(var(--hp, 0)); transform-origin: left; }
/* Desktop: ghim khung và cuộn ngang theo thanh cuộn dọc */
.hscroll.is-pinned { height: var(--hs-h, 300vh); }
.hscroll.is-pinned .hscroll-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hscroll.is-pinned .hscroll-track { overflow: visible; scroll-snap-type: none; will-change: transform; }

/* ---------- Process ---------- */
.process { background: var(--bg-3); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; --p: 0; }
.steps::before, .steps::after { content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 3px; }
.steps::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 8px, transparent 8px 16px); }
.steps::after { background: var(--fire); transform: scaleX(var(--p)); transform-origin: left; transition: transform .2s linear; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px; background: var(--bg-2); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.35rem; border: 1.5px solid var(--line-2); border-radius: 50%; transition: background .6s var(--ease-soft), border-color .6s, color .6s, box-shadow .6s; }
.step-num span { display: block; line-height: 1; }
.step.is-on .step-num { background: var(--orange); border-color: var(--orange); color: var(--on-orange); box-shadow: 0 0 0 8px rgba(242, 106, 27, .14); }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.yt-lite { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: var(--shadow-lg); outline: 1px solid var(--line-2); outline-offset: 10px; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .6s var(--ease); }
.yt-lite:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--fire); color: var(--on-orange); display: grid; place-items: center; animation: pulse 2.4s infinite; transition: transform .3s; }
.yt-play .ic { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.yt-lite:hover .yt-play { transform: scale(1.08); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite.wide { max-width: 900px; margin: 0 auto 24px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 106, 27, .55); } 70% { box-shadow: 0 0 0 20px rgba(242, 106, 27, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 106, 27, 0); } }

/* ---------- Testimonials (trình chiếu) ---------- */
.quote-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.quote-grid::-webkit-scrollbar { display: none; }
.quote { margin: 0; background: var(--bg-3); border-radius: var(--radius-sm); padding: 30px; border: 1px solid var(--line); border-top: 3px solid var(--orange); scroll-snap-align: start; }
.quote-ic { width: 34px; height: 34px; color: var(--orange); }
.quote blockquote { margin: 14px 0 20px; color: #fff; font-size: 1rem; }
.quote figcaption strong { display: block; color: #fff; }
.quote figcaption span { font-size: .85rem; color: var(--muted); }
.carousel-nav { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: transparent; color: #fff; font-size: 1.3rem; }
.carousel-nav button:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--bg-3); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); border-color: rgba(242, 106, 27, .5); box-shadow: var(--shadow); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.post-meta span { color: var(--orange); font-weight: 700; }
.post-body h3 { font-size: 1.1rem; line-height: 1.45; }
.post-body > p { font-size: .92rem; color: var(--muted); }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: #fff; }
.post-card:hover .read-more { color: var(--orange); }

/* ---------- Brief band & forms ---------- */
.brief-band { background: radial-gradient(900px 480px at 0% 100%, rgba(242, 106, 27, .18), transparent 60%), var(--bg-2); }
.brief-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-top: 30px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ic { width: 46px; height: 46px; padding: 12px; border-radius: var(--radius-sm); background: rgba(242, 106, 27, .14); color: var(--orange); }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list a:hover { color: var(--orange); }
.brief-card, .card, .aside-card { background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg); position: relative; }
.brief-card::before, .card.form-card::before { content: ''; position: absolute; left: 30px; right: 30px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); }
.brief-card h3 { font-size: 1.35rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid.one { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .82rem; font-weight: 600; color: #e6e8ee; padding: 0; }
.field label b, .field legend b { color: var(--orange); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; color: #fff; background: var(--field); border: 1.5px solid var(--bg-4); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; color-scheme: dark; }
.field input::placeholder, .field textarea::placeholder { color: #6f7685; }
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f26a1b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 106, 27, .18); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--bg-4); font-size: .85rem; font-weight: 500; transition: all .2s; }
.chip:hover span { border-color: var(--muted); }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--on-orange); font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--orange-2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 16px 0 4px; }
.consent input { margin-top: 4px; accent-color: var(--orange); }
.consent a { color: var(--orange); text-decoration: underline; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.form-note { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.form-msg { margin: 14px 0 0; font-size: .92rem; font-weight: 600; min-height: 1em; }
.form-msg.ok { color: #5fd38a; }
.form-msg.err { color: #ff8a7a; }
.brief-form.is-sent .form-grid, .brief-form.is-sent .consent, .brief-form.is-sent .form-actions { display: none; }
.brief-form.is-sent .form-msg { padding: 18px; background: rgba(95, 211, 138, .1); border: 1px solid rgba(95, 211, 138, .3); border-radius: var(--radius-sm); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--bg-2); color: #fff; padding: 92px 0 84px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(242, 106, 27, .16), transparent); }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 100% 0, rgba(242, 106, 27, .16), transparent 60%); }
.page-hero.has-image { padding: 160px 0 96px; }
.page-hero-bg { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 80px); object-fit: cover; z-index: -3; will-change: transform; }
.page-hero.has-image::after { z-index: -2; background: linear-gradient(90deg, rgba(28, 31, 39, .95) 0%, rgba(28, 31, 39, .75) 55%, rgba(28, 31, 39, .35) 100%), linear-gradient(0deg, rgba(28, 31, 39, .7), transparent 50%); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.08; max-width: 920px; margin-bottom: 18px; }
.page-hero .lead { color: rgba(255, 255, 255, .8); max-width: 720px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.crumbs a:hover { color: var(--orange); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.prose { color: var(--text); font-size: 1.03rem; }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 .6em; padding-left: 16px; border-left: 4px solid var(--orange); }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--orange); }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose img { border-radius: var(--radius-sm); margin: 1.4em 0; }
.prose blockquote { border-left: 4px solid var(--gold); padding: 10px 20px; margin: 1.4em 0; background: var(--bg-3); }
.about-facts { background: var(--bg-3); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius-sm); padding: 30px; position: sticky; top: 100px; }
.about-facts dl { margin: 0 0 22px; display: grid; gap: 16px; }
.about-facts dl div { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.about-facts dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.about-facts dd { margin: 4px 0 0; font-weight: 600; color: #fff; font-size: .95rem; }
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vm-card { padding: 36px 30px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-3); }
.vm-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--fire); color: var(--on-orange); margin-bottom: 22px; }
.vm-card h3 { font-weight: 600; font-size: 1.4rem; }
.vm-card p { color: var(--muted); margin: 0; }
.values-grid, .perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perks { grid-template-columns: repeat(3, 1fr); }
.value { padding: 32px 26px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-3); transition: transform .3s var(--ease), border-color .3s; }
.value:hover { transform: translateY(-5px); border-color: rgba(242, 106, 27, .5); }
.value-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-sm); background: rgba(242, 106, 27, .14); color: var(--orange); margin-bottom: 18px; }
.value h3 { font-weight: 600; font-size: 1.35rem; }
.value p { margin: 0; font-size: .93rem; color: var(--muted); }
.principles { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.principle-list { list-style: none; display: grid; gap: 12px; }
.principle-list li { display: flex; gap: 20px; align-items: center; background: var(--bg-3); border-left: 4px solid var(--orange); padding: 20px 24px; }
.principle-list span { font-family: var(--display); font-size: 1.9rem; color: var(--orange); min-width: 40px; font-weight: 600; }
.principle-list p { margin: 0; font-weight: 600; color: #fff; }
.ceo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.ceo-photo { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); position: relative; }
.ceo-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--fire); }
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ceo-quote { margin: 0 0 28px; }
.ceo-quote p { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.6; color: #fff; margin-top: 12px; font-weight: 300; }
.ceo-name strong { display: block; font-size: 1.4rem; color: var(--orange); font-weight: 600; }
.ceo-name span { color: var(--muted); font-size: .9rem; }
.logo-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.logo-story img { margin: 0 auto; width: min(340px, 80%); filter: drop-shadow(0 20px 50px rgba(242, 106, 27, .3)); animation: flame 4s ease-in-out infinite; }
.org { display: grid; gap: 16px; justify-items: center; }
.org-row { display: flex; gap: 12px; justify-content: center; position: relative; }
.org-row.wrap { flex-wrap: wrap; }
.org-box { background: var(--bg-3); color: #fff; padding: 14px 26px; border: 1px solid var(--line-2); font-weight: 600; font-size: .95rem; text-align: center; }
.org-box.top { background: var(--gold); color: var(--on-orange); border-color: var(--gold); }
.org-box.fire { background: var(--fire); color: var(--on-orange); border: 0; }
.org-row:not(:last-child)::after { content: ''; position: absolute; bottom: -16px; left: 50%; width: 2px; height: 16px; background: var(--orange); }
.org-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--bg-3); border: 1px solid var(--line); font-size: .85rem; font-weight: 500; }
.org-chip.gold { color: var(--gold-soft); border-color: rgba(212, 166, 74, .4); }
.strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strategy { padding: 30px 28px; border: 1px solid var(--line); background: var(--bg-3); position: relative; }
.strategy span { font-family: var(--display); color: var(--orange); font-size: 1.8rem; font-weight: 600; }
.strategy h3 { font-size: 1.15rem; margin-top: 10px; }
.strategy p { margin: 0; color: var(--muted); font-size: .93rem; }
.review-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }

/* ---------- Services pages ---------- */
.svc-list { display: grid; gap: 96px; }
.svc-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.svc-row.is-rev .svc-media { order: 2; }
.svc-media { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.svc-media::after { content: ''; position: absolute; right: 0; bottom: 0; width: 34%; height: 10px; background: var(--fire); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-media:hover img { transform: scale(1.06); }
.svc-num { position: absolute; left: 22px; top: 12px; font-family: var(--display); font-weight: 600; font-size: 3.6rem; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .5); }
.svc-body h2 { font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin: 18px 0 6px; }
.svc-body h2 a:hover { color: var(--orange); }
.svc-tagline { color: var(--gold); font-weight: 600; font-size: .95rem; }
.sub-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sub-links a { display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 500; transition: all .2s; }
.sub-links a:hover { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.hl { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--bg-3); border-left: 3px solid var(--orange); font-weight: 600; color: #fff; font-size: .95rem; }
.hl .ic { color: var(--orange); }
.aside-card { padding: 28px; }
.aside-card.sticky { position: sticky; top: 100px; }
.aside-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.aside-card > p { font-size: .9rem; color: var(--muted); }
.aside-card .form-grid { grid-template-columns: 1fr; }
.aside-card .form-actions .btn { width: 100%; }
.aside-card .form-note { display: none; }
.aside-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.aside-contacts a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; background: var(--bg-2); font-weight: 600; font-size: .88rem; border-radius: var(--radius-sm); }
.aside-contacts a:hover { background: var(--orange); color: var(--on-orange); }
.child-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.child-card { display: flex; flex-direction: column; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); transition: transform .3s var(--ease), border-color .3s; }
.child-card:hover { transform: translateY(-5px); border-color: rgba(242, 106, 27, .5); }
.child-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.child-card > div { padding: 20px 22px 24px; }
.child-card h3 { font-size: 1.08rem; margin: 12px 0 6px; }
.child-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.mini-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-svc a { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--bg-3); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.mini-svc a:hover { border-color: var(--orange); transform: translateY(-3px); }
.mini-svc strong { display: block; font-size: .95rem; color: #fff; }
.mini-svc small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 10px; }
.gallery a { border-radius: var(--radius-sm); overflow: hidden; display: block; position: relative; }
.gallery a::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: rgba(242, 106, 27, .45); opacity: 0; transition: opacity .3s; }
.gallery a:hover::after { opacity: 1; }
.gallery a.is-big { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery.masonry { display: block; columns: 3 280px; column-gap: 10px; margin-top: 48px; }
.gallery.masonry a { margin-bottom: 10px; break-inside: avoid; }
.gallery.masonry img { height: auto; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 13, 17, .96); display: flex; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: calc(100vh - 110px); max-width: 100%; margin: 0 auto; }
.lightbox figcaption { color: var(--muted); font-size: .85rem; margin-top: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 0; border-radius: var(--radius-sm); width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: var(--orange); color: var(--on-orange); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Projects ---------- */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-tabs a, .cat-tabs button { padding: 10px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: transparent; font-weight: 600; font-size: .88rem; color: #fff; transition: all .2s; }
.cat-tabs small { color: var(--muted); font-weight: 500; margin-left: 2px; }
.cat-tabs a:hover, .cat-tabs button:hover { border-color: var(--orange); color: var(--orange); }
.cat-tabs .active, .cat-tabs .active:hover { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.cat-tabs .active small { color: var(--on-orange); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px; background: var(--bg-3); border: 1px solid var(--line); margin-bottom: 18px; }
.filter-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; background: var(--field); border: 1px solid var(--bg-4); padding: 0 14px; color: var(--muted); }
.filter-search input { flex: 1; border: 0; padding: 11px 0; font: inherit; background: none; outline: none; min-width: 0; color: #fff; }
.filter-bar select { font: inherit; font-size: .9rem; border: 1px solid var(--bg-4); padding: 11px 36px 11px 14px; color: #fff; background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f26a1b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; color-scheme: dark; }
.result-count { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
#project-results { transition: opacity .25s; }
#project-results.is-loading { opacity: .35; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { display: flex; flex-direction: column; background: var(--bg-3); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-6px); border-color: rgba(242, 106, 27, .55); box-shadow: var(--shadow); }
.project-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.07); }
.project-media .tag { position: absolute; left: 14px; top: 14px; }
.project-body { padding: 20px 22px 22px; }
.project-client { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.project-body h3 { font-size: 1.08rem; line-height: 1.45; margin-bottom: 12px; transition: color .2s; }
.project-card:hover h3 { color: var(--orange); }
.project-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--muted); }
.project-meta li { display: inline-flex; align-items: center; gap: 5px; }
.project-meta .ic { color: var(--orange); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-top: 3px solid var(--orange); margin-bottom: 48px; }
.case-facts > div { background: var(--bg-3); padding: 20px 22px; }
.case-facts small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.case-facts strong { color: #fff; font-size: 1rem; }
.case-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story { padding: 28px; background: var(--bg-3); border: 1px solid var(--line); }
.story-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--orange); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.story p { margin: 0; color: var(--text); }
.case-links { margin-top: 40px; text-align: center; }

/* ---------- Catalogue ---------- */
.catalogue-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.catalogue-head .cat-tabs { margin: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-item { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.cat-item:hover { border-color: rgba(242, 106, 27, .5); transform: translateY(-4px); }
.cat-item[hidden] { display: none; }
.cat-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-item:hover .cat-media img { transform: scale(1.06); }
.cat-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.cat-label { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.cat-body h3 { font-size: 1.1rem; }
.cat-body p { font-size: .9rem; color: var(--muted); }
.cat-specs { display: flex; gap: 6px; align-items: center; font-weight: 600; color: #fff !important; }
.cat-specs .ic { color: var(--orange); }
.cat-body .btn-link { margin-top: auto; align-self: flex-start; color: var(--orange); }

/* ---------- Article ---------- */
.post-hero { padding: 56px 0 0; }
.post-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; }
.post-hero .post-meta { display: flex; gap: 12px; align-items: center; }
.post-cover { margin-top: 36px; max-width: 1080px; }
.post-cover img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.crumbs.dark { color: var(--muted); }
.article-body { padding: 48px 0 16px; font-size: 1.08rem; color: #d7dae1; }
.share { display: flex; align-items: center; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--bg-3); border: 1px solid var(--line); color: #fff; padding: 0 12px; font-size: .85rem; font-weight: 600; }
.share a:hover, .share button:hover { background: var(--orange); color: var(--on-orange); }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 40px 0 80px; padding: 30px 34px; background: var(--bg-3); border-left: 5px solid var(--orange); color: var(--muted); }
.post-cta h2 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.post-cta p { margin: 0; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line-2); font-weight: 700; }
.pager a.active, .pager a:hover { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }

/* ---------- Careers ---------- */
.job-list { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding: 26px 30px; background: var(--bg-3); border: 1px solid var(--line); border-left: 4px solid var(--orange); transition: border-color .2s, transform .2s; }
.job:hover { border-color: rgba(242, 106, 27, .55); transform: translateX(4px); }
.job h3 { font-size: 1.15rem; margin-bottom: 4px; }
.job p { margin: 0; font-size: .92rem; color: var(--muted); }
.job ul { list-style: none; display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.job li { display: flex; gap: 6px; align-items: center; }
.job-go { width: 48px; height: 48px; display: grid; place-items: center; background: var(--bg-2); }
.job:hover .job-go { background: var(--orange); color: var(--on-orange); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--bg-3); border: 1px solid var(--line); transition: border-color .2s; }
a.contact-card:hover { border-color: var(--orange); }
.contact-card.wide { grid-column: 1 / -1; }
.contact-card > .ic { width: 46px; height: 46px; padding: 11px; border-radius: var(--radius-sm); background: var(--fire); color: var(--on-orange); }
.contact-card small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.contact-card strong { display: block; color: #fff; font-size: 1.05rem; }
.contact-card strong.small { font-size: .92rem; font-weight: 600; }
.contact-card span { font-size: .9rem; color: var(--muted); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; transition: background .2s, color .2s; }
.socials a:hover { background: var(--orange); color: var(--on-orange); }
.socials.big { grid-column: 1 / -1; flex-wrap: wrap; margin: 4px 0 0; }
.socials.big a { width: auto; height: auto; padding: 10px 16px; background: var(--bg-3); border: 1px solid var(--line); display: inline-flex; gap: 8px; font-weight: 600; font-size: .88rem; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }

/* ---------- Brief page ---------- */
.brief-page { background: radial-gradient(900px 600px at 0% 0%, rgba(242, 106, 27, .16), transparent 60%), var(--bg-2); padding: 64px 0 96px; position: relative; overflow: hidden; }
.brief-page::before { content: none; }
.brief-page-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; position: relative; }
.brief-side { color: var(--text); position: sticky; top: 110px; }
.brief-side h1 { margin-bottom: 16px; }
.brief-steps { list-style: none; display: grid; gap: 18px; margin: 34px 0; }
.brief-steps li { display: flex; gap: 16px; align-items: center; }
.brief-steps li > span { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; background: var(--orange); color: var(--on-orange); font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.brief-steps strong { display: block; color: #fff; }
.brief-steps small { color: var(--muted); }
.brief-side-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.brief-side-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-3); border: 1px solid var(--line); color: #fff; font-weight: 600; font-size: .88rem; }
.brief-side-contact a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; margin-bottom: 40px; }
.faq { border: 1px solid var(--line); background: var(--bg-3); transition: border-color .2s; }
.faq[open] { border-color: rgba(242, 106, 27, .55); border-left: 4px solid var(--orange); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; font-weight: 600; color: #fff; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--orange); }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 24px 20px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- Thanks / 404 ---------- */
.thanks { padding: 120px 0; }
.thanks-ic .ic { width: 84px; height: 84px; color: var(--orange); margin: 0 auto 20px; }
.big-404 { font-family: var(--display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 600; line-height: 1; margin: 0 0 10px; color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--muted); font-size: .92rem; position: relative; }
.footer-cta { background: var(--fire); color: var(--on-orange); position: relative; overflow: hidden; }
.footer-cta::after { content: ''; position: absolute; right: -10%; top: -60%; width: 50%; height: 220%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.footer-cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.footer-cta h2 { color: var(--on-orange); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 6px; }
.footer-cta p { margin: 0; max-width: 620px; color: rgba(26, 28, 35, .85); font-weight: 500; }
.footer-cta .eyebrow, .footer-cta .eyebrow.gold { color: var(--on-orange); font-size: .72rem; }
.footer-cta .btn-fire { background: var(--on-orange); color: #fff; box-shadow: none; }
.footer-cta .btn-fire:hover { background: #000; }
.footer-cta .btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .9fr 1.4fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; margin-bottom: 18px; }
.footer-company { color: #fff; font-weight: 700; margin: 18px 0 4px; font-size: .88rem; }
.footer-slogan { display: inline-block; color: var(--gold-soft); font-weight: 700; font-size: .74rem; letter-spacing: .08em; padding: 6px 10px; border: 1px solid rgba(212, 166, 74, .45); }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact p .ic { color: var(--orange); margin-top: 3px; }
.footer-contact strong { color: #e6e8ee; font-weight: 600; }
.newsletter { margin-top: 22px; }
.newsletter label { display: block; color: #fff; font-weight: 600; margin-bottom: 8px; }
.newsletter-row { display: flex; gap: 8px; background: var(--bg-3); border: 1px solid var(--line); padding: 5px; }
.newsletter-row input[type=email] { flex: 1; min-width: 0; background: none; border: 0; color: #fff; padding: 8px 12px; font: inherit; font-size: .88rem; outline: none; }
.newsletter-row input::placeholder { color: #6f7685; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.to-top:hover { color: var(--orange); }

/* ---------- Floating CTA ---------- */
.float-cta { position: fixed; right: 20px; bottom: 24px; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.fc { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .25s var(--ease); }
.fc:hover { transform: scale(1.08); }
.fc b { font-size: .78rem; font-weight: 800; }
.fc-zalo { background: #0068ff; }
.fc-msg { background: linear-gradient(135deg, #0099ff, #a033ff 60%, #ff5280); }
.fc-call { background: var(--fire); color: var(--on-orange); animation: pulse 2.4s infinite; }
.fc-label { position: absolute; right: 64px; white-space: nowrap; background: var(--bg-3); border: 1px solid var(--line-2); color: #fff; padding: 7px 12px; font-size: .8rem; font-weight: 600; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.fc:hover .fc-label { opacity: 1; transform: none; }
.mobile-bar { display: none; }

/* ---------- Chuyển trang: mờ dần ---------- */
.page-wipe { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: grid; place-items: center; background: var(--bg); opacity: 0; transition: opacity .45s var(--ease-soft); }
.page-wipe img { width: 72px; height: auto; opacity: 0; transform: scale(.9); transition: opacity .4s .1s, transform .6s var(--ease-soft); }
.page-wipe.is-leaving { opacity: 1; pointer-events: auto; }
.page-wipe.is-leaving img { opacity: 1; transform: none; }
.page-wipe.is-entering { opacity: 1; animation: fadeOut .7s .05s var(--ease-soft) forwards; }
@keyframes fadeOut { to { opacity: 0; } }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 1s var(--ease-soft), transform 1.1s var(--ease-soft), filter 1s var(--ease-soft); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }
.js .reveal-left.is-in, .js .reveal-right.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .page-wipe { display: none; }
  .ember { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .main-nav > ul > li > a { padding: 10px 10px; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-card.is-wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .main-nav, .header-cta, .lang-switch { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-phone span { display: inline; }
  .section { padding: 80px 0; }
  .intro-grid, .brief-grid, .video-grid, .about-grid, .principles, .ceo-grid, .logo-story, .review-wrap, .contact-grid, .brief-page-grid, .svc-row, .svc-detail { grid-template-columns: 1fr; gap: 44px; }
  .svc-row.is-rev .svc-media { order: 0; }
  .why-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .post-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid, .strategy-grid, .perks, .mini-svc { grid-template-columns: 1fr 1fr; }
  .case-story { grid-template-columns: 1fr; }
  .about-facts, .aside-card.sticky, .brief-side { position: static; }
  .intro-badge { left: 12px; }
  .ceo-photo { max-width: 420px; }
  .brief-page::before, .footer-cta::after { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; padding-bottom: 68px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .brand img { width: 44px; }
  .brand-text strong { font-size: 1.15rem; }
  .header-phone { display: none; }
  .hero-promise { font-size: .64rem; letter-spacing: .08em; }
  .section-head { margin-bottom: 32px; }
  .eco-grid, .why-grid, .values-grid, .project-grid, .post-grid, .cat-grid, .vm-grid, .strategy-grid, .perks, .mini-svc, .child-grid, .hl-grid, .form-grid, .contact-cards { grid-template-columns: 1fr; }
  .quote-grid { grid-auto-columns: 88%; }
  .eco-card, .eco-card.is-wide { min-height: 280px; }
  .eco-more { opacity: 1; transform: none; }
  .hs-card { height: 420px; }
  .hscroll-track { padding-left: 16px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .intro-media { grid-template-rows: 160px 160px; }
  .intro-media::before { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .brief-card, .card, .aside-card { padding: 24px 18px; }
  .page-hero { padding: 60px 0 56px; }
  .page-hero.has-image { padding: 100px 0 60px; }
  .page-hero::before { right: -10px; width: 36px; }
  .job { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .job-go { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-cta-actions .btn { width: 100%; }
  .float-cta { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--bg-2); border-top: 1px solid var(--line-2); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; font-weight: 600; color: #e6e8ee; padding: 6px 2px; border-radius: var(--radius-sm); }
  .mobile-bar .ic { width: 22px; height: 22px; }
  .mobile-bar a:first-child .ic { color: var(--orange); }
  .mobile-bar a:nth-child(2) .ic { color: #3d8bff; }
  .mobile-bar a:nth-child(3) .ic { color: #b877ff; }
  .mobile-bar .primary { background: var(--fire); color: var(--on-orange); }
  .mobile-bar .primary .ic { color: var(--on-orange); }
  .lightbox { padding: 20px 10px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 20px; transform: none !important; }
  .post-cta { padding: 24px; }
  .map-wrap iframe { height: 320px; }
  .org-box { padding: 12px 16px; font-size: .88rem; }
}

/* =========================================================
   Tinh chỉnh v1.2 – gọn gàng, mềm mại
   Bo góc thống nhất, viền mảnh, chuyển động dài và êm
   ========================================================= */
.tag { border-radius: 999px; padding: 5px 12px; }
.cat-tabs a, .cat-tabs button, .lang-switch, .chip span, .sub-links a, .pager a, .newsletter-row, .filter-search, .filter-bar select, .share a, .share button, .brief-side-contact a, .socials.big a, .aside-contacts a, .carousel-nav button { border-radius: 999px; }
.newsletter-row .btn { border-radius: 999px; }
.filter-bar, .story, .strategy, .job, .contact-card, .faq, .hl, .principle-list li, .mini-svc a, .case-facts, .post-cta, .org-box, .org-chip, .about-facts, .vm-card, .value, .pillar, .quote, .post-card, .project-card, .cat-item, .child-card, .intro-media figure, .svc-media, .ceo-photo, .yt-lite, .hs-card, .case-card, .gallery a, .post-cover img, .client-logo, .mega, .mega-item, .brief-steps li > span { border-radius: var(--radius); }
.brief-steps li > span { border-radius: 50%; }
.org-chip { border-radius: 999px; }
.case-facts { overflow: hidden; }
.mega { border-top: 1px solid var(--line-2); }
.field input, .field select, .field textarea { border-radius: 12px; }

/* Viền nhấn trái cứng -> nền mềm */
.hl, .principle-list li, .job, .post-cta { border-left: 1px solid var(--line); }
.hl .ic, .principle-list span { color: var(--orange); }
.faq[open] { border-left: 1px solid rgba(242, 106, 27, .55); }
.prose h2 { border-left: 0; padding-left: 0; }
.about-facts { border-top: 1px solid var(--line); }
.quote { border-top: 1px solid var(--line); }
.case-facts { border-top: 1px solid var(--line); }
.svc-media::after, .ceo-photo::after, .hero-stats::before, .intro-media::before { content: none; }

/* Thẻ: nổi nhẹ, viền phát sáng mảnh khi rê chuột */
.pillar, .value, .post-card, .project-card, .cat-item, .child-card, .mini-svc a, .contact-card, .job, .vm-card, .strategy { transition: transform .7s var(--ease-soft), border-color .5s, box-shadow .7s var(--ease-soft), background .5s; }
.pillar:hover, .value:hover, .post-card:hover, .project-card:hover, .cat-item:hover, .child-card:hover { transform: translateY(-6px); border-color: rgba(242, 106, 27, .4); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(242, 106, 27, .12); }
.pillar::after { content: none; }
.eco-card img, .case-card img, .hs-card img, .project-media img, .post-media img, .cat-media img, .svc-media img, .intro-media figure img { transition: transform 1.6s var(--ease-soft); }
.eco-card::before { height: 2px; }
.btn { transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), background .4s, color .3s, border-color .3s; }

/* Tiêu đề thẻ & mục: chữ thường, đậm vừa */
.eco-body h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.eco-card.is-wide .eco-body h3 { font-size: 1.45rem; }
.pillar h3, .vm-card h3, .value h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.hs-body h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: -.015em; }
.svc-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.footer-cta h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.site-footer h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.mobile-nav nav > a, .mobile-nav summary { font-size: 1.15rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.22; }
.post-hero h1 { line-height: 1.28; }
.ceo-name strong { font-size: 1.2rem; }
.case-more h3 { font-size: 1.2rem !important; }

/* Mục "Vì sao" & brief: chuyển nền mềm thay mép chéo */
.why, .brief-band { background: radial-gradient(1000px 520px at 50% 0%, rgba(242, 106, 27, .1), transparent 65%), var(--bg-2); }
.process { background: var(--bg); }

/* Đầu các trang con: nền mờ ảnh, không dải chéo */
.page-hero { padding: 110px 0 90px; }
.page-hero.has-image { padding: 170px 0 100px; }

/* Nút liên hệ nổi: gom thành một nút, bấm mới mở */
.fab { position: fixed; right: 22px; bottom: 24px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-list { display: flex; flex-direction: column; gap: 10px; }
.fab-list .fc { opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none; transition: opacity .45s var(--ease-soft), transform .55s var(--ease-soft); }
.fab.is-open .fab-list .fc { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-open .fab-list .fc:nth-child(1) { transition-delay: .1s; }
.fab.is-open .fab-list .fc:nth-child(2) { transition-delay: .05s; }
.fab-toggle { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--fire); color: var(--on-orange); display: grid; place-items: center; box-shadow: 0 14px 30px rgba(242, 106, 27, .35); transition: transform .5s var(--ease-soft); position: relative; }
.fab-toggle .ic { width: 24px; height: 24px; transition: transform .5s var(--ease-soft), opacity .3s; position: absolute; }
.fab-toggle .ic-close { opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab-toggle .ic-open { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab-toggle .ic-close { opacity: 1; transform: none; }
.fab-toggle::after { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: pulse 2.8s infinite; }
.fab.is-open .fab-toggle::after { animation: none; }
.fab .fc-label { opacity: 1; transform: none; }
.fab .fc { width: 50px; height: 50px; }

/* Lenis – cuộn mượt */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (max-width: 1024px) {
  .stat { padding: 6px 20px; }
}
@media (max-width: 720px) {
  .hero-inner { padding-top: calc(var(--header-h) + 30px); padding-bottom: 190px; }
  .hero-eyebrow { font-size: .64rem; letter-spacing: .2em; margin-bottom: 18px; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn-fire { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 14px; padding: 0 16px; }
  .stat { padding: 2px 8px; }
  .stat:nth-child(3)::before { content: none; }
  .scroll-hint { display: none; }
  .fab { display: none; }
  .page-hero { padding: 70px 0 60px; }
  .page-hero.has-image { padding: 110px 0 64px; }
}

/* ---------- Dải chữ chạy xen ảnh dự án (phương án B) ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; padding: 34px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; align-items: center; width: max-content; animation: marquee 55s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; color: #fff; transform: skewX(var(--tk-skew, 0deg)); }
.tk-text { font-size: clamp(1.7rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; transition: color .4s var(--ease-soft); }
.tk-item.is-accent .tk-text { background: linear-gradient(100deg, #f26a1b 10%, #f7931e 60%, #ffc56b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tk-item:hover .tk-text { color: var(--orange); }
.tk-pic { display: block; width: clamp(96px, 9vw, 140px); aspect-ratio: 2 / 1; border-radius: 999px; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line-2); transition: transform .8s var(--ease-soft), box-shadow .5s; }
.tk-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.tk-item:hover .tk-pic { transform: scale(1.12) rotate(-2deg); box-shadow: 0 0 0 2px var(--orange), 0 14px 30px rgba(0, 0, 0, .4); }
.tk-item:hover .tk-pic img { transform: scale(1.1); }

/* ---------- Logo khách hàng: tách nền, trắng đơn sắc, rê chuột hiện màu gốc ---------- */
.clients-strip { padding: 30px 0 96px; background: var(--bg); }
.clients-title { text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 30px; letter-spacing: .02em; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marquee 90s linear infinite; padding: 24px 40px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-logo { position: relative; display: grid; place-items: center; flex-shrink: 0; height: 88px; width: auto; padding: 0; background: none; border-radius: 0; }
.client-logo img { grid-area: 1 / 1; max-height: 80px; max-width: 210px; width: auto; height: auto; object-fit: contain; filter: none; transition: opacity .6s var(--ease-soft), transform .6s var(--ease-soft); }
.client-logo .lg-mono { opacity: .6; }
.client-logo .lg-color { opacity: 0; }
.client-logo .lg-filter { filter: brightness(0) invert(1); }
.client-logo:hover .lg-mono { opacity: 0; }
.client-logo:hover .lg-color { opacity: 1; transform: scale(1.28); }
.client-logo:hover { z-index: 2; }
.client-logo img { will-change: transform; }
.client-logo:hover .lg-filter { opacity: 1; filter: none; transform: scale(1.28); }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 44px 28px; align-items: center; }
.logo-wall .client-logo { height: 96px; width: 100%; }
.logo-wall .client-logo img { max-height: 76px; max-width: 85%; }
@media (max-width: 1180px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) {
  .ticker { padding: 22px 0; }
  .tk-item { gap: 16px; padding-right: 16px; }
  .marquee-track { gap: 40px; }
  .client-logo { height: 60px; }
  .client-logo img { max-height: 54px; max-width: 140px; }
  .clients-strip { padding: 10px 0 64px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 30px 16px; }
}
