/* =========================================================================
   Báo Tech — giao diện chính (phong cách sáng, tối giản)
   Nền trắng, chữ xanh than (navy), điểm nhấn xanh lá lấy từ logo.
   Phần tối (thanh trên cùng, khối kêu gọi, chân trang) dùng xanh than đậm.
   ========================================================================= */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f2f5f9;
  --border: #e3e8ef;
  --border-strong: #cdd5e1;
  --text: #0f1c2e;
  --text-muted: #5a6577;
  --navy: #0b1d36;
  --navy-2: #13294a;
  --navy-text: #c4cedc;
  --accent: #257d00;          /* xanh lá đậm: chữ, link, nút (đủ tương phản trên nền trắng) */
  --accent-hover: #1d6600;
  --accent-bright: #8ee010;   /* xanh chanh: chỉ dùng trên nền tối */
  --accent-soft: #edf7e4;
  --accent-ring: rgba(37, 125, 0, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 46, .05), 0 1px 3px rgba(15, 28, 46, .05);
  --shadow: 0 14px 34px -14px rgba(15, 28, 46, .16), 0 2px 6px -2px rgba(15, 28, 46, .05);
  --shadow-lg: 0 34px 70px -28px rgba(15, 28, 46, .32);
  --container: 1200px;
  --header-h: 72px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* tên cũ, giữ để các file khác không vỡ */
  --lime: var(--accent);
  --lime-soft: var(--accent-soft);
  --green: var(--accent);
  --green-600: var(--accent);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.015em; color: var(--text); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 125, 0, .55); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow .icon { width: 16px; height: 16px; }
.eyebrow--pill {
  text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px 6px 8px; box-shadow: var(--shadow-sm);
}
.eyebrow--pill .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: var(--navy-text); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent-bright); }
.topbar a { color: var(--navy-text); }
.topbar a:hover { color: #fff; }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------- Header ---------- */
/* Nền mờ đặt ở ::before: backdrop-filter trên chính header sẽ "nhốt" menu position:fixed trên điện thoại */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid var(--border); transition: box-shadow .2s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(15, 28, 46, .18); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__logo { width: 52px; height: 52px; object-fit: contain; }
.brand__name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.brand__name span { color: var(--accent); margin-left: 2px; }
.brand__name small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--text-muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { display: block; white-space: nowrap; color: var(--text-muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color .15s ease, background-color .15s ease; }
.site-nav .menu a:hover { color: var(--text); background: var(--surface-2); }

.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--border-strong); color: var(--text);
  width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 16px 20px 40px; background: #fff; border-top: 1px solid var(--border);
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  }
  .admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
  .site-nav.is-open { transform: none; }
  .site-nav .menu { flex-direction: column; gap: 0; }
  .site-nav .menu a { padding: 15px 4px; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--border); border-radius: 0; }
  .site-nav .menu a:hover { background: none; }
  .site-nav__cta { align-self: stretch; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 96px; background: linear-gradient(180deg, #f3f7fc 0%, #fff 100%); }
.hero__glow {
  position: absolute; inset: -30% -20% auto auto; width: 75%; height: 130%; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(142, 224, 16, .16), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(21, 84, 209, .10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 75% 35%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 35%, #000 10%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { text-wrap: balance; font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 20px; }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-muted); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 32px 0 0; color: var(--text-muted); font-size: 14px; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--accent); width: 18px; height: 18px; }

.hero__visual { position: relative; }

/* Ảnh ghép sản phẩm ở hero: trình duyệt + phần mềm tính tiền + tin nhắn bot */
.showcase { position: relative; padding: 0 0 56px 0; }
.showcase__browser {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg); margin-left: 8%;
}
.showcase__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.showcase__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d3dae5; }
.showcase__bar em { margin-left: 10px; flex: 1; font-style: normal; font-size: 12px; color: var(--text-muted); background: #fff; border: 1px solid var(--border); padding: 3px 10px; border-radius: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.showcase__shot { aspect-ratio: 16 / 10; overflow: hidden; }
.showcase__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.showcase__pos {
  position: absolute; left: 0; bottom: 0; width: 46%; min-width: 210px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-lg);
  font-size: 13px;
}
.showcase__pos header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; }
.showcase__pos header small { font-weight: 500; color: var(--text-muted); }
.showcase__pos ul { list-style: none; margin: 0; padding: 0; }
.showcase__pos li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border); color: var(--text-muted); }
.showcase__pos li b { color: var(--text); font-weight: 600; }
.showcase__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-weight: 600; }
.showcase__total strong { font-size: 20px; color: var(--accent); }
.showcase__paid { margin-top: 10px; display: flex; align-items: center; gap: 6px; justify-content: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; border-radius: 8px; padding: 7px; }
.showcase__paid .icon { width: 16px; height: 16px; }

