/* =========================================================================
   OMNICENTER — Design System (theo Master Brand Guideline v1.0)
   ========================================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette — mục 3.1 */
  --primary: #0645C0;
  --bright: #078BEE;
  --lime: #A8F000;
  --navy: #082B70;
  --white: #FFFFFF;
  --off: #F7F9FC;
  --line: #EEF2F7;
  --text: #263449;

  /* Phái sinh (không phải màu nhận diện) */
  --muted: #5A6B85;
  --input-border: #D8E1ED;
  --placeholder: #94A3B8;
  --primary-50: #EEF4FF;
  --bright-50: #E8F5FE;
  --lime-50: #F4FDE0;
  --lime-ink: #4C7000;            /* lime đậm cho chữ trên nền sáng */

  /* Gradient — mục 3.4 */
  --grad-main: linear-gradient(135deg, #0645C0 0%, #078BEE 100%);
  --grad-tech: linear-gradient(135deg, #082B70 0%, #0645C0 60%, #078BEE 100%);
  --grad-accent: linear-gradient(110deg, #0645C0 0%, #078BEE 65%, #A8F000 100%);

  /* Typography — mục 4 */
  --font: 'Be Vietnam Pro', 'Inter', 'Manrope', system-ui, -apple-system, sans-serif;

  /* Shape & depth — mục 23 */
  --r-btn: 10px;
  --r-card: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(8, 43, 112, .05), 0 2px 8px rgba(8, 43, 112, .04);
  --shadow-md: 0 4px 12px rgba(8, 43, 112, .06), 0 16px 32px -12px rgba(8, 43, 112, .12);
  --shadow-lg: 0 24px 60px -20px rgba(8, 43, 112, .28);

  --r-xl: 28px;
  --shadow-xl: 0 40px 90px -30px rgba(8, 43, 112, .45);

  /* Dark technology sections — mục 3.3: nền Deep Navy, chữ phụ xanh xám sáng */
  --navy-900: #061F55;
  --dark-text: #B4C3E0;
  --dark-muted: #8497BD;
  --dark-line: rgba(255, 255, 255, .12);
  --dark-card: rgba(255, 255, 255, .05);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --dur: .3s;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--navy); margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-weight: 700; font-size: 20px; }
h4 { font-weight: 600; font-size: 16px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(7, 139, 238, .45); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--off { background: var(--off); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); transform: skewX(-20deg); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Lime highlighter — lime không dùng làm màu chữ trên nền sáng */
.hl { background: linear-gradient(transparent 60%, rgba(168, 240, 0, .6) 60%, rgba(168, 240, 0, .6) 92%, transparent 92%); padding: 0 2px; }
.grad-text { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3. Buttons — mục 23 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ic { font-size: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic--move { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px -8px rgba(6, 69, 192, .6); }
.btn--primary:hover { background: var(--navy); }
.btn--secondary { background: var(--white); color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary-50); }
.btn--accent { background: var(--lime); color: var(--navy); }
.btn--accent:hover { background: #B9F72E; transform: translateY(-1px); }
.btn--ghost-light { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn--block { width: 100%; }
/* Trạng thái — mục 23 / master prompt 6 */
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible { outline: 3px solid rgba(7, 139, 238, .55); outline-offset: 3px; border-radius: var(--r-btn); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; box-shadow: none; transform: none; }

/* ---------- Theme: Dark technology section ---------- */
.theme-dark { background: var(--navy); color: var(--dark-text); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: var(--white); }
.theme-dark .eyebrow { color: var(--lime); }
.theme-dark .section-head p { color: var(--dark-text); }
.theme-dark .link-arrow { color: var(--lime); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }
.section-head h2 .accent { color: var(--primary); }
.theme-dark .section-head h2 .accent { color: var(--lime); }
.concept-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--muted); background: var(--off); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.theme-dark .status--in_development, .theme-dark .status--coming_soon { background: rgba(255, 255, 255, .08); color: var(--dark-text); border-color: var(--dark-line); }
.theme-dark .status--beta, .theme-dark .status--pilot { background: rgba(7, 139, 238, .18); color: #CFE6FF; }
.theme-dark .concept-tag { color: var(--dark-text); background: rgba(255, 255, 255, .06); border-color: var(--dark-line); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--primary); }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- 4. Header — mục 19 ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(8, 43, 112, .35); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.header__logo img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 8px; background: none; border: 0;
  font-size: 15px; font-weight: 500; color: var(--navy);
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--primary); background: var(--primary-50); }
.nav__link .ic { font-size: 16px; transition: transform .2s; }
.nav__link.is-current { color: var(--primary); }
.mega__item[aria-current="page"] { background: var(--primary-50); }
.nav__link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav__item { position: relative; }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: 760px; transform: translate(-50%, 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-lg); padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega__group h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; padding-left: 10px; }
.mega__item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; transition: background .2s; }
.mega__item:hover { background: var(--off); }
.mega__item .pi { width: 36px; height: 36px; font-size: 18px; border-radius: 9px; }
.mega__item strong { display: block; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.3; }
.mega__item span span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.mega__foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }

