/* Weme Website — giao diện chính */
:root {
  --brand: #0e7a5f;
  --brand-600: #0b6650;
  --brand-700: #08513f;
  --brand-50: #edf7f3;
  --brand-100: #d4ede4;
  --accent: #f0632f;
  --accent-600: #d94f1d;
  --red: #e5484d;
  --blue: #2563eb;
  --ink: #13221d;
  --ink-2: #33433e;
  --muted: #62716c;
  --line: #e1eae6;
  --bg: #ffffff;
  --bg-soft: #f5f9f7;
  --dark: #0c1c17;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 32, .06), 0 2px 8px rgba(16, 40, 32, .05);
  --shadow: 0 10px 30px -10px rgba(16, 40, 32, .22);
  --shadow-lg: 0 24px 60px -20px rgba(16, 40, 32, .35);
  --head-top: 116px; /* topbar + header-main: phần cuộn khuất khi header dính */
  --nav-h: 50px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg); padding-bottom: 44px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 48px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ─── Nút ─── */
.btn { --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-50); color: var(--brand-600); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--brand); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-pulse { position: relative; }
.btn-pulse::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; border: 2px solid var(--brand); animation: ring 2s ease-out infinite; pointer-events: none; }
@keyframes ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.15, 1.45); } }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.icon-btn .i { width: 22px; height: 22px; }