.showcase__chat {
  position: absolute; right: -4%; bottom: 14%; max-width: 270px; display: flex; gap: 10px; align-items: flex-end;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.45;
}
.showcase__chat > span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0068ff; color: #fff; font-size: 10px; font-weight: 800; }
.showcase__chat small { display: block; color: var(--text-muted); font-size: 11px; margin-bottom: 2px; }

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .showcase { max-width: 560px; margin: 0 auto; }
  .showcase__chat { right: 0; }
}
@media (max-width: 520px) {
  .showcase { padding-bottom: 120px; }
  .showcase__browser { margin-left: 0; }
  .showcase__pos { width: 72%; min-width: 0; padding: 12px; font-size: 12px; }
  .showcase__total strong { font-size: 17px; }
  .showcase__chat { display: none; }
}

/* ---------- Dải khách hàng & cam kết ---------- */
.trust { border-block: 1px solid var(--border); background: #fff; }
.trust__inner { display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.trust__label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.trust__list { display: flex; flex-wrap: wrap; gap: 12px 36px; list-style: none; margin: 0; padding: 0; }
.trust__list li { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: #7d8899; }

.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 960px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise .service__icon { width: 44px; height: 44px; margin: 0; flex: none; }
.promise .service__icon .icon { width: 22px; height: 22px; }
.promise h3 { font-size: 16px; margin-bottom: 4px; }
.promise p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section--slim { padding: 56px 0; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.section__lead { color: var(--text-muted); font-size: 17px; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section--slim { padding: 40px 0; } .section__head { margin-bottom: 32px; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--border-strong); }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.service { display: flex; flex-direction: column; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service p { color: var(--text-muted); font-size: 15px; }
.service__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--accent-soft); color: var(--accent);
}
.service__icon .icon { width: 26px; height: 26px; }
.service__title { font-size: 19px; }
.service .link-arrow { margin-top: auto; padding-top: 8px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; }
.tags li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); color: var(--text-muted); }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .projects { grid-template-columns: 1fr; } }
.project { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.project:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); }
.project__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.project:hover .project__media img { transform: scale(1.03); }
.project__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project__body p { color: var(--text-muted); font-size: 15px; }
.project__type { color: var(--accent) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.project__title { font-size: 21px; }
.project .link-arrow { margin-top: auto; color: var(--accent); }
.project:hover .link-arrow .icon { transform: translateX(3px); }

/* Ảnh bìa minh họa cho dự án chỉ có màn hình đăng nhập */
.cover { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.cover--sales { background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, .18) 0 18%, transparent 19%), radial-gradient(circle at 92% 95%, rgba(255, 255, 255, .14) 0 16%, transparent 17%), linear-gradient(135deg, #0a5be0, #2d8cff); }
.cover__panel { width: 46%; min-width: 180px; background: #fff; border-radius: 16px; padding: 18px; display: grid; gap: 9px; justify-items: center; box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .45); }
.cover__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: italic 700 14px Georgia, serif; color: #2b2109; background: linear-gradient(135deg, #e9c46a, #b8862b); }
.cover__line { width: 100%; height: 12px; border-radius: 6px; background: #eef1f6; }
.cover__line--w60 { width: 60%; height: 10px; background: #dfe5ee; }
.cover__btn { width: 100%; text-align: center; padding: 7px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 700; background: linear-gradient(90deg, #0a5be0, #2d8cff); }
@media (max-width: 600px) { .cover__panel { padding: 14px; gap: 7px; translate: 0 -10%; } }
.cover__float { position: absolute; right: 5%; bottom: 6%; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #10233f; font-size: 12px; font-weight: 700; padding: 8px 12px; border-radius: 999px; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .4); }
.cover__float .icon { width: 16px; height: 16px; color: #0a5be0; }

.cover--zalo { background: linear-gradient(160deg, #0f766e, #134e4a); align-content: center; gap: 14px; padding: 0 9%; }
.cover__chat { display: flex; align-items: flex-end; gap: 10px; width: 100%; }
.cover__chat--2 { padding-left: 10%; }
.cover__bot { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #0068ff; color: #fff; font-size: 11px; font-weight: 800; }
.cover__bubble { background: #fff; color: #10302d; font-size: 13px; line-height: 1.45; padding: 11px 14px; border-radius: 16px 16px 16px 4px; box-shadow: 0 12px 25px -10px rgba(0, 0, 0, .4); }
@media (max-width: 420px) { .cover__bubble { font-size: 12px; padding: 9px 12px; } }

/* ---------- POS ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; padding: 2px; border-radius: 50%; background: var(--accent-soft); }
.checklist--sm { gap: 10px; font-size: 15px; margin-bottom: 28px; }

.pos-mock {
  position: relative; background: #fff; color: var(--text); border-radius: 18px; padding: 0 0 20px;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  max-width: 480px; justify-self: center; width: 100%;
}
.pos-mock__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); border-radius: 18px 18px 0 0; }
.pos-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3dae5; }
.pos-mock__bar strong { margin-left: auto; font-size: 13px; color: var(--text-muted); }
.pos-mock__body { padding: 18px 20px 0; }
.pos-mock__menu { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pos-mock__menu button {
  border: 1px solid var(--border); background: #fff; color: var(--text-muted); border-radius: 8px; padding: 6px 14px;
  font: 600 13px var(--font); pointer-events: none;
}
.pos-mock__menu .is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pos-mock__items { list-style: none; padding: 0; margin: 0; }
.pos-mock__items li { display: grid; grid-template-columns: 1fr auto 80px; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.pos-mock__items em { font-style: normal; color: var(--text-muted); }
.pos-mock__items b { text-align: right; font-weight: 600; }
.pos-mock__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; }
.pos-mock__total strong { font-size: 26px; font-weight: 800; color: var(--accent); }
.pos-mock__pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pos-mock__pay span { text-align: center; padding: 12px; border-radius: 10px; border: 1px solid var(--border); font-weight: 600; font-size: 14px; }
.pos-mock__pay .is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pos-mock__stat {
  position: absolute; left: -28px; bottom: -28px; display: flex; gap: 12px; align-items: center;
  background: var(--navy); color: #fff; border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow-lg);
}
.pos-mock__stat .icon { color: var(--accent-bright); width: 28px; height: 28px; }
.pos-mock__stat small { display: block; color: var(--navy-text); font-size: 12px; }
.pos-mock__stat strong { font-size: 18px; }
@media (max-width: 600px) {
  .pos-mock__stat { position: static; margin: 16px 16px -4px; }
  .pos-mock__items li { font-size: 14px; grid-template-columns: 1fr auto 70px; }
}

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; }
.plan .btn { margin-top: auto; }
.plan--featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan__badge {
  position: absolute; top: -13px; left: 32px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.plan__name { font-size: 20px; margin-bottom: 4px; }
.plan__note { color: var(--text-muted); font-size: 14px; }
.plan__price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 24px; }
.plan__price small { font-size: 14px; font-weight: 500; color: var(--text-muted); }

/* ---------- Tools ---------- */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tools { grid-template-columns: 1fr; } }
.tool { color: var(--text); display: flex; flex-direction: column; }
a.tool:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); }
.tool p { color: var(--text-muted); font-size: 15px; }
.tool__thumb { border-radius: var(--radius-sm); overflow: hidden; margin: -12px -12px 18px; background: var(--surface-2); }
.tool__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tool__title { font-size: 17px; }
.tool__price { color: var(--accent); font-weight: 700; margin: 0; }
.tool__badge { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--text-muted); border: 1px dashed var(--border-strong); padding: 4px 10px; border-radius: 999px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.step p { color: var(--text-muted); font-size: 15px; margin: 0; }
.step__num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; margin-bottom: 18px;
  font-size: 15px; font-weight: 800; color: #fff; background: var(--navy);
}
.step__title { font-size: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 600; font-size: 17px; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { color: var(--text-muted); padding-bottom: 20px; margin: 0; }

/* ---------- CTA (khối nền tối) ---------- */
.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 56px; border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(90% 140% at 100% 0%, rgba(142, 224, 16, .22), transparent 55%), var(--navy);
  color: #fff;
}
.cta .section__title { color: #fff; }
.cta__copy { max-width: 560px; }
.cta__copy .section__lead { margin: 0; color: var(--navy-text); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--primary { background: var(--accent-bright); color: var(--navy); box-shadow: none; }
.cta .btn--primary:hover { background: #a3ec3a; color: var(--navy); }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.cta .btn--ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 700px) { .cta { padding: 32px 24px; } .cta__actions .btn { flex: 1 1 100%; } }

.admin-hint { font-size: 13px; color: #8a5a00; background: #fff8e6; border: 1px dashed #e0b44c; border-radius: 10px; padding: 10px 14px; margin: 0; max-width: 420px; }
.admin-hint a { color: #8a5a00; text-decoration: underline; }

/* ---------- Footer (nền tối) ---------- */
.site-footer { background: var(--navy); color: var(--navy-text); padding: 72px 0 0; }
.site-footer .brand,
.site-footer .brand:hover { color: #fff; }
.site-footer .brand__name span { color: var(--accent-bright); }
.site-footer .brand__name small { color: var(--navy-text); }
.site-footer .brand__logo { background: #fff; border-radius: 12px; padding: 3px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer__brand p { max-width: 340px; margin-top: 16px; font-size: 15px; }
.site-footer__title { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 18px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 15px; }
.site-footer__list a { color: var(--navy-text); }
.site-footer__list a:hover { color: #fff; }
.site-footer__contact li { display: flex; align-items: center; gap: 10px; }
.site-footer__contact .icon { color: var(--accent-bright); width: 18px; height: 18px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding-top: 22px; padding-bottom: 26px; font-size: 14px; }
.site-footer__bottom p { margin: 0; }

/* ---------- Floating contact ---------- */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-contact__btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; box-shadow: 0 10px 26px -8px rgba(15, 28, 46, .45);
  transition: transform .15s ease;
}
.float-contact__btn:hover { transform: scale(1.06); }
.float-contact__btn--zalo { background: #0068ff; color: #fff; }
.float-contact__btn--zalo:hover { color: #fff; }
.float-contact__btn--phone { background: var(--accent); color: #fff; position: relative; }
.float-contact__btn--phone:hover { color: #fff; }
.float-contact__btn--phone .icon { width: 24px; height: 24px; }
.float-contact__btn--phone::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
  animation: ring 2s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .float-contact__btn--phone::after { animation: none; display: none; } }

/* ---------- Inner pages ---------- */
.page-shell { padding: 56px 0 96px; min-height: 60vh; }
.page-head { margin-bottom: 32px; }
.page-head__title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.page-head__meta { color: var(--text-muted); font-size: 14px; }
.entry__thumb { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.entry__content { font-size: 17px; }
.entry__content a { text-decoration: underline; }
.entry__content h2 { font-size: 28px; margin-top: 1.6em; }
.entry__content h3 { font-size: 22px; margin-top: 1.4em; }
.entry__content img { border-radius: var(--radius-sm); }
.entry__content blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 3px solid var(--accent); color: var(--text-muted); }
.entry-card { margin-bottom: 16px; }
.entry-card__title { font-size: 22px; }
.entry-card__title a { color: var(--text); }
.not-found { text-align: center; padding: 64px 20px; }

/* ---------- WooCommerce ---------- */
.woocommerce .woocommerce-breadcrumb { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--text-muted); }
.woocommerce-products-header__title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.woocommerce ul.products li.product {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: left; box-shadow: var(--shadow-sm);
}
.woocommerce ul.products li.product a img { border-radius: var(--radius-sm); margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--text); font-size: 17px; }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--accent); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--accent); color: #fff; border-radius: 10px; font-family: var(--font); font-weight: 600; padding: 12px 22px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--accent-hover); color: #fff; }
.woocommerce span.onsale { background: var(--accent); }
.woocommerce .quantity .qty, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-page select {
  background: #fff; color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--surface-2); border-color: var(--border); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--text); }
.woocommerce table.shop_table { border-color: var(--border); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--border); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { background: var(--surface-2); color: var(--text); border-top-color: var(--accent); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--accent); }

/* ---------- Reveal ---------- */
/* dùng `translate` (không phải transform) để không đè hiệu ứng hover của thẻ */
.reveal { opacity: 0; translate: 0 16px; transition: opacity .6s ease, translate .6s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- Số liệu ---------- */
.stats { background: var(--navy); color: #fff; padding: 44px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
@media (max-width: 800px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.stats__item { display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; padding-left: 18px; border-left: 2px solid rgba(142, 224, 16, .5); }
.stats__item dd { order: -1; margin: 0; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
.stats__item dt { font-size: 14px; color: var(--navy-text); }
.stats .sample-hint { margin-bottom: 20px; }

/* ---------- Ý kiến khách hàng ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }
.quote { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quote__stars { color: #f5a524; letter-spacing: 2px; font-size: 17px; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { margin: 0; font-size: 16px; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.quote figcaption strong { display: block; font-size: 15px; }
.quote figcaption small { color: var(--text-muted); font-size: 13px; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), #1554d1); }
.section__head--center .sample-hint { margin: 16px auto 0; }

/* ---------- Kết quả từ dự án thật ---------- */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .results { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .results { grid-template-columns: 1fr; } }
.result { display: flex; flex-direction: column; padding: 24px; }
.result__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.result__head .service__icon { width: 46px; height: 46px; margin: 0; flex: none; }
.result__head .service__icon .icon { width: 22px; height: 22px; }
.result__name { font-size: 17px; margin: 0 0 2px; }
.result__meta { font-size: 13px; color: var(--text-muted); margin: 0; }
.result__text { font-size: 15px; color: var(--text-muted); }
.result__list { margin-bottom: 20px; }
.result__links { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; }
.result__live { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text); }
.result__live:hover { color: var(--accent); }
.result__live .icon { width: 15px; height: 15px; }
.result__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