.header__cta { margin-left: 8px; }
.nav__mobile-cta { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--navy); align-items: center; justify-content: center; }
.burger .ic { font-size: 22px; }

/* Product icon tile */
.pi { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--white); background: var(--grad-main); }
.pi--business { background: var(--grad-tech); }
.pi--ai { background: linear-gradient(135deg, #082B70 0%, #0645C0 55%, #078BEE 100%); position: relative; }
.pi--ai::after { content: ''; position: absolute; right: 5px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ---------- 5. Hero — mục 20 ---------- */

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(6, 69, 192, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 69, 192, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero__bg::after {
  content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(7, 139, 238, .22), transparent 62%);
}
.hero__glow-lime { position: absolute; width: 420px; height: 420px; left: 38%; bottom: -260px; background: radial-gradient(circle, rgba(168, 240, 0, .22), transparent 65%); }

.eco__grid > *, .cta__grid > *, .solutions > * { min-width: 0; }

.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero visual: dashboard mock */

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

/* ---------- 6. About ---------- */

.vm__card { border-radius: var(--r-card); padding: 28px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.vm__card--dark { background: var(--grad-tech); border: 0; color: rgba(255, 255, 255, .86); }
.vm__card--dark h3 { color: var(--white); }
.vm__card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.vm__card h3 .ic { font-size: 22px; color: var(--lime); }
.vm__card:not(.vm__card--dark) h3 .ic { color: var(--primary); }
.vm__card p { margin-top: 10px; font-size: 15.5px; }

/* ---------- 7. Ecosystem (dark band) ---------- */
.eco { background: var(--navy); color: rgba(255, 255, 255, .8); overflow: hidden; }
.eco::before { content: ''; position: absolute; inset: 0; background: var(--grad-tech); opacity: .9; }
.eco::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.eco .container { position: relative; z-index: 1; }
.eco .eyebrow { color: var(--lime); }
.eco h2 { color: var(--white); }
.eco .section-head p { color: rgba(255, 255, 255, .75); }
.eco__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }

.orbit { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 0 auto; }
.orbit svg.orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.orbit__ring--dash { stroke-dasharray: 4 8; transform-origin: 50% 50%; animation: spin 80s linear infinite; }
.orbit__line { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; transition: stroke .3s; }
.orbit__line.is-active { stroke: var(--lime); }

.orbit__core {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 0 0 22px rgba(255, 255, 255, .04), 0 24px 60px rgba(0, 0, 0, .3);
}
.orbit__core img { width: 46%; }
.orbit__core span { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--navy); }
.node {
  position: absolute; transform: translate(-50%, -50%); width: 21%; aspect-ratio: 1;
  border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--white); transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.node .ic { font-size: 24px; }
.node small { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--lime); }
.node__label { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--white); }
.node.is-active { background: var(--lime); border-color: var(--lime); color: var(--navy); transform: translate(-50%, -50%) scale(1.08); }
.node.is-active small { color: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }

