/* Thu Mua Tận Nơi – giao diện chính thức (anh Quang chốt 02/12/2026)
   Bản chính thức: CSS này được nhúng thẳng vào từng trang lúc build,
   font Be Vietnam Pro tự host thay cho Google Fonts. */

@view-transition { navigation: auto; }

:root {
  --ink: #0E1B18;
  --text: #2F3E3A;
  --muted: #5B6B67;
  --line: #E3EAE7;
  --line-2: #CFDDD7;
  --bg: #FFFFFF;
  --bg-alt: #F5F8F6;
  --mint: #ECF8F2;
  --mint-2: #D3F1E3;
  --g-500: #10B981;
  --g-600: #059669;
  --g-700: #047857;
  --g-800: #065F46;
  --g-900: #064E3B;
  --amber: #F59E0B;
  --amber-hover: #FBB324;
  --amber-300: #FCD34D;
  --amber-50: #FFF8E6;
  --on-amber: #111827;
  --zalo: #0068FF;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-sm: 0 1px 2px rgb(14 27 24 / .06), 0 1px 3px rgb(14 27 24 / .04);
  --sh: 0 14px 34px -16px rgb(14 27 24 / .24), 0 2px 6px rgb(14 27 24 / .05);
  --sh-lg: 0 40px 80px -30px rgb(6 78 59 / .38), 0 12px 28px -14px rgb(14 27 24 / .14);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 32px);
  interpolate-size: allow-keywords;
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--g-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.sm { width: 1em; height: 1em; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Dải báo "bản mẫu" và chỗ chờ dữ liệu thật */
.proto { background: var(--ink); color: #CDEBDD; font-size: 13px; text-align: center; padding: 7px 14px; line-height: 1.45; }
.proto b { color: var(--amber-300); font-weight: 700; }
.tbd {
  display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; vertical-align: 1px;
  border: 1px dashed #D97706; border-radius: 999px; background: var(--amber-50);
  color: #92400E; font-size: .78em; font-weight: 600; line-height: 1.6; white-space: nowrap;
}

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent;
  font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--amber); color: var(--on-amber); box-shadow: 0 12px 26px -12px rgb(217 119 6 / .9), inset 0 -2px 0 rgb(0 0 0 / .12); }