/* ─── Logo ─── */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { color: var(--brand); width: 42px; height: 42px; flex: none; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.logo-text small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-top: 4px; font-weight: 600; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo-mark { color: #fff; }
.logo--light .logo-mark path { stroke: var(--brand); }
.logo--light .logo-text small { color: rgba(255, 255, 255, .6); }

/* ─── Header ─── */
.site-header { position: sticky; top: calc(-1 * var(--head-top)); z-index: 60; }
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); height: 36px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar p .i { color: var(--accent); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--brand); }
.topbar-links b { color: var(--ink); }
.header-main { background: #fff; height: 80px; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.header-contact { display: flex; align-items: center; gap: 26px; }
.hc-item { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.hc-item:hover { color: var(--brand); }
.hc-item small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.hc-item b { font-size: 16px; font-weight: 800; }
.hc-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.hc-ico--zalo { background: none; }
.hc-ico--zalo .i { width: 38px; height: 38px; }
.header-mobile-act { display: none; gap: 8px; }

.navbar { background: var(--brand); box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .35); }
.navbar > .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; height: var(--nav-h); }
.main-nav li { position: relative; display: flex; }
.main-nav li > a, .drop-btn { display: flex; align-items: center; gap: 4px; padding: 0 15px; color: #fff; font-weight: 600; font-size: 15px; background: none; border: 0; white-space: nowrap; transition: background .2s; }
.main-nav li > a:hover, .drop-btn:hover, .has-drop:hover > .drop-btn, .has-drop:focus-within > .drop-btn { background: var(--brand-600); color: #fff; }
.main-nav li > a.is-active, .drop-btn.is-active { background: var(--brand-700); }
.drop-btn .i { width: 16px; height: 16px; opacity: .8; transition: transform .2s; }
.drop { position: absolute; top: 100%; left: 0; min-width: 340px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 10; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop, .has-drop.is-open > .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover > .drop-btn .i, .has-drop.is-open > .drop-btn .i { transform: rotate(180deg); }
.drop-list { display: grid; gap: 2px; }
.drop-list--2 { grid-template-columns: 1fr 1fr; min-width: 600px; }
.drop-item { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); align-items: flex-start; }
.drop-item:hover { background: var(--brand-50); color: var(--ink); }
.drop-item > .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.drop-item b { display: block; font-size: 14.5px; font-weight: 700; }
.drop-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.has-mega .drop { min-width: 560px; }
.drop-mega { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.mega-item .i { color: var(--brand); width: 20px; height: 20px; }
.mega-item em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); background: var(--bg-soft); padding: 1px 8px; border-radius: 99px; }
.mega-item:hover { background: var(--brand-50); color: var(--brand-700); }
.drop-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 10px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; }
.drop-all:hover { background: var(--brand-600); color: #fff; }
.nav-search { position: relative; flex: 0 1 260px; }
.nav-search input { width: 100%; height: 34px; border-radius: 99px; border: 0; padding: 0 40px 0 16px; font-size: 13.5px; background: rgba(255, 255, 255, .95); }
.nav-search button { position: absolute; right: 3px; top: 3px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; }
.nav-search button .i { width: 15px; height: 15px; }
.nav-mobile-head, .nav-mobile-foot, .nav-search--mobile { display: none; }
.nav-backdrop { display: none; }

/* ─── Breadcrumb & page hero ─── */
.crumbs { font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line); background: #fff; }
.crumbs .container { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-top: 12px; padding-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .i { width: 14px; height: 14px; opacity: .6; }
.crumbs span { color: var(--ink); font-weight: 600; }
.page-hero { background: radial-gradient(1200px 300px at 80% -10%, var(--brand-100), transparent 70%), var(--brand-50); padding: 44px 0 40px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); max-width: 860px; }
.page-hero .lead { max-width: 760px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.lead { font-size: 17.5px; color: var(--ink-2); }
.h2 { font-size: clamp(22px, 2.4vw, 28px); }

/* ─── Section ─── */
.section { padding: 72px 0; position: relative; }
.section--tight { padding: 36px 0 64px; }
.section--mint { background: var(--bg-soft); }
.stitle { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.stitle h2 { font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 12px; }
.stitle p { color: var(--muted); margin: 14px 0 0; }
.stitle-line { display: flex; align-items: center; justify-content: center; gap: 10px; }
.stitle-line::before, .stitle-line::after { content: ""; width: 64px; height: 2px; background: linear-gradient(90deg, transparent, var(--brand)); }
.stitle-line::after { transform: scaleX(-1); }
.stitle-line i { width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); border-radius: 2px; box-shadow: 0 0 0 4px var(--brand-100); }
.stitle--light h2 { color: #fff; }
.stitle--light p { color: rgba(255, 255, 255, .78); }
.stitle--light .stitle-line i { box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }

/* ─── Hero ─── */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); padding: 48px 0 72px; }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120'%3E%3Cpath fill='%23d4ede4' d='M0 120V78h22V52h18v26h16V30h26v48h12V62h20v58zM114 120V40h30v18h14V20h24v58h18V50h22v70zM222 120V66h16V34h28v32h14V58h20v62zM300 120V28h20V10h20v18h16v50h14V56h26v64zM396 120V48h24V30h30v48h12V64h22v56zM484 120V36h26v22h16V14h22v64h14V52h38v68z'/%3E%3C/svg%3E") repeat-x bottom / 600px 120px; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--brand-700); background: #fff; border: 1px solid var(--brand-100); padding: 6px 14px; border-radius: 99px; margin-bottom: 18px; }
.hero-kicker .i { color: var(--accent); }
.hero h1 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 12px; }
.hero h1 strong { color: var(--brand); }
.hero-tags { font-size: clamp(19px, 2vw, 25px); font-weight: 800; color: var(--muted); margin-bottom: 18px; }
.hero-tags .t1 { color: var(--red); } .hero-tags .t2 { color: var(--brand); } .hero-tags .t3 { color: var(--blue); }
.hero-copy > p:not([class]) { color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-checks li { display: flex; align-items: center; gap: 6px; }
.hero-checks .i { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 18px; height: 18px; }

/* Thiết bị hiển thị mẫu */
.devices { position: relative; aspect-ratio: 1.22; }
.dev { position: absolute; }
.dev-screen { container-type: inline-size; overflow: hidden; background: #fff; position: relative; }
.dev-screen > .mini { animation: autoscroll 14s ease-in-out infinite alternate; }
.dev-monitor { left: 9%; top: 0; width: 76%; }
.dev-monitor .dev-screen { aspect-ratio: 16 / 10; border: 10px solid #1c1f24; border-bottom-width: 22px; border-radius: 14px; --sh: 62.5cqi; box-shadow: var(--shadow-lg); }
.dev-neck { display: block; width: 14%; height: 34px; margin: 0 auto; background: linear-gradient(90deg, #aeb4bd, #d6dadf, #aeb4bd); }
.dev-foot { display: block; width: 34%; height: 8px; margin: 0 auto; border-radius: 6px 6px 2px 2px; background: #c3c8cf; }
.dev-laptop { left: 0; bottom: 8%; width: 52%; }
.dev-laptop .dev-screen { aspect-ratio: 16 / 10; border: 7px solid #1c1f24; border-radius: 10px 10px 0 0; --sh: 62.5cqi; }
.dev-laptop .dev-screen > .mini { animation-delay: -5s; }
.dev-base { display: block; width: 118%; margin-left: -9%; height: 12px; background: linear-gradient(#d9dde2, #aeb4bd); border-radius: 0 0 14px 14px; box-shadow: 0 16px 24px -12px rgba(0, 0, 0, .4); }
.dev-tablet { right: 14%; bottom: 3%; width: 23%; }
.dev-tablet .dev-screen { aspect-ratio: 3 / 4; border: 8px solid #1c1f24; border-radius: 16px; --sh: 133.3cqi; box-shadow: var(--shadow-lg); }
.dev-tablet .dev-screen > .mini { animation-delay: -9s; }
.dev-phone { right: 1%; bottom: 0; width: 13.5%; }
.dev-phone .dev-screen { aspect-ratio: 9 / 19; border: 5px solid #1c1f24; border-radius: 18px; --sh: 211cqi; box-shadow: var(--shadow-lg); }
.dev-phone .dev-screen > .mini { animation-delay: -3s; }
@keyframes autoscroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(-100% + var(--sh))); } }
.dev-badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 99px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; white-space: nowrap; }
.dev-badge .i { color: var(--brand); }
.dev-badge.b1 { left: -2%; top: 14%; }
.dev-badge.b2 { right: -1%; top: 6%; animation-delay: -1.6s; }
.dev-badge.b2 .i { color: var(--accent); }
.dev-badge.b3 { right: 40%; bottom: -3%; animation-delay: -3.2s; }
.dev-badge.b3 .i { color: var(--blue); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ─── Bản thu nhỏ website (mini) ─── */
.mini { --c1: #0e7a5f; --c2: #f59e0b; --bg: #f7f7f7; font-size: 2.1cqi; line-height: 1.25; background: var(--bg); color: #1d1d1d; width: 100%; font-family: var(--font); pointer-events: none; user-select: none; }
.mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mini p { margin: 0; }
.m-nav { display: flex; align-items: center; gap: 1.3em; padding: 1.1em 2em; background: #fff; box-shadow: 0 .1em .6em rgba(0, 0, 0, .06); position: relative; z-index: 2; }
.m-nav b { font-size: 1.3em; font-weight: 800; color: var(--c1); margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-nav i { width: 3.4em; height: .5em; border-radius: 1em; background: #d8d8d8; flex: none; }
.m-btn { width: 5.6em; height: 2em; border-radius: 1em; background: var(--c1); flex: none; }
.m-burger { width: 1.9em; height: 1.3em; border-block: .28em solid #333; position: relative; flex: none; }
.m-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .28em; margin-top: -.14em; background: #333; }
.m-cta { display: inline-block; background: var(--c2); color: #141414; font-weight: 700; font-size: .95em; padding: .7em 1.5em; border-radius: 2em; }
.m-hero { position: relative; height: 25em; color: #fff; }
.m-hero > img { position: absolute; inset: 0; }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 88%, transparent) 10%, color-mix(in srgb, var(--c1) 10%, transparent) 80%); }
.m-hero > div { position: relative; z-index: 1; padding: 5em 3em; max-width: 64%; }
.m-hero small, .m-split small { display: block; font-size: .8em; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: .7em; font-weight: 700; }
.m-hero strong { display: block; font-size: 2.7em; line-height: 1.08; font-weight: 800; margin-bottom: .55em; }
.m-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.4em; align-items: center; padding: 3.4em 3em; }
.m-split small { color: var(--c1); }
.m-split strong { display: block; font-size: 2.5em; line-height: 1.1; font-weight: 800; color: #151515; margin-bottom: .45em; }
.m-split p { font-size: 1em; color: #555; margin-bottom: 1.3em; }
.m-split img { height: 20em; border-radius: 1.4em; box-shadow: 0 1em 2em -1em rgba(0, 0, 0, .35); }
.m-chips { display: flex; gap: 1.2em; padding: 1em 2em; background: var(--c1); }
.m-chips i { width: 5em; height: .55em; background: rgba(255, 255, 255, .55); border-radius: 1em; }
.m-banner { position: relative; margin: 1.8em 2em .6em; height: 19em; border-radius: 1.3em; overflow: hidden; color: #fff; }
.m-banner > img { position: absolute; inset: 0; }
.m-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 70%); }
.m-banner > div { position: absolute; z-index: 1; left: 2.4em; top: 50%; transform: translateY(-50%); max-width: 55%; }
.m-banner strong { display: block; font-size: 2.3em; line-height: 1.1; margin-bottom: .6em; }
.m-mag { display: grid; grid-template-columns: 1.8fr 1fr; grid-template-rows: 10.5em 10.5em; gap: 1em; padding: 1.8em 2em .6em; }
.m-mag > div { border-radius: 1em; overflow: hidden; position: relative; }
.m-mag .a { grid-row: span 2; }
.m-mag .a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 60%); }
.m-mag .a strong { position: absolute; z-index: 1; left: 1.2em; right: 1.2em; bottom: 1em; color: #fff; font-size: 2em; line-height: 1.1; }
.m-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 1.5em 2em; background: #fff; margin-top: 1.4em; }
.m-feats span { font-size: .85em; font-weight: 700; display: flex; gap: .7em; align-items: center; color: #333; }
.m-feats i { width: 1.9em; height: 1.9em; border-radius: 50%; background: color-mix(in srgb, var(--c2) 60%, #fff); flex: none; }
.m-title { text-align: center; font-weight: 800; font-size: 1.6em; color: var(--c1); padding: 1.3em 0 .9em; }
.m-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em; padding: 0 2em 2.2em; }
.m-grid > div { background: #fff; border-radius: .9em; overflow: hidden; box-shadow: 0 .3em 1.2em rgba(0, 0, 0, .07); }
.m-grid img { height: 8.8em; }
.m-grid b { display: block; font-size: .85em; padding: .75em .85em .2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-grid em { display: block; font-style: normal; font-weight: 800; color: var(--c1); font-size: .85em; padding: 0 .85em .85em; }
.m-about { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4em; padding: 2.4em 2.4em; background: #fff; align-items: center; }
.m-about img { height: 14em; border-radius: 1.1em; }
.m-about strong { font-size: 1.55em; color: var(--c1); display: block; margin-bottom: .7em; }
.m-about p { height: .6em; background: #e4e4e4; border-radius: 1em; margin: .7em 0; }
.m-about p.s { width: 62%; margin-bottom: 1.4em; }
.m-foot { display: flex; gap: 1.6em; align-items: center; padding: 2.2em 2.4em; background: color-mix(in srgb, var(--c1) 92%, #000); color: #fff; }
.m-foot b { margin-right: auto; font-size: 1.15em; }
.m-foot i { width: 4.4em; height: .5em; background: rgba(255, 255, 255, .35); border-radius: 1em; }
.mini--mobile { font-size: 4.3cqi; }
.mini--mobile .m-nav { padding: 1.1em 1.4em; }
.mini--mobile .m-hero { height: 30em; }
.mini--mobile .m-hero > div { max-width: 100%; padding: 6em 1.6em 2em; }
.mini--mobile .m-hero::after { background: linear-gradient(0deg, color-mix(in srgb, var(--c1) 90%, transparent) 20%, color-mix(in srgb, var(--c1) 20%, transparent)); }
.mini--mobile .m-hero strong { font-size: 2.2em; }
.mini--mobile .m-grid { grid-template-columns: 1fr 1fr; padding: 0 1.4em 1.6em; gap: 1em; }
.mini--mobile .m-grid img { height: 9em; }
.mini--mobile .m-about { grid-template-columns: 1fr; padding: 1.6em 1.4em; gap: 1.2em; }
.mini--mobile .m-about img { height: 12em; }
.mini--mobile .m-foot { padding: 1.8em 1.4em; }
.mini--mobile .m-foot i:nth-of-type(n+2) { display: none; }

/* ─── Kho mẫu: tab & thẻ ─── */
.cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 32px; max-width: 1100px; }
.cat-tab { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: all .2s; }
.cat-tab .i { color: var(--brand); width: 18px; height: 18px; }
.cat-tab:hover { border-color: var(--brand); color: var(--brand); }
.cat-tab.is-active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 18px -10px var(--brand); }
.cat-tab.is-active .i { color: #fff; }
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tgrid + .center { margin-top: 36px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.tcard-thumb { position: relative; border-bottom: 1px solid var(--line); }
.tcard-screen { container-type: inline-size; aspect-ratio: 5 / 4; overflow: hidden; background: #f1f3f2; }
.tcard-screen > .mini { transition: transform 1.2s ease; }
.tcard:hover .tcard-screen > .mini { transform: translateY(calc(-100% + 80cqi)); transition: transform 5s ease-in-out .1s; }
.tcard-over { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(12, 28, 23, .45); opacity: 0; transition: opacity .25s; }
.tcard:hover .tcard-over, .tcard-over:focus-within { opacity: 1; }
.tcard-cat { position: absolute; left: 10px; top: 10px; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .95); color: var(--brand-700); padding: 3px 10px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.tcard-body { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 16px 4px; }
.tcard-body h3 { font-size: 15.5px; margin: 0; font-weight: 700; }
.tcard-body h3 a { color: var(--ink); }
.tcard-body h3 a:hover { color: var(--brand); }
.tcard-code { font-size: 13px; font-weight: 700; color: var(--brand); flex: none; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px 14px; margin-top: auto; }
.tcard-price { color: var(--red); font-weight: 800; font-size: 14.5px; }
.tcard-pick { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--brand); font-weight: 700; font-size: 13.5px; padding: 4px 0; }
.tcard-pick .i { width: 15px; height: 15px; transition: transform .2s; }
.tcard-pick:hover .i { transform: translateX(3px); }
@media (hover: none) {
  .tcard-over { opacity: 1; background: linear-gradient(0deg, rgba(12, 28, 23, .6), transparent 45%); align-items: flex-end; padding-bottom: 12px; }
}

/* ─── Ưu điểm ─── */
.adv { background: var(--dark); color: #fff; overflow: hidden; }
.adv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.adv::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 15% 0%, rgba(14, 122, 95, .5), transparent 70%), radial-gradient(700px 400px at 100% 100%, rgba(240, 99, 47, .18), transparent 70%); }
.adv .container { position: relative; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.adv-item { text-align: center; }
.adv-ico { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; transition: background .3s, border-color .3s, transform .3s; }
.adv-ico .i { width: 30px; height: 30px; }
.adv-item:hover .adv-ico { background: var(--brand); border-color: var(--brand); transform: translateY(-4px); }
.adv-item h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.adv-item p { color: rgba(255, 255, 255, .72); font-size: 14.5px; margin: 0; }

/* ─── Quy trình (vòng cung) ─── */
.arc { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 2.05 / 1; margin-bottom: 40px; }
.arc-line { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brand); opacity: .6; }
.arc ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.arc-step { position: absolute; left: var(--x); top: var(--y); width: 196px; margin-left: -98px; margin-top: -38px; text-align: center; z-index: 1; }
.arc-ico { position: relative; width: 76px; height: 76px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--brand); border: 2px solid var(--brand-100); box-shadow: var(--shadow); transition: transform .3s, background .3s, color .3s; }
.arc-ico .i { width: 32px; height: 32px; }
.arc-ico em { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-weight: 800; font-size: 13px; display: grid; place-items: center; border: 2px solid #fff; }
.arc-step:hover .arc-ico { background: var(--brand); color: #fff; transform: scale(1.06); }
.arc-step b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.arc-step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.arc-center { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 36%; aspect-ratio: 1.5; border-radius: 999px 999px 20px 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.arc-center img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Bảng giá ─── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; }
.price-card.is-hot { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-hot { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.price-code { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--brand); margin-bottom: 6px; }
.price-card h3 { font-size: 21px; margin-bottom: 4px; }
.price-val { font-size: 30px; font-weight: 800; color: var(--brand); margin-bottom: 8px; }
.price-note { color: var(--muted); font-size: 14.5px; min-height: 44px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 14.5px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li .i { color: var(--brand); margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.price-grid + .center { margin-top: 24px; }
.includes { margin-top: 56px; background: var(--brand-50); border-radius: 18px; padding: 32px; }

/* ─── FAQ ─── */
.faq { display: grid; gap: 14px; }
.faq--cols { grid-template-columns: 1fr 1fr; align-items: start; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 18px; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--brand); transition: transform .25s; }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--brand); }
.faq-item > div { padding: 0 18px 16px; color: var(--ink-2); font-size: 15px; }
.faq-item > div p { margin: 0; }

/* ─── Lĩnh vực / khách hàng ─── */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.industry { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-sm); }
.industry .i { color: var(--brand); width: 22px; height: 22px; }
.industry:hover { border-color: var(--brand); color: var(--brand); }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px; align-items: center; }
.logo-row img { height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: all .2s; }
.logo-row img:hover { filter: none; opacity: 1; }

/* ─── CTA ─── */
.cta-band { background: linear-gradient(120deg, var(--brand-700), var(--brand) 60%, #139a78); color: #fff; padding: 48px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band-alt { margin-top: 10px !important; font-size: 15px; }
.cta-band-alt a { color: #fff; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.inline-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; background: rgba(255, 255, 255, .12); padding: 10px; border-radius: 18px; backdrop-filter: blur(4px); }
.inline-form input { height: 50px; border-radius: 12px; border: 0; padding: 0 16px; min-width: 0; }
.inline-form .btn { height: 50px; border-radius: 12px; }
.inline-form .form-msg { grid-column: 1 / -1; margin: 0; color: #fff; }
.inline-form .form-msg:empty { display: none; }

/* ─── Footer ─── */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.footer-main { padding: 56px 0 8px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fcol h3 { color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fcol a { color: rgba(255, 255, 255, .7); }
.fcol a:hover { color: #fff; }
.footer-company { display: grid; grid-template-columns: 1.1fr 1.3fr .8fr; gap: 36px; padding: 36px 0; }
.fc-brand p { margin-top: 16px; }
.fc-brand a:not(.logo) { color: #fff; font-weight: 600; }
.fc-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fc-info li { display: flex; gap: 10px; }
.fc-info .i { color: var(--brand-100); margin-top: 3px; }
.fc-info b { color: #fff; font-weight: 600; }
.fc-info a { color: rgba(255, 255, 255, .85); }
.fc-info a:hover { color: #fff; }
.fc-social p { color: #fff; font-weight: 700; margin-bottom: 12px; }
.fc-social div { display: flex; gap: 10px; }
.fc-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 12px; font-weight: 800; transition: background .2s; }
.fc-social a:hover { background: var(--brand); color: #fff; }
.footer-bottom { background: #08130f; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }

/* ─── Liên hệ nổi ─── */
.support-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #28302d; color: #fff; height: 44px; font-size: 13.5px; }
.support-bar .container { display: flex; height: 100%; align-items: center; justify-content: space-between; padding-right: 220px; }
.support-bar a, .support-bar button { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .88); background: none; border: 0; padding: 0; font-size: inherit; white-space: nowrap; }
.support-bar a:hover, .support-bar button:hover { color: #fff; }
.support-bar .i { color: #8fd8bf; }
.fab { position: fixed; left: 20px; bottom: 64px; z-index: 75; }
.fab-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(14, 122, 95, .8); position: relative; }
.fab-btn::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand); animation: ring2 2s ease-out infinite; }
@keyframes ring2 { from { opacity: .8; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }
.fab-btn .i { width: 26px; height: 26px; }
.fab-close { display: none; }
.fab.is-open .fab-open { display: none; }
.fab.is-open .fab-close { display: block; }
.fab.is-open .fab-btn::before { display: none; }
.fab-menu { position: absolute; left: 0; bottom: 72px; width: 250px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: bottom left; transition: all .2s; }
.fab.is-open .fab-menu { opacity: 1; visibility: visible; transform: none; }
.fab-menu a, .fab-menu button, .chat-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--ink); font-size: 14.5px; font-weight: 600; text-align: left; }
.fab-menu a:hover, .fab-menu button:hover, .chat-opt:hover { background: var(--brand-50); color: var(--ink); }
.fab-menu .i, .chat-opt .i { width: 32px; height: 32px; }
.fab-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.fab-ico .i { width: 17px !important; height: 17px !important; }
.chat { position: fixed; right: 20px; bottom: 44px; z-index: 76; display: flex; flex-direction: column; align-items: flex-end; }
.chat-tab { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border: 0; border-radius: 12px 12px 0 0; padding: 0 18px; height: 42px; font-weight: 700; font-size: 14px; position: relative; box-shadow: 0 -6px 18px -8px rgba(0, 0, 0, .35); }
.chat-dot { position: absolute; top: -8px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); font-size: 11px; display: grid; place-items: center; border: 2px solid #fff; }
.chat.is-open .chat-dot { display: none; }
.chat-bubble { position: absolute; bottom: 54px; right: 0; width: 230px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 34px 14px 16px; font-size: 14px; animation: pop .35s ease; }
.chat-bubble p { margin: 0; }
.chat-bubble::after { content: ""; position: absolute; right: 30px; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); }
.chat-bubble-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; padding: 0; }
.chat-bubble-x .i { width: 14px; height: 14px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.chat-panel { position: absolute; bottom: 42px; right: 0; width: 330px; background: #fff; border-radius: 16px 16px 0 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .25s ease; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--brand); color: #fff; }
.chat-head b { display: block; }
.chat-head small { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .85; }
.chat-head small i { width: 8px; height: 8px; border-radius: 50%; background: #5ff0b7; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.chat-x { margin-left: auto; border: 0; background: none; color: #fff; width: 32px; height: 32px; display: grid; place-items: center; }
.chat-body { padding: 14px; display: grid; gap: 4px; }
.chat-msg { background: var(--bg-soft); border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: 14px; margin: 0 0 8px; }
.to-top { position: fixed; right: 22px; bottom: 104px; z-index: 65; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.mbar { display: none; }

/* ─── Modal & form ─── */
.modal { border: 0; padding: 0; background: transparent; width: calc(100% - 32px); max-width: 580px; max-height: calc(100% - 32px); overflow: visible; }
.modal::backdrop { background: rgba(8, 20, 16, .55); backdrop-filter: blur(3px); }
.modal[open] .modal-card { animation: pop .25s ease; }
.modal-card { position: relative; background: #fff; border-radius: 20px; padding: 30px; max-height: calc(100vh - 32px); overflow: auto; }
.modal-card h2 { font-size: 23px; margin-bottom: 6px; padding-right: 30px; }
.modal-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; }
.modal-x:hover { background: var(--brand-50); color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; height: 46px; border-radius: 10px; border: 1px solid #d3ddd9; background: #fff; padding: 0 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field.is-invalid input, .field.is-invalid textarea, input.is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229, 72, 77, .15); }
.form-msg { margin: 12px 0 0; font-size: 14.5px; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: var(--brand); }
.form-msg.is-err { color: var(--red); }
.cta-band .form-msg.is-ok, .cta-band .form-msg.is-err { color: #fff; }
.form-note { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.form-note .i { width: 14px; height: 14px; }
button[aria-busy="true"] { opacity: .7; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 80px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14.5px; font-weight: 600; opacity: 0; visibility: hidden; transition: all .25s; z-index: 200; max-width: calc(100% - 32px); }
.toast.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.card-form h2, .card-form h3 { font-size: 22px; }

/* ─── Kho giao diện ─── */
.g-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.g-side { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.g-box { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; }
.g-box h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.g-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.g-cats a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14px; white-space: nowrap; font-weight: 600; }
.g-cats a .i { color: var(--brand); width: 18px; height: 18px; }
.g-cats a em { margin-left: auto; font-style: normal; font-size: 12px; background: var(--bg-soft); color: var(--muted); padding: 1px 8px; border-radius: 99px; }
.g-cats a:hover { background: var(--brand-50); color: var(--brand-700); }
.g-cats a.is-active { background: var(--brand); color: #fff; }
.g-cats a.is-active .i, .g-cats a.is-active em { color: #fff; background: transparent; }
.g-cta { background: var(--brand-50); border-color: var(--brand-100); text-align: center; }
.g-cta > .i { width: 40px; height: 40px; color: var(--brand); margin: 0 auto 8px; }
.g-cta p { font-size: 14px; color: var(--muted); }
.g-phone { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 800; }
.g-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.g-search { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; height: 46px; background: #fff; color: var(--muted); }
.g-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.g-search input { border: 0; outline: 0; flex: 1; height: 100%; background: none; min-width: 0; }
.g-count { margin: 0; color: var(--muted); }
.g-count b { color: var(--ink); }
.g-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.g-sort select { height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; }
.g-empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.g-empty > .i { width: 44px; height: 44px; margin: 0 auto 10px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checks--3 { grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }

/* ─── Chi tiết mẫu ─── */
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.detail-preview { position: relative; padding-bottom: 28px; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f0; }
.browser-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar > i:nth-child(2) { background: #febc2e; }
.browser-bar > i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 12px; flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 8px; padding: 4px 12px; font-size: 12.5px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-bar span .i { width: 12px; height: 12px; color: var(--brand); }
.browser-screen { container-type: inline-size; aspect-ratio: 16 / 11; overflow: hidden; }
.browser-screen > .mini { transition: transform 1.5s ease; }
.browser:hover .browser-screen > .mini { transform: translateY(calc(-100% + 68.75cqi)); transition: transform 7s ease-in-out; }
.detail-phone { position: absolute; right: -14px; bottom: 0; width: 22%; }
.detail-phone .dev-screen { aspect-ratio: 9 / 19; border: 6px solid #1c1f24; border-radius: 22px; --sh: 211cqi; box-shadow: var(--shadow-lg); }
.detail-phone .dev-screen > .mini { animation: autoscroll 12s ease-in-out infinite alternate; }
.detail-hint { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.detail-info h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.detail-code { color: var(--muted); margin-bottom: 14px; }
.detail-code b { color: var(--brand); }
.detail-price { display: flex; flex-direction: column; background: var(--bg-soft); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.detail-price b { color: var(--red); font-size: 22px; }
.detail-price small { color: var(--muted); font-size: 13px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 18px 0 22px; }
.facts div { background: #fff; padding: 10px 14px; }
.facts dt { font-size: 12.5px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); font-size: 14.5px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-actions .btn { flex: 1 1 180px; }
.detail-zalo { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border: 1px dashed #b3c8ff; border-radius: 12px; background: #f4f7ff; color: var(--ink); }
.detail-zalo .i { width: 40px; height: 40px; }
.detail-zalo span { font-size: 14px; }
.detail-zalo b { display: block; font-size: 17px; color: #0068ff; }
.detail-trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.detail-trust li { display: flex; align-items: center; gap: 10px; }
.detail-trust .i { color: var(--brand); }
.detail-more { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.mini-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
.mini-steps li { counter-increment: s; position: relative; padding-left: 52px; }
.mini-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.mini-steps b { display: block; color: var(--ink); }
.mini-steps span { color: var(--muted); font-size: 14.5px; }

/* ─── Dịch vụ ─── */
.svc-hero { background: linear-gradient(180deg, #fff, var(--brand-50)); padding: 48px 0 64px; }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.svc-hero h1 { font-size: clamp(28px, 3.6vw, 42px); }
.svc-hero-media { position: relative; }
.svc-hero-media img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.svc-hero-badge { position: absolute; left: -18px; bottom: 24px; display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow); color: var(--ink); }
.svc-hero-badge .i { color: var(--brand); width: 26px; height: 26px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-grid--4 { grid-template-columns: repeat(4, 1fr); }
.benefit, .svc-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: box-shadow .25s, transform .25s; }
.benefit:hover, .svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit h3, .svc-card h3 { font-size: 17.5px; margin: 16px 0 8px; }
.benefit p, .svc-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.benefit-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.benefit-ico .i { width: 26px; height: 26px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card { display: flex; flex-direction: column; color: inherit; }
.svc-card p { flex: 1; margin-bottom: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: 14px; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); color: inherit; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.type-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.type-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.type-card > div { padding: 0 24px 24px; position: relative; }
.type-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; margin-top: -27px; border: 4px solid #fff; }
.type-card h3 { font-size: 18px; margin: 14px 0 8px; }
.type-card p { color: var(--muted); font-size: 14.5px; }
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.steps-row li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; }
.step-no { position: absolute; right: 14px; top: 10px; font-size: 26px; font-weight: 800; color: var(--brand-100); }
.step-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.steps-row b { display: block; color: var(--ink); margin-bottom: 6px; }
.steps-row p { font-size: 13.5px; color: var(--muted); margin: 0; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 36px; }
.related p { margin: 0; font-weight: 700; color: var(--ink); }
.related a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.related a:hover { border-color: var(--brand); color: var(--brand); }
.related a .i { color: var(--brand); }
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.addon { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; color: inherit; transition: box-shadow .2s; }
.addon:hover { box-shadow: var(--shadow); color: inherit; }
.addon h3 { font-size: 17px; margin: 0 0 2px; }
.addon p { margin: 0; font-size: 14px; color: var(--muted); }
.addon b { margin-left: auto; color: var(--red); white-space: nowrap; }
.pay-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: p; }
.pay-steps li { text-align: center; position: relative; }
.pay-steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px); border-top: 2px dashed var(--brand-100); }
.pay-steps span { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.pay-steps b { display: block; color: var(--ink); margin-bottom: 6px; }
.pay-steps p { color: var(--muted); font-size: 14.5px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list b { color: var(--ink); }
.map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 280px; }
.map iframe { width: 100%; height: 100%; border: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ind-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.ind-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ind-card:hover img { transform: scale(1.06); }
.ind-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); color: #fff; font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.job-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.job { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.job h3 { font-size: 17px; margin-bottom: 4px; }
.job p { margin: 0; color: var(--muted); font-size: 14.5px; }
.job .btn { margin-left: auto; flex: none; }
.kb { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; align-items: start; }
.kb-toc { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.kb-toc b { color: var(--ink); margin-bottom: 6px; }
.kb-toc a { color: var(--ink-2); font-size: 14.5px; padding: 6px 10px; border-radius: 8px; }
.kb-toc a:hover { background: var(--brand-50); color: var(--brand); }
.kb-toc .btn { margin-top: 12px; }
.kb-art { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.kb-art:last-child { border-bottom: 0; }
.kb-art h2 { font-size: 24px; }
.nf-code { font-size: 110px; font-weight: 800; color: var(--brand-100); line-height: 1; margin: 0; }
.nf-search { display: flex; gap: 10px; max-width: 480px; margin: 20px auto; }
.nf-search input { flex: 1; height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }

/* Cột lưới không bị nội dung dài đẩy tràn */
.hero-grid > *, .detail-grid > *, .detail-more > *, .svc-hero-grid > *, .contact-grid > *, .split > *, .kb > *, .g-layout > *, .cta-band .container > * { min-width: 0; }

/* ─── Hiệu ứng xuất hiện ─── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ─── Responsive ─── */
@media (max-width: 1180px) {
  .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav li > a, .drop-btn { padding: 0 11px; font-size: 14.5px; }
  .nav-search { flex-basis: 200px; }
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .arc-step { width: 170px; margin-left: -85px; }
  .support-bar a[href^="mailto"] { display: none; }
}
@media (max-width: 1023px) {
  :root { --head-top: 0px; }
  body { padding-bottom: 64px; }
  .topbar, .header-contact, .navbar .nav-search, .support-bar, .fab, .chat, .dev-badge { display: none; }
  .site-header { top: 0; z-index: 85; background: #fff; box-shadow: 0 4px 16px -10px rgba(0, 0, 0, .3); }
  .header-main { height: 64px; }
  .header-mobile-act { display: flex; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text b { font-size: 23px; }
  .navbar { background: none; box-shadow: none; }
  .navbar > .container { height: 0; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; display: flex; flex-direction: column; padding: 14px 16px 24px; }
  .nav-open .main-nav { transform: none; box-shadow: var(--shadow-lg); }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(8, 20, 16, .5); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  .nav-search--mobile { display: block; position: relative; margin-bottom: 10px; }
  .nav-search--mobile input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 40px 0 14px; }
  .nav-search--mobile .i { position: absolute; right: 12px; top: 12px; color: var(--muted); }
  .main-nav ul { flex-direction: column; height: auto; }
  .main-nav li { flex-direction: column; border-bottom: 1px solid var(--line); }
  .main-nav li > a, .drop-btn { color: var(--ink); padding: 14px 4px; justify-content: space-between; font-size: 16px; width: 100%; text-align: left; }
  .main-nav li > a:hover, .drop-btn:hover, .has-drop:hover > .drop-btn, .has-drop:focus-within > .drop-btn { background: none; color: var(--brand); }
  .main-nav li > a.is-active, .drop-btn.is-active { background: none; color: var(--brand); }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: 0 !important; padding: 0 0 10px; display: none; border-radius: 0; }
  .has-drop:hover > .drop, .has-drop:focus-within > .drop { display: none; }
  .has-drop.is-open > .drop { display: block; }
  .has-drop:hover > .drop-btn .i { transform: none; }
  .has-drop.is-open > .drop-btn .i { transform: rotate(180deg); }
  .drop-list--2, .drop-mega { grid-template-columns: 1fr; min-width: 0; }
  .drop-item small { display: none; }
  .nav-mobile-foot { display: grid; gap: 10px; margin-top: 20px; }
  .fab, .chat { display: none; }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: 64px; background: #fff; box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, .3); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: none; border: 0; }
  .mbar .i { width: 26px; height: 26px; }
  .mbar-call { color: #fff !important; background: var(--brand) !important; }
  .to-top { bottom: 80px; right: 14px; }
  .toast { bottom: 84px; }
  .hero { padding: 32px 0 48px; }
  .hero-grid, .svc-hero-grid, .detail-grid, .detail-more, .contact-grid, .split, .cta-band .container { grid-template-columns: 1fr; }
  .devices { max-width: 640px; margin: 0 auto; width: 100%; }
  .g-layout, .kb { grid-template-columns: 1fr; }
  .g-side, .kb-toc { position: static; }
  .g-cta { display: none; }
  .g-cats { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .g-cats a { white-space: nowrap; border: 1px solid var(--line); }
  .g-box { padding: 14px; }
  .adv-grid, .benefit-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .price-grid, .type-grid { grid-template-columns: 1fr 1fr; }
  .faq--cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-company { grid-template-columns: 1fr; gap: 24px; }
  .arc { aspect-ratio: auto; }
  .arc-line { display: none; }
  .arc ol { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .arc-step { position: static; width: auto; margin: 0; text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: 0 14px; }
  .arc-ico { width: 60px; height: 60px; margin: 0; grid-row: span 2; }
  .arc-ico .i { width: 26px; height: 26px; }
  .arc-center { position: relative; left: auto; bottom: auto; transform: none; width: 100%; max-width: 520px; margin: 0 auto 28px; aspect-ratio: 2; border-radius: 20px; order: -1; }
  .arc { display: flex; flex-direction: column; }
  .detail-phone { width: 24%; right: 6px; }
  .kb-toc .btn { display: none; }
}
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .tgrid, .tgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tcard-body { flex-direction: column; gap: 2px; padding: 10px 12px 2px; }
  .tcard-body h3 { font-size: 14px; }
  .tcard-foot { padding: 2px 12px 12px; }
  .tcard-pick { font-size: 12.5px; }
  .tcard-over .btn { height: 32px; padding: 0 10px; font-size: 12px; }
  .tcard-over .btn .i { display: none; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab { flex: none; }
  .benefit-grid, .price-grid, .type-grid, .svc-grid, .addon-grid, .job-list, .steps-row, .checks--2, .checks--3 { grid-template-columns: 1fr; }
  .pay-steps { grid-template-columns: 1fr 1fr; }
  .pay-steps li::after { display: none; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .arc ol { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .inline-form { grid-template-columns: 1fr; }
  .modal-card { padding: 24px 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; }
  .job { flex-wrap: wrap; }
  .job .btn { margin-left: 0; }
  .price-card.is-hot { margin-top: 10px; }
  .svc-hero-badge { left: 12px; }
}
@media (max-width: 480px) {
  .adv-grid, .benefit-grid--4 { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .adv-item p { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .hero-checks { font-size: 13px; }
  .devices { aspect-ratio: 1.1; }
}
@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; }
}
