/* ==========================================================================
   AgenticERP — Public website (corporate, bilingual VI/EN)
   Brand: Salesforce-blue #0176d3 · Display: Outfit · Body: Inter
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-sans);
  color: var(--body); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
:root {
  --brand: #0176d3; --brand-d: #015ba6; --brand-l: #1f87e6; --brand-xl: #eaf4fc;
  --violet: #863bff; --violet-soft: rgba(134,59,255,0.10);
  --ink: #0b1f33; --body: #41566b; --muted: #6b7f93;
  --bg: #ffffff; --bg-soft: #f5f8fc; --bg-blue: #eef5fc; --navy: #0a2540;
  --line: #e3eaf1; --line-2: #eef2f6;
  --ok: #2e844a; --warn: #c77700; --amber: #f59e0b;
  --f-display: "Outfit", "Segoe UI", system-ui, sans-serif; /* @kind font */
  --f-sans: "Inter", "Segoe UI", system-ui, sans-serif; /* @kind font */
  --f-mono: "JetBrains Mono", ui-monospace, monospace; /* @kind font */
  --r: 12px; --r-lg: 18px; --r-sm: 8px;
  --sh-sm: 0 1px 2px rgba(16,40,70,0.06), 0 1px 3px rgba(16,40,70,0.05);
  --sh: 0 4px 14px rgba(16,40,70,0.08);
  --sh-lg: 0 18px 48px rgba(16,40,70,0.14);
  --container: 1200px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
button { font-family: inherit; }

/* i18n toggle — hide the inactive language everywhere */
html[data-lang="vi"] [lang="en"], html[data-lang="en"] [lang="vi"] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); font-family: var(--f-sans); }
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.section.blue { background: var(--bg-blue); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 12px 0 14px; }
.section-head p { font-size: 17px; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 24px; border-radius: 9999px; font-size: 15.5px; font-weight: 700; font-family: var(--f-sans); cursor: pointer; border: 1.5px solid transparent; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn .ic, .btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(1,118,211,0.28); }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.34); }
.btn-light:hover { background: rgba(255,255,255,0.22); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16.5px; }