.btn-accent:hover { background: var(--amber-hover); box-shadow: 0 16px 30px -12px rgb(217 119 6 / .95), inset 0 -2px 0 rgb(0 0 0 / .12); }
.btn-primary { background: var(--g-700); color: #fff; box-shadow: inset 0 -2px 0 rgb(0 0 0 / .15); }
.btn-primary:hover { background: var(--g-800); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--g-600); color: var(--g-700); }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-zalo:hover { background: #0057D6; }
.btn-light { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .28); }
.btn-light:hover { background: rgb(255 255 255 / .16); }
.zalo-badge { display: inline-grid; place-items: center; height: 22px; padding: 0 7px; border-radius: 7px; background: #fff; color: var(--zalo); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }

/* ---------- Đầu trang ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 24px -20px rgb(14 27 24 / .5); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--g-500), var(--g-800) 70%);
  box-shadow: 0 8px 18px -8px rgb(4 120 87 / .7), inset 0 -2px 0 rgb(0 0 0 / .15);
}
.brand-mark .icon { width: 24px; height: 24px; stroke-width: 2.1; }
.brand-name { display: block; font-weight: 800; font-size: 19px; letter-spacing: -.025em; line-height: 1.1; }
.brand-name span { color: var(--g-700); }
.brand-sub { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu-link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 13px; border-radius: 11px;
  background: none; border: 0; cursor: pointer; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.menu-link[aria-current="page"] { color: var(--g-700); }
.menu-link:hover, .dd:focus-within > .menu-link, .dd:hover > .menu-link { background: var(--bg-alt); color: var(--g-700); }
.menu-link .icon { transition: transform .2s; }
.dd { position: relative; }
.dd:hover > .menu-link .icon, .dd:focus-within > .menu-link .icon { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: -120px; width: 760px;
  display: grid; grid-template-columns: 1fr 230px; gap: 14px; padding: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd:hover .mega, .dd:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-grid a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 13px; text-decoration: none; color: var(--ink); }
.mega-grid a:hover { background: var(--bg-alt); }
.mega-grid b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.mega-grid small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.mi { width: 40px; height: 40px; border-radius: 11px; background: var(--mint); color: var(--g-700); display: grid; place-items: center; flex: none; }
.mega-promo {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(160deg, var(--g-900), var(--g-700)); color: #CFEFE1;
}
.mega-promo .kicker { color: var(--amber-300); margin: 0; }
.mega-promo b { color: #fff; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.mega-promo small { font-size: 13.5px; line-height: 1.45; }
.mega-promo .more { margin-top: auto; font-weight: 700; color: #fff; font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.call-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.call-link .ci { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--g-700); display: grid; place-items: center; }
.call-link small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; line-height: 1.2; }
.call-link b { display: block; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.25; }
.icon-btn { display: none; width: 46px; height: 46px; border-radius: 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; cursor: pointer; }
.icon-btn .icon { width: 22px; height: 22px; }

/* Menu điện thoại (popover gốc của trình duyệt, không cần JS) */
#mnav {
  margin: 0; inset: 0 0 0 auto; width: min(88vw, 380px); height: 100dvh; max-height: none;
  border: 0; padding: 22px; background: #fff; box-shadow: var(--sh-lg); overflow-y: auto;
}
#mnav::backdrop { background: rgb(14 27 24 / .45); }
.mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mnav-list { list-style: none; padding: 0; display: grid; gap: 2px; }
.mnav-list a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mnav-list a:hover { background: var(--bg-alt); }
.mnav-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 10px 6px; }
.mnav-cta { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 64px 0 88px;
  background:
    radial-gradient(900px 520px at 88% -8%, #CDF3E1 0%, transparent 62%),
    radial-gradient(640px 420px at -8% 18%, #FEF0C7 0%, transparent 58%),
    linear-gradient(#fff, #F6FBF8);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(6 95 70 / .13) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%); mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.16fr .84fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px 6px 6px; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--sh-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35;
}
.eyebrow .dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g-700); color: #fff; flex: none; }
.hero h1 { font-size: clamp(2.3rem, 1.25rem + 3.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.038em; margin: 22px 0 20px; }
.hl { position: relative; isolation: isolate; color: var(--g-700); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -3%; right: -3%; bottom: -.06em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14C45 5 90 4 128 9s58 7 69-3' fill='none' stroke='%23F59E0B' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.lead { font-size: clamp(1.06rem, .98rem + .38vw, 1.24rem); color: var(--muted); max-width: 54ch; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 30px; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; padding: 0; max-width: 560px; }
.trust li { display: flex; gap: 11px; align-items: center; font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.35; }
.tick { width: 26px; height: 26px; border-radius: 8px; background: var(--mint-2); color: var(--g-800); display: grid; place-items: center; flex: none; }
.tick .icon { stroke-width: 2.6; }

/* Thẻ báo giá nhanh */
.quote-wrap { position: relative; }
.quote-wrap::before {
  content: ""; position: absolute; inset: 8% -6% -6% 10%; border-radius: 40px; z-index: 0;
  background: linear-gradient(140deg, rgb(16 185 129 / .22), rgb(245 158 11 / .18)); filter: blur(36px);
}
.quote-card {
  position: relative; z-index: 1; display: grid; gap: 18px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--sh-lg);
}
.qc-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.qc-head h2 { font-size: 23px; margin: 0 0 4px; letter-spacing: -.025em; }
.qc-head p { margin: 0; font-size: 14px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--mint); color: var(--g-800); font-size: 13px; font-weight: 700; white-space: nowrap; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--g-500); box-shadow: 0 0 0 0 rgb(16 185 129 / .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(16 185 129 / 0); } 100% { box-shadow: 0 0 0 0 rgb(16 185 129 / 0); } }
.chips { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chips legend, .flabel { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; padding: 0; }
.chip { position: relative; display: block; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%;
  padding: 12px 4px 10px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff;
  font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.25; cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.chip span .icon { width: 24px; height: 24px; color: var(--g-700); }
.chip:hover span { border-color: var(--line-2); }
.chip input:checked + span { border-color: var(--g-600); background: var(--mint); box-shadow: 0 0 0 3px rgb(16 185 129 / .16); }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.chip.wide { grid-column: 1 / -1; }
.chip.wide span { flex-direction: row; gap: 10px; padding: 13px; font-size: 14px; background: linear-gradient(90deg, var(--amber-50), #fff 80%); border-color: #F7D88A; }
.chip.wide span em { font-style: normal; font-weight: 500; color: var(--muted); }
.drop {
  display: flex; align-items: center; gap: 14px; padding: 14px; cursor: pointer;
  border: 1.5px dashed #9ED3BC; border-radius: 15px; background: #F7FCF9; transition: border-color .15s, background-color .15s;
}
.drop:hover { border-color: var(--g-600); background: var(--mint); }
.drop .di { width: 46px; height: 46px; border-radius: 13px; background: #fff; color: var(--g-700); display: grid; place-items: center; box-shadow: var(--sh-sm); flex: none; }
.drop b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.drop small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.thumbs:empty { display: none; }
.thumbs img { width: 46px; height: 46px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.input {
  width: 100%; height: 52px; padding: 0 15px; border: 1.5px solid var(--line-2); border-radius: 13px;
  background: #fff; color: var(--ink); font: 500 16px var(--font); transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #94A39E; }
.input:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 4px rgb(16 185 129 / .16); }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B67' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 40px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--g-700); flex: none; }
.qc-alt { margin: -4px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.qc-alt a { color: var(--zalo); font-weight: 700; text-decoration: none; }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 11px 15px 11px 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh);
  font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; animation: bob 7s ease-in-out infinite;
}
.float small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.float .fi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-1 { top: -50px; left: -54px; }
.float-1 .fi { background: var(--mint); color: var(--g-700); }
.float-2 { bottom: -28px; right: -30px; animation-delay: -3.5s; }
.float-2 .fi { background: var(--amber-50); color: #B45309; }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* Dải hãng */
.brands { border-block: 1px solid var(--line); background: #fff; }
.brands .wrap { display: flex; align-items: center; gap: 32px; padding-block: 22px; }
.brands p { margin: 0; flex: none; font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.brands ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; flex: 1; }
.brands li { font-weight: 800; font-size: 16px; letter-spacing: .02em; color: #A3B3AE; }

/* ---------- Khối nội dung chung ---------- */
.section { padding: clamp(68px, 8vw, 116px) 0; }
.section.alt { background: var(--bg-alt); }
.section.tight { padding-top: clamp(40px, 5vw, 64px); }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--g-700); margin-bottom: 14px; }
.sec-head h2, .h2 { font-size: clamp(1.8rem, 1.15rem + 2.1vw, 2.85rem); letter-spacing: -.03em; line-height: 1.12; }
.sec-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* Hai nhóm khách */
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; }
.seg {
  position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 44px); overflow: hidden;
  border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
}
.seg.biz { background: linear-gradient(155deg, #053B2E, var(--g-700) 120%); color: #CBEBDD; border: 0; box-shadow: var(--sh-lg); }
.seg.biz h3 { color: #fff; }
.seg-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--mint); color: var(--g-800); margin-bottom: 18px; }
.seg.biz .seg-tag { background: rgb(252 211 77 / .16); color: var(--amber-300); }
.seg h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -.03em; }
.seg > p { font-size: 1.05rem; max-width: 46ch; }
.seg ul { list-style: none; padding: 0; margin: 6px 0 32px; display: grid; gap: 13px; }
.seg li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; line-height: 1.45; }
.seg li .icon { color: var(--g-600); margin-top: 1px; stroke-width: 2.4; }
.seg.biz li { color: #E7F6EF; }
.seg.biz li .icon { color: var(--amber-300); }
.seg .btn { margin-top: auto; align-self: flex-start; }
.seg-art { position: absolute; right: -36px; bottom: -40px; width: 230px; height: 230px; color: currentColor; opacity: .08; pointer-events: none; }
.seg-art .icon { width: 100%; height: 100%; stroke-width: 1; }

/* Lưới thiết bị */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dev {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dev:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: #B9E2CF; }
.dev .ic { width: 54px; height: 54px; border-radius: 15px; background: var(--mint); color: var(--g-700); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.dev:hover .ic { background: var(--g-700); color: #fff; }
.dev .ic .icon { width: 28px; height: 28px; }
.dev h3 { font-size: 17.5px; margin: 0; letter-spacing: -.015em; }
.dev p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.dev .go { position: absolute; top: 26px; right: 22px; color: #A9BDB6; transition: transform .2s, color .2s; }
.dev:hover .go { color: var(--g-700); transform: translateX(3px); }
.dev .badge { position: absolute; top: -11px; left: 20px; padding: 3px 11px; border-radius: 999px; background: var(--amber); color: var(--on-amber); font-size: 12px; font-weight: 800; }
.dev.hot { border-color: #F3D98F; background: linear-gradient(180deg, #FFFCF2, #fff 60%); }

/* Dải doanh nghiệp (nền tối) */
.band {
  position: relative; overflow: hidden; color: #BFE3D3;
  background:
    radial-gradient(760px 420px at 92% 8%, rgb(16 185 129 / .32), transparent 62%),
    radial-gradient(520px 360px at 0% 100%, rgb(245 158 11 / .14), transparent 60%),
    linear-gradient(160deg, #04251D, #053B2E 50%, #065F46);
}
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%);
}
.band .wrap { position: relative; }
.band h2 { color: #fff; }
.band .kicker { color: var(--amber-300); }
.band-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.band .lead { color: #BFE3D3; }
.steps-mini { counter-reset: s; list-style: none; padding: 0; margin: 30px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.steps-mini li { counter-increment: s; display: flex; gap: 13px; align-items: flex-start; color: #E6F6EE; font-weight: 500; line-height: 1.45; }
.steps-mini li::before {
  content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .2); color: var(--amber-300); font-weight: 800; font-size: 14px;
}
.steps-mini b { color: #fff; display: block; }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bộ hồ sơ bàn giao */
.docs { position: relative; height: 470px; }
.docs-title { position: absolute; top: -6px; right: 0; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 14px; }
.doc {
  position: absolute; width: min(340px, 86%); padding: 18px 20px 22px; border-radius: 18px;
  background: #fff; color: var(--text); box-shadow: 0 30px 50px -24px rgb(0 0 0 / .55), 0 2px 0 rgb(0 0 0 / .04);
}
.doc-top { display: flex; gap: 12px; align-items: center; }
.doc .dico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--g-700); flex: none; }
.doc h4 { font-size: 15.5px; margin: 0; letter-spacing: -.01em; }
.doc small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.doc .okc { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--g-700); color: #fff; display: grid; place-items: center; flex: none; }
.doc .okc .icon { stroke-width: 2.8; width: 16px; height: 16px; }
.doc .ln { height: 8px; border-radius: 5px; background: #E9F0ED; margin-top: 12px; }
.doc .ln.s { width: 62%; }
.doc .ln.m { width: 82%; }
.doc-1 { top: 26px; left: 2%; transform: rotate(-5deg); }
.doc-2 { top: 128px; left: 16%; transform: rotate(2.5deg); }
.doc-3 { top: 230px; left: 4%; transform: rotate(-2deg); }
.doc-4 { top: 332px; left: 18%; transform: rotate(3.5deg); }
.doc-4 .dico { background: var(--amber-50); color: #B45309; }

/* Quy trình 4 bước */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; }
.process::before { content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; border-top: 2px dashed #B7DCCB; }
.pstep { position: relative; text-align: center; padding: 0 6px; }
.pnum {
  position: relative; z-index: 1; width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 22px;
  display: grid; place-items: center; background: #fff; color: var(--g-700); border: 1px solid var(--line); box-shadow: var(--sh);
}
.pnum .icon { width: 32px; height: 32px; }
.pnum b { position: absolute; top: -9px; right: -9px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--on-amber); font-size: 13.5px; font-weight: 800; box-shadow: 0 0 0 4px var(--bg-alt); }
.pstep h3 { font-size: 18.5px; margin-bottom: 8px; }
.pstep p { font-size: 15px; color: var(--muted); margin: 0 auto; max-width: 26ch; }

/* 6 câu nên hỏi */
.ask-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.ask-side { position: sticky; top: 112px; }
.ask-side .lead { margin-bottom: 26px; }
.entity { padding: 22px; border-radius: 20px; background: var(--mint); border: 1px solid #C9EBDB; }
.entity .row { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: var(--ink); font-size: 15px; line-height: 1.45; }
.entity .row + .row { border-top: 1px solid #CDEBDD; }
.entity .row .icon { color: var(--g-700); margin-top: 2px; }
.entity small { display: block; color: var(--muted); font-size: 12.5px; }
.ask-list { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: q; }
.ask {
  counter-increment: q; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .2s, border-color .2s;
}
.ask:hover { box-shadow: var(--sh); border-color: #C8E6D8; }
.ask::before { content: "0" counter(q); font-weight: 800; font-size: 15px; color: #9FB8AF; letter-spacing: .02em; }
.ask strong { display: block; color: var(--ink); font-weight: 700; line-height: 1.4; font-size: 16px; }
.ask small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 3px; }
.yes { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--g-700); color: #fff; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.yes .icon { stroke-width: 3; width: 15px; height: 15px; }

/* Ảnh thật */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.ph { position: relative; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(140deg, #E3F4EB, #F6FBF8); }
.ph.big { grid-column: span 2; grid-row: span 2; }
.ph.v2 { background: linear-gradient(140deg, #FFF3D6, #FFFBF0); }
.ph.v3 { background: linear-gradient(140deg, #E6EEF7, #F7FAFD); }
.ph .art { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(4 120 87 / .28); }
.ph.v2 .art { color: rgb(180 83 9 / .28); }
.ph.v3 .art { color: rgb(30 64 120 / .25); }
.ph .art .icon { width: 64px; height: 64px; stroke-width: 1.1; }
.ph.big .art .icon { width: 110px; height: 110px; }
.ph .cap, .svc-photo .cap { position: relative; display: flex; gap: 9px; align-items: center; padding: 9px 13px; border-radius: 12px; background: rgb(255 255 255 / .92); backdrop-filter: blur(6px); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.35; box-shadow: var(--sh-sm); }
.ph .cap .icon, .svc-photo .cap .icon { color: var(--g-700); }
.ph .want { position: absolute; top: 14px; left: 14px; }

/* Khu vực */
.area-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.area-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .15s, color .15s; }
.area-chips a:hover { border-color: var(--g-600); color: var(--g-700); }
.area-chips .icon { color: var(--g-600); }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #E8F5EE; box-shadow: var(--sh); }
.map svg { width: 100%; height: 100%; }
.map-card { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); box-shadow: var(--sh); }
.map-card .mi { background: var(--g-700); color: #fff; }
.map-card b { display: block; color: var(--ink); font-size: 15px; line-height: 1.35; }
.map-card small { display: block; color: var(--muted); font-size: 13px; }
.map-card a { margin-left: auto; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.pin-pulse { transform-origin: 200px 136px; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* Bài kiến thức */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, #DDF3E8, #F5FBF8); color: var(--g-700); }
.cover.c2 { background: linear-gradient(140deg, #FFF0CC, #FFFAEE); color: #B45309; }
.cover.c3 { background: linear-gradient(140deg, #E2ECF8, #F6F9FD); color: #1E4E8C; }
.cover .icon { width: 64px; height: 64px; stroke-width: 1.3; }
.cover .file { position: absolute; right: 18px; top: 18px; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; box-shadow: var(--sh-sm); }
.cover::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 28px solid currentColor; opacity: .06; right: -70px; bottom: -110px; }
.post .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post .cat { font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--g-700); }
.post h3 { font-size: 19px; line-height: 1.32; margin: 0; letter-spacing: -.015em; }
.post p { font-size: 14.5px; color: var(--muted); margin: 0; }
.post .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--g-700); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }

/* Câu hỏi thường gặp */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--sh); border-color: #C8E6D8; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 21px 0; cursor: pointer; color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 10px; background: var(--mint); color: var(--g-700); display: grid; place-items: center; flex: none; transition: transform .25s, background-color .2s, color .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--g-700); color: #fff; }
.faq .a { padding: 0 0 22px; color: var(--text); }
.faq .a p:last-child { margin: 0; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* Kêu gọi cuối trang */
.cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 36px; border: 1px solid #F1E2B4;
  background: radial-gradient(500px 300px at 100% 0%, #D6F3E5, transparent 70%), linear-gradient(120deg, #FFF9E8, #F2FBF6);
}
.cta h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); letter-spacing: -.03em; }
.cta p { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }
.cta-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-card { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: grid; gap: 14px; }
.contact-card .row { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.45; }
.contact-card .row .icon { color: var(--g-700); margin-top: 2px; }
.contact-card small { display: block; color: var(--muted); font-size: 12.5px; }
.contact-card a { color: var(--ink); font-weight: 700; text-decoration: none; }

/* ---------- Chân trang ---------- */
.site-footer { background: #0A1714; color: #A3BDB3; padding: 76px 0 28px; font-size: 15px; }
.site-footer a { color: #D2E6DD; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.f-brand .brand { color: #fff; margin-bottom: 18px; }
.f-brand .brand-name span { color: #6EE7B7; }
.f-brand .brand-sub { color: #8FAAA0; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 6px 0 18px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.nap { display: grid; gap: 12px; font-style: normal; }
.nap div { display: flex; gap: 11px; align-items: flex-start; line-height: 1.5; }
.nap .icon { color: #6EE7B7; margin-top: 2px; }
.f-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .09); font-size: 13.5px; }

/* Thanh liên hệ dính đáy (điện thoại) */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr 1.35fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -16px rgb(14 27 24 / .3);
}
.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 15px; font-weight: 800; font-size: 15px; text-decoration: none; }
.mbar .m-call { background: var(--g-700); color: #fff; }
.mbar .m-zalo { background: var(--zalo); color: #fff; }
.mbar .m-send { background: var(--amber); color: var(--on-amber); }

/* Hộp thông báo nhỏ (bản mẫu: form chưa gửi thật) */
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; width: min(92vw, 460px); padding: 16px 18px; border-radius: 16px; background: var(--ink); color: #E6F6EE; font-size: 14.5px; box-shadow: var(--sh-lg); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--amber-300); }

/* ---------- Trang dịch vụ ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 26px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--g-700); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #A9BDB6; }
.svc-hero { position: relative; overflow: hidden; padding: 28px 0 96px; background: radial-gradient(800px 460px at 92% 0%, #CDF3E1, transparent 62%), radial-gradient(600px 380px at -6% 30%, #FEF0C7, transparent 58%), linear-gradient(#fff, #F6FBF8); }
.svc-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgb(6 95 70 / .12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%); mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.svc-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.svc-hero h1 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; margin: 18px 0 18px; }
.svc-photo { position: relative; aspect-ratio: 5 / 4; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(150deg, #D9F1E5, #F4FBF7 70%); box-shadow: var(--sh-lg); }
.svc-photo .art { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(4 120 87 / .22); }
.svc-photo .art .icon { width: 150px; height: 150px; stroke-width: .9; }
.svc-photo .cap { position: absolute; left: 16px; bottom: 16px; }
.svc-photo .want { position: absolute; top: 16px; left: 16px; }
.svc-float { position: absolute; z-index: 2; right: -18px; top: 26px; }
.facts { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -54px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh); }
.facts > div { display: flex; gap: 13px; align-items: center; padding: 22px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts .fi { width: 44px; height: 44px; border-radius: 13px; background: var(--mint); color: var(--g-700); display: grid; place-items: center; flex: none; }
.facts b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.facts small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 60px; align-items: start; padding: 72px 0 96px; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; grid-column: 2; grid-row: 1; }
.layout > .prose { grid-column: 1; grid-row: 1; }
.aside .quote-card { padding: 24px; gap: 16px; border-radius: 24px; box-shadow: var(--sh); }
.aside-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aside-file { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); }
.aside-file .mi { background: #E7F1FB; color: #1D5FB0; }
.aside-file b { display: block; font-size: 14.5px; line-height: 1.3; }
.aside-file small { display: block; font-size: 12.5px; color: var(--muted); }
.prose > section + section { margin-top: 72px; }
.prose h2 { font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.15rem); letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.prose h2 + p { font-size: 1.07rem; color: var(--muted); }
.prose p, .prose li { font-size: 16.5px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 56px; padding: 0; list-style: none; }
.toc a { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.toc a:hover { border-color: var(--g-600); color: var(--g-700); }
.when { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.when > div { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s; }
.when > div:hover { box-shadow: var(--sh); }
.when .wi { width: 46px; height: 46px; border-radius: 13px; background: var(--mint); color: var(--g-700); display: grid; place-items: center; margin-bottom: 14px; }
.when h3 { font-size: 17.5px; margin-bottom: 6px; }
.when p { font-size: 15px; color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 20px; }
.checks li { display: flex; gap: 11px; align-items: center; padding: 13px 15px; border-radius: 14px; background: var(--bg-alt); font-weight: 600; color: var(--ink); line-height: 1.35; font-size: 15.5px; }
.checks li .icon { color: var(--g-700); }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 30px 70px; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--g-700); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 10px 20px -10px rgb(4 120 87 / .8); }
.timeline li::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: 6px; border-left: 2px dashed #B7DCCB; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 18px; margin: 9px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.timeline p { margin: 0; color: var(--muted); font-size: 15.5px; }
.pill { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: var(--mint); color: var(--g-800); font-size: 12.5px; font-weight: 700; letter-spacing: 0; }
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.docc { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.docc .dico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--mint); color: var(--g-700); flex: none; }
.docc h3 { font-size: 16.5px; margin-bottom: 4px; }
.docc p { margin: 0; font-size: 14.5px; color: var(--muted); }
.note { display: flex; gap: 13px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--amber-50); border: 1px solid #FBE3A6; color: #5E430D; font-size: 15px; line-height: 1.55; }
.note .icon { color: #B45309; margin-top: 2px; }
.note.green { background: var(--mint); border-color: #C6E9D8; color: #14503C; }
.note.green .icon { color: var(--g-700); }
.factors { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.factors li { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 16px 20px; font-size: 15.5px; }
.factors li + li { border-top: 1px solid var(--line); }
.factors b { color: var(--ink); }
.factors span { color: var(--muted); }
.gallery.small { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; margin-top: 22px; }
.prose .faq { margin: 22px 0 0; max-width: none; }

/* Hiện dần khi cuộn tới (trình duyệt không hỗ trợ thì hiện luôn) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Màn hình nhỏ hơn ---------- */
@media (max-width: 1279px) {
  .call-link span:last-child { display: none; }
}
@media (max-width: 1180px) {
  .menu-link { padding: 0 10px; font-size: 14.5px; }
  .devices { grid-template-columns: repeat(3, 1fr); }
  .float-1 { left: -18px; }
  .float-2 { right: -12px; }
  .layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 40px; }
}
@media (max-width: 1023px) {
  .menu, .nav-actions .btn, .call-link { display: none; }
  .icon-btn { display: grid; }
  .nav { height: 66px; justify-content: space-between; }
  .nav-actions { gap: 8px; }
  .mbar { display: grid; }
  body { padding-bottom: 76px; }
  .toast { bottom: 92px; }
  .hero { padding: 36px 0 64px; }
  .hero-grid, .band-grid, .ask-grid, .area-grid, .cta, .svc-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .quote-wrap { max-width: 560px; width: 100%; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
  .ask-side { position: static; }
  .docs { height: 450px; max-width: 520px; width: 100%; margin-inline: auto; }
  .posts { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .brands .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .brands ul { justify-content: flex-start; }
  .layout { grid-template-columns: 1fr; padding-top: 48px; }
  .aside, .layout > .prose { grid-column: auto; grid-row: auto; }
  .aside { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc-photo { max-width: 620px; }
  .svc-float { right: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 18px; }
  .hero-cta .btn { width: 100%; }
  .btn-lg { font-size: 16px; padding: 0 16px; }
  .trust { grid-template-columns: 1fr; }
  .quote-card { padding: 20px; border-radius: 24px; }
  .qc-head { flex-wrap: wrap; }
  .qc-head > div { flex: 1 1 210px; }
  .chip.wide span em { display: none; }
  .dev h3 { font-size: 16px; }
  .dev .ic { width: 46px; height: 46px; border-radius: 13px; }
  .dev .ic .icon { width: 24px; height: 24px; }
  .chips { gap: 6px; }
  .chip span { font-size: 11.5px; padding: 10px 2px 8px; }
  .chip span .icon { width: 22px; height: 22px; }
  .float { display: none; }
  .devices { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dev { padding: 18px 16px; }
  .dev .go { display: none; }
  .dev p { font-size: 13px; }
  .steps-mini { grid-template-columns: 1fr; }
  .docs { height: auto; display: grid; gap: 12px; padding-top: 8px; }
  .doc { position: relative; inset: auto; width: 100%; padding: 16px; }
  .doc .ln { display: none; }
  .doc-1, .doc-3 { transform: rotate(-1deg); }
  .doc-2, .doc-4 { transform: rotate(1deg); }
  .process { grid-template-columns: 1fr; }
  .ask { grid-template-columns: 1fr; gap: 10px; }
  .ask::before { display: none; }
  .yes { justify-self: start; }
  .posts { grid-template-columns: 1fr; }
  .gallery, .gallery.small { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .ph .cap { font-size: 12.5px; padding: 7px 10px; }
  .ph .cap .icon { display: none; }
  .f-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-acts .btn, .band-cta .btn { width: 100%; }
  .map-card a { display: none; }
  .row2, .when, .checks, .docs-grid, .aside-mini { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .factors li { grid-template-columns: 1fr; gap: 4px; }
  .timeline li { padding-left: 62px; }
}