.groups { display: grid; gap: 10px; }
.group {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s, border-color .25s; cursor: default;
}
.group:hover, .group.is-active { background: rgba(255, 255, 255, .12); border-color: rgba(168, 240, 0, .55); }
.group__no { font-size: 13px; font-weight: 700; color: var(--lime); letter-spacing: .06em; padding-top: 2px; }
.group h3 { color: var(--white); font-size: 16px; letter-spacing: .04em; }
.group p { font-size: 14px; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.group__items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.group__items a, .group__items span {
  font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06); color: var(--white); transition: background .2s, border-color .2s, color .2s;
}
.group__items a:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- 8. Product cards — mục 21 ---------- */
.products__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.products__head .section-head { margin-bottom: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--off); border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 9px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.tab:hover { color: var(--navy); }
.tab.is-active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(6, 69, 192, .2); }
.pcard.is-hidden { display: none; }
.pcard--core { border-color: rgba(6, 69, 192, .3); background: linear-gradient(180deg, var(--primary-50), var(--white) 38%); }
.pcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pcard .pi { width: 52px; height: 52px; border-radius: 14px; font-size: 26px; }
.pcard__meta { margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.pcard h3 { margin-top: 6px; font-size: 22px; }
.pcard__link { color: inherit; }
.pcard__link:hover { color: var(--primary); }
.pcard__cat { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.pcard__desc { margin-top: 14px; font-size: 15px; line-height: 1.6; }
.checks { margin-top: 16px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.checks li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 6px;
  background: var(--lime-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C7000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.pcard__actions { margin-top: auto; padding-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.pcard__actions .btn { flex: 1 1 auto; }
.core-tag { position: absolute; top: -11px; left: 26px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--navy); color: var(--lime); padding: 4px 10px; border-radius: 6px; }

/* Status badge — mục 25 */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--active { background: var(--lime-50); color: var(--lime-ink); border-color: rgba(168, 240, 0, .6); }
.status--active::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(168, 240, 0, .3); }
.status--beta { background: var(--bright-50); color: #0569B8; }
.status--pilot { background: var(--primary-50); color: var(--primary); }
.status--in_development { background: var(--off); color: var(--muted); border-color: var(--line); }
.status--coming_soon { background: var(--white); color: var(--muted); border-color: var(--input-border); }
.status-legend { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 13px; color: var(--muted); }

/* ---------- 9. Services & solutions ---------- */

.scard__ic { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-50); color: var(--primary); font-size: 22px; }

.solutions { margin-top: 56px; padding: 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; }
.solutions h3 { font-size: 22px; }
.solutions p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* ---------- 10. Industries ---------- */

/* ---------- 11. Projects ---------- */
.prgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prcard { border-radius: var(--r-card); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease); display: flex; flex-direction: column; }
.prcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prcard__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--grad-tech); overflow: hidden; padding: 18px 18px 0; }
.prcard__thumb--b { background: var(--grad-main); }
.prcard__thumb--c { background: linear-gradient(135deg, #082B70, #0645C0); }
.prcard__thumb::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 18px 18px; }
.screen { position: relative; z-index: 1; height: 100%; background: var(--white); border-radius: 10px 10px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .2); padding: 10px; display: grid; gap: 6px; align-content: start; }
.screen i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.screen .s-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.screen .s-box { height: 34px; border-radius: 6px; background: var(--off); border: 1px solid var(--line); }
.screen .s-box--b { background: var(--primary-50); }
.screen .s-box--l { background: var(--lime-50); }
.screen .s-bar { height: 8px; border-radius: 4px; background: var(--grad-main); }
.screen--phone { width: 38%; margin: 0 auto; border-radius: 16px 16px 0 0; }
.prcard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prcard__body small { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.prcard__body h3 { margin-top: 6px; font-size: 19px; }
.prcard__body p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.scope { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.scope span { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--off); border: 1px solid var(--line); color: var(--text); }

/* ---------- 12. Process ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 16px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--bright), var(--lime)); opacity: .35; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__no { position: relative; width: 64px; height: 64px; margin: 0 auto; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--white); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); color: var(--primary); font-size: 26px; transition: background .25s, color .25s, border-color .25s; }
.step:hover .step__no { background: var(--primary); color: var(--white); border-color: var(--primary); }
.step__no--num { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.step__no b { position: absolute; top: -9px; right: -9px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: var(--lime); color: var(--navy); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-top: 20px; font-size: 17px; }
.step p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- 13. Why ---------- */

/* ---------- 14. CTA + Lead form — mục 26 ---------- */
.cta { background: var(--grad-main); color: rgba(255, 255, 255, .86); overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, rgba(168, 240, 0, .18), transparent 40%), radial-gradient(circle at 90% 90%, rgba(8, 43, 112, .5), transparent 50%); }
.cta .container { position: relative; }
.cta__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: start; }
.cta .eyebrow { color: var(--lime); }
.cta h2 { color: var(--white); margin-top: 14px; }
.cta__lead { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.cta__list { margin-top: 28px; display: grid; gap: 14px; }
.cta__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.cta__list .ic { font-size: 20px; color: var(--lime); margin-top: 2px; }
.cta__contact { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 10px; font-size: 14.5px; }
.cta__contact div { display: flex; align-items: center; gap: 10px; }
.cta__contact .ic { font-size: 18px; color: var(--lime); }
.cta__contact em { font-style: normal; color: rgba(255, 255, 255, .6); }

.form-card { background: var(--white); border-radius: var(--r-lg); padding: 32px; box-shadow: 0 30px 80px -20px rgba(8, 43, 112, .5); color: var(--text); }
.req-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 12px; background: var(--off); border: 1px solid var(--line); }
.req-tabs label { position: relative; text-align: center; padding: 10px 6px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.req-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.req-tabs label:has(input:checked) { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }
.req-tabs label:has(input:focus-visible) { outline: 3px solid rgba(7, 139, 238, .45); }
.form-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field label em { font-style: normal; color: var(--primary); }
.field label small { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--white);
  border: 1.5px solid var(--input-border); border-radius: 10px; padding: 11px 14px; min-height: 46px;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6B85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; }