/* ── Top utility bar ─────────────────────────────────────────────────────── */
.topbar { background: var(--navy); color: #cfe0f0; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; gap: 22px; height: 40px; }
.topbar a { color: #cfe0f0; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .spacer { flex: 1; }
.topbar .tb-ic { width: 15px; height: 15px; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,0.22); border-radius: 9999px; overflow: hidden; }
.lang-switch button { background: transparent; border: none; color: #cfe0f0; font-size: 12px; font-weight: 700; padding: 4px 11px; cursor: pointer; letter-spacing: 0.03em; }
.lang-switch button.on { background: var(--brand); color: #fff; }

/* ── Header / nav ────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 14px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; }
.brand .wm { display: block; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.05; }
.brand .wm b { color: var(--brand); font-weight: 800; }
.brand .tag { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; font-weight: 500; white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.nav-menu > li { position: relative; list-style: none; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 0 13px; height: 70px; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-link:hover, .nav-item.open .nav-link { color: var(--brand); }
.nav-item.active .nav-link { color: var(--brand); border-bottom-color: var(--brand); }
.nav-link .caret { width: 15px; height: 15px; transition: transform .18s; opacity: .7; }
.nav-item.open .nav-link .caret { transform: rotate(180deg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-left: 6px; }
.nav-divider { width: 1px; height: 26px; background: var(--line); flex-shrink: 0; }
@media (max-width: 960px) { .nav-divider { display: none; } }
.nav-cta-ghost { font-size: 14.5px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-cta-ghost:hover { color: var(--brand); }
.nav-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); flex-shrink: 0; }
.nav-cart:hover { background: var(--bg-soft); color: var(--brand); }
.nav-cart svg { width: 21px; height: 21px; }
.nav-cart-badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; font-family: var(--f-sans); display: none; align-items: center; justify-content: center; border: 2px solid #fff; }

/* dropdowns */
.dropdown { position: absolute; top: 100%; left: 0; min-width: 256px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 120; }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown.mega { left: 50%; transform: translate(-50%, 8px); width: min(1080px, calc(100vw - 40px)); padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 26px; }
.nav-item.open .dropdown.mega { transform: translate(-50%, 0); }
.mega-group-title { font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand); padding: 12px 10px 6px; font-family: var(--f-sans); }
.mega-col { display: flex; flex-direction: column; }
.menu-item { display: flex; align-items: flex-start; gap: 11px; padding: 9px 10px; border-radius: var(--r-sm); cursor: pointer; }
.menu-item:hover { background: var(--bg-soft); }
.menu-item .mi-ic { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-xl); color: var(--brand); }
.menu-item .mi-ic svg { width: 18px; height: 18px; }
.menu-item .mi-t { display: block; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.menu-item .mi-d { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.dropdown.simple .menu-item .mi-ic { background: var(--violet-soft); color: var(--violet); }

/* mobile nav */
.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.hamburger svg { width: 22px; height: 22px; }
.mobile-drawer { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; z-index: 200; transform: translateX(100%); transition: transform .25s; overflow-y: auto; box-shadow: var(--sh-lg); display: flex; flex-direction: column; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-scrim { position: fixed; inset: 0; background: rgba(10,37,64,0.45); z-index: 190; opacity: 0; visibility: hidden; transition: .25s; }
.mobile-scrim.open { opacity: 1; visibility: visible; }
/* desktop: the off-canvas drawer must not exist (translateX(100%) would extend page width) */
@media (min-width: 961px) { .mobile-drawer, .mobile-scrim { display: none; } }
/* priority+ "More" overflow menu */
.nav-more .nav-link { gap: 5px; }
.nav-more .more-toggle { padding: 8px 10px; }
.nav-more .more-toggle > svg { width: 20px; height: 20px; }
.nav-more .more-dd { left: auto; right: 0; min-width: 200px; }
.nav-more .more-dd .menu-item { padding: 9px 12px; }
.nav-more .more-dd .menu-item .mi-t { font-size: 14px; font-weight: 600; }
.md-head { display: flex; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.md-head .x { margin-left: auto; width: 40px; height: 40px; border: none; background: var(--bg-soft); border-radius: 10px; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.md-body { padding: 10px 12px 24px; }
.md-acc > summary { list-style: none; cursor: pointer; padding: 14px 12px; font-size: 16px; font-weight: 700; color: var(--ink); display: flex; align-items: center; border-bottom: 1px solid var(--line-2); }
.md-acc > summary::-webkit-details-marker { display: none; }
.md-acc > summary .caret { margin-left: auto; width: 18px; height: 18px; transition: transform .18s; }
.md-acc[open] > summary .caret { transform: rotate(180deg); }
.md-acc .md-sub { padding: 4px 8px 12px; }
.md-acc .md-sub a { display: block; padding: 9px 12px; font-size: 14.5px; color: var(--body); border-radius: 8px; }
.md-acc .md-sub a:hover { background: var(--bg-soft); color: var(--brand); }
.md-grouptitle { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); padding: 12px 12px 4px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; background: radial-gradient(1200px 520px at 78% -8%, #0a3a66 0%, #0a2540 46%, #081b30 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 360px at 12% 110%, rgba(1,118,211,0.34), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; padding-top: 70px; padding-bottom: 84px; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; }
.hero h1 .hl { color: #58b2ff; }
.hero .lede { color: #c4d6e8; font-size: 18px; margin-top: 20px; max-width: 540px; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero .award { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 14px 7px 8px; border-radius: 9999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); font-size: 13px; color: #dbe9f6; font-weight: 600; }
.hero .award .badge { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#f7b733,#e88a00); display: inline-flex; align-items: center; justify-content: center; }
.hero .award .badge svg { width: 15px; height: 15px; color: #fff; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--f-display); font-weight: 800; font-size: 30px; color: #fff; }
.hero-stats .lbl { font-size: 13px; color: #a9c2d8; }

/* dashboard mockup */
.mock { background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,0.4); overflow: hidden; transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
.mock .bar { height: 38px; background: #0a2540; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.mock .bar .url { margin-left: 12px; height: 18px; flex: 1; max-width: 260px; border-radius: 9999px; background: rgba(255,255,255,0.12); }
.mock .body { display: grid; grid-template-columns: 56px 1fr; height: 332px; }
.mock .side { background: #0a2540; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock .side i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.1); }
.mock .side i.on { background: var(--brand); }
.mock .main { padding: 16px; background: #f5f8fc; }
.mock .kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 12px; }
.mock .kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px; }
.mock .kpi .v { height: 18px; width: 60%; border-radius: 5px; background: var(--brand); opacity: .85; margin-bottom: 7px; }
.mock .kpi .t { height: 8px; width: 84%; border-radius: 4px; background: #d8e2ec; }
.mock .chart { background: #fff; border: 1px solid var(--line); border-radius: 10px; height: 150px; padding: 14px; display: flex; align-items: flex-end; gap: 9px; }
.mock .chart span { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(var(--brand-l), var(--brand)); }

/* ── Cards / grids ───────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card.link:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(1,118,211,0.4); }
.card .tile { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-xl); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .tile svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .more { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; transition: transform .15s; }
.card.link:hover .more svg { transform: translateX(4px); }

/* module pill grid (homepage) */
.modgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.modcard { display: flex; align-items: center; gap: 14px; padding: 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); transition: .15s; }
.modcard:hover { border-color: var(--brand); box-shadow: var(--sh); transform: translateY(-2px); }
.modcard .mc-ic { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--brand-xl); color: var(--brand); }
.modcard .mc-ic svg { width: 23px; height: 23px; }
.modcard .mc-t { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.modcard .mc-d { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* feature list (checks) */
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; list-style: none; align-items: flex-start; }
.checks .ck { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; background: rgba(46,132,74,0.12); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.checks .ck svg { width: 16px; height: 16px; }
.checks .tx { font-size: 15.5px; color: var(--body); }
.checks .tx b { color: var(--ink); }

/* split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); }

/* stats band */
.statband { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; text-align: center; }
.statband .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px,4vw,48px); color: var(--brand); }
.statband .lbl { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* why-us icon list */
.why { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.why .w-ic { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-l), var(--brand)); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.why .w-ic svg { width: 26px; height: 26px; }
.why h3 { font-size: 17.5px; margin-bottom: 7px; }
.why p { font-size: 14.5px; color: var(--muted); }

/* customer logos */
.logos { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.logo-cell { height: 78px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: 17px; color: #8a9bad; letter-spacing: -0.01em; transition: .15s; }
.logo-cell:hover { color: var(--brand); border-color: var(--brand); }

/* blog cards */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: .15s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.post .thumb { height: 184px; background: linear-gradient(135deg, var(--brand-l), var(--navy)); position: relative; overflow: hidden; }
.post .thumb .art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.post:hover .thumb .art { transform: scale(1.04); transition: transform .4s ease; }
.post .thumb.v2 { background: linear-gradient(135deg, #18b0a8, #0a6f8a); }
.post .thumb.v3 { background: linear-gradient(135deg, var(--violet), #4b2da8); }
.post .thumb .cat { position: absolute; left: 14px; top: 14px; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,0.92); color: var(--brand); padding: 4px 10px; border-radius: 9999px; }
.post .pbody { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post .pbody .date { font-size: 12.5px; color: var(--muted); }
.post .pbody h3 { font-size: 17px; margin: 8px 0 0; line-height: 1.3; }
.post .pbody .more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 700; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--navy), #0a2540); color: #fff; padding: 54px 0; }
.page-hero h1 { color: #fff; font-size: clamp(30px,4vw,46px); }
.page-hero p { color: #c4d6e8; font-size: 17px; margin-top: 12px; max-width: 660px; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #9db6ce; margin-bottom: 16px; }
.crumb a:hover { color: #fff; }
.crumb svg { width: 14px; height: 14px; opacity: .6; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--sh-sm); }
.plan.feat { border: 2px solid var(--brand); box-shadow: var(--sh-lg); position: relative; }
.plan.feat .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 9999px; }
.plan .pname { font-family: var(--f-display); font-weight: 800; font-size: 21px; color: var(--ink); }
.plan .pprice { font-family: var(--f-display); font-weight: 800; font-size: 40px; color: var(--ink); margin: 12px 0 2px; }
.plan .pprice small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan .pdesc { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.plan .checks { margin: 0 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line-2); }
.plan .checks .tx { font-size: 14.5px; }
.plan .btn { width: 100%; margin-top: auto; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-row .ir-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-xl); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-row .ir-ic svg { width: 21px; height: 21px; }
.info-row .ir-t { font-size: 13px; color: var(--muted); }
.info-row .ir-v { font-size: 16px; font-weight: 700; color: var(--ink); margin-top: 1px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 15px; font-family: var(--f-sans); color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1,118,211,0.12); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* CTA band */
.cta-band { background: radial-gradient(900px 400px at 50% -40%, #0a3a66, #0a2540); color: #fff; border-radius: var(--r-lg); padding: 54px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px,3.4vw,38px); }
.cta-band p { color: #c4d6e8; font-size: 17px; margin: 14px auto 26px; max-width: 600px; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #aec4d8; font-size: 14.5px; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer .brand .wm { color: #fff; }
.site-footer .brand .wm b { color: #58b2ff; }
.site-footer .f-about { margin-top: 16px; max-width: 320px; color: #9db6ce; font-size: 14px; line-height: 1.7; }
.f-contact { margin-top: 18px; display: grid; gap: 9px; }
.f-contact .fc { display: flex; gap: 9px; align-items: center; color: #c7d8e8; font-size: 14px; }
.f-contact .fc svg { width: 16px; height: 16px; color: #58b2ff; flex-shrink: 0; }
.f-col h4 { color: #fff; font-family: var(--f-sans); font-size: 15px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0; }
.f-col a { display: block; color: #aec4d8; padding: 6px 0; font-size: 14px; }
.f-col a:hover { color: #fff; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: inline-flex; align-items: center; justify-content: center; color: #c7d8e8; }
.f-social a:hover { background: var(--brand); color: #fff; }
.f-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: #8aa6bf; font-size: 13px; }
.footer-bottom .spacer { flex: 1; }
.footer-bottom a:hover { color: #fff; }

/* utilities */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.lead-tag { display: inline-block; }
.hide-desk { display: none; }

/* legal / document pages */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 90px; }
.legal-toc .toc-t { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.legal-toc a { display: block; padding: 7px 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.4; }
.legal-toc a:hover { color: var(--brand); border-color: var(--brand); }
.legal-meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.legal-art h2 { font-size: 22px; margin: 34px 0 12px; scroll-margin-top: 90px; display: flex; align-items: center; gap: 10px; }
.legal-art h2 .n { width: 30px; height: 30px; border-radius: 8px; background: var(--brand-xl); color: var(--brand); font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--f-sans); }
.legal-art h2:first-child { margin-top: 0; }
.legal-art p { color: var(--body); font-size: 15.5px; margin-bottom: 12px; line-height: 1.7; }
.legal-art ul { color: var(--body); font-size: 15.5px; padding-left: 22px; margin: 0 0 14px; }
.legal-art li { margin-bottom: 7px; line-height: 1.6; }
.legal-art a.inl { color: var(--brand); font-weight: 600; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal-toc { display: none; } }

/* ── Live chat support widget (site-wide) ────────────────────────────────── */
.lc-launch { position: fixed; right: 22px; bottom: 22px; z-index: 300; height: 56px; padding: 0 20px 0 16px; border-radius: 9999px; background: var(--brand); color: #fff; border: none; cursor: pointer; box-shadow: 0 12px 32px rgba(1,118,211,0.42); display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-sans); font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .15s; }
.lc-launch:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(1,118,211,0.5); }
.lc-launch svg { width: 22px; height: 22px; }
.lc-launch .dot { position: absolute; top: 4px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: #39d98a; border: 2px solid #fff; }
.lc-launch.hide { display: none; }
.lc-panel { position: fixed; right: 22px; bottom: 22px; z-index: 301; width: min(384px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px)); background: #fff; border-radius: 18px; box-shadow: 0 28px 80px rgba(10,37,64,0.38); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px) scale(.97); transform-origin: bottom right; transition: .22s; }
.lc-panel.open { opacity: 1; visibility: visible; transform: none; }
.lc-head { background: linear-gradient(135deg, var(--brand-l), var(--brand)); color: #fff; padding: 16px 16px 15px; display: flex; align-items: center; gap: 12px; }
.lc-head .ava { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.lc-head .ava svg { width: 22px; height: 22px; }
.lc-head .ava .dot { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #39d98a; border: 2px solid #fff; }
.lc-head .ht { font-family: var(--f-display); font-weight: 800; font-size: 16px; line-height: 1.1; }
.lc-head .hs { font-size: 12px; opacity: .9; margin-top: 2px; }
.lc-head .x { margin-left: auto; width: 32px; height: 32px; border: none; background: rgba(255,255,255,0.18); border-radius: 9px; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lc-head .x:hover { background: rgba(255,255,255,0.3); }
.lc-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 10px; }
.lc-msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.lc-msg.bot { background: #fff; border: 1px solid var(--line); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.lc-msg.me { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.lc-msg a { color: inherit; text-decoration: underline; font-weight: 600; }
.lc-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; background: var(--bg-soft); }
.lc-chips button { font-size: 12.5px; border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 9999px; padding: 6px 12px; cursor: pointer; font-family: var(--f-sans); }
.lc-chips button:hover { background: var(--brand-xl); }
.lc-input { display: flex; align-items: center; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.lc-input input { flex: 1; border: 1px solid var(--line); border-radius: 9999px; padding: 11px 16px; font-size: 14px; font-family: var(--f-sans); outline: none; color: var(--ink); }
.lc-input input:focus { border-color: var(--brand); }
.lc-input button { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--brand); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lc-input button svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .lc-panel { right: 10px; bottom: 10px; height: calc(100vh - 84px); } .lc-launch { right: 14px; bottom: 14px; } }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .brand .tag { display: none; }
  .nav-menu { margin-left: 10px; }
  .nav-link { padding: 0 11px; }
}
@media (max-width: 1080px) {
  .dropdown.mega { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 960px) {
  .nav-menu, .nav-right .desk-cta { display: none; }
  .hamburger { display: inline-flex; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 520px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .g-4, .price-grid, .why { grid-template-columns: repeat(2,1fr); }
  .modgrid { grid-template-columns: repeat(2,1fr); }
  .logos { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .g-2, .g-3, .g-4, .price-grid, .why, .statband, .modgrid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .field-2 { grid-template-columns: 1fr; }
  .topbar .container { gap: 14px; }
  .topbar .hide-mobile { display: none; }
  .brand .tag { display: none; }
  .cta-band { padding: 40px 22px; }
}