.input::placeholder, .textarea::placeholder { color: var(--placeholder); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(6, 69, 192, .12); }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(8, 43, 112, .1); }
.field__err { display: none; font-size: 12.5px; color: var(--navy); font-weight: 500; align-items: center; gap: 6px; }
.field__err::before { content: '!'; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.field.is-invalid .field__err { display: flex; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.form-actions { margin-top: 20px; }
.form-success { display: none; text-align: center; padding: 28px 8px; }
.form-success .ok { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--lime); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.form-success h3 { margin-top: 18px; font-size: 22px; }
.form-success p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.form-success .proto { margin-top: 18px; font-size: 12.5px; background: var(--off); border: 1px dashed var(--input-border); padding: 10px 12px; border-radius: 10px; color: var(--muted); }
.form-card.is-done form { display: none; }
.form-card.is-done .form-success { display: block; }

/* ---------- 15. Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 80px 0 28px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer__brand img { height: 46px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 320px; }
.footer__slogan { margin-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--lime); }
.footer h4 { color: var(--white); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a { color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer a:hover { color: var(--lime); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer__bottom strong { color: var(--white); font-weight: 600; }

/* ---------- 17. Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; transition: opacity .25s, transform .25s var(--ease), visibility .25s; max-width: calc(100% - 32px); }
.toast .ic { color: var(--lime); font-size: 18px; }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 18. Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--scale { transform: scale(.96); }
.js .reveal--left { transform: translateX(-24px); }
.js .reveal--right { transform: translateX(24px); }
/* Tạm dừng animation lặp khi khối không nằm trong màn hình (JS gắn .is-paused) */
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 9px; font-size: 14.5px; }

}
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  /* backdrop-filter tạo containing block cho phần tử fixed → tắt trên mobile để menu phủ toàn màn hình */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--white);
    padding: 16px 24px 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s var(--ease), visibility .2s; border-top: 1px solid var(--line);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 16px; border-radius: 0; }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: none; }
  .mega { position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
  .mega.is-open { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 8px; }
  .mega__foot { display: none; }
  .nav__mobile-cta { display: grid !important; gap: 10px; margin-top: 24px; }
  .eco__grid, .cta__grid { grid-template-columns: 1fr; }

  .pgrid { grid-template-columns: repeat(2, 1fr); }

  .prgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .steps::before { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--primary), var(--bright), var(--lime)); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; text-align: left; padding: 0 0 28px; }
  .step__no { margin: 0; }
  .step h3 { margin-top: 6px; }
  .solutions { grid-template-columns: 1fr; gap: 20px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16px; }
  .header__logo img { height: 34px; }

  .hero__actions .btn { flex: 1 1 100%; }

  .pgrid, .prgrid { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1 1 auto; padding: 9px 10px; font-size: 13px; }
  .node { width: 22%; }
  .node .ic { font-size: 18px; }
  .node__label { font-size: 11px; }
  .orbit__core span { font-size: 8px; }
  .group { grid-template-columns: 1fr; gap: 6px; padding: 16px; }

  .form-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .req-tabs label { font-size: 12.5px; padding: 10px 4px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 20. Thành phần dùng chung cho nhiều trang ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span, .tags a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--off); border: 1px solid var(--line); color: var(--navy); font-weight: 500; }
.tags a { transition: border-color .2s, color .2s, background .2s; }
.tags a:hover { border-color: var(--primary); color: var(--primary); background: var(--white); }
.stretch { color: inherit; }
.stretch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.stretch:hover { color: var(--primary); }

.form-card form[data-type="quote"] .field--schedule { display: none; }

/* ---------- 21. CTA banner (master prompt 4.9) ---------- */
.cta-band { position: relative; overflow: hidden; padding: 96px 0; background: var(--primary); color: rgba(255, 255, 255, .88); }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-band::after { content: ''; position: absolute; width: 460px; height: 460px; right: -90px; top: 50%; transform: translateY(-50%); background: url('../img/logo-mark-white.webp') center / contain no-repeat; opacity: .09; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 48px; align-items: center; }
.cta-band .eyebrow { color: var(--lime); }
.cta-band h2 { margin-top: 14px; color: var(--white); font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
.cta-band p { margin-top: 16px; max-width: 640px; font-size: 17px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1080px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .cta-band { padding: 72px 0; }
  .cta-band__actions .btn { flex: 1 1 100%; }
}
