/* =====================================================================
 *  An Tax & Benefits — anhomecare.com
 *  Phong cách: tham khảo hayleylending.com (Playfair Display + Inter);
 *  màu theo bộ nhận diện 27/10/2026: navy #0B1F2A / vàng #C9A15B / nền ngà #FBFAF7.
 *  Bố cục: hero navy 2 cột (có ô vàng khuyến mãi) -> dải chương trình -> dịch vụ
 *  (3 thẻ thuế + 3 thẻ trợ cấp) -> kiểm tra điều kiện -> cách làm việc -> về
 *  chúng tôi -> FAQ -> bài viết -> liên hệ/form. Chữ to, nút to (người lớn tuổi).
 * ===================================================================== */
:root {
  --navy: #0B1F2A;
  --navy-2: #12303E;
  --navy-3: #2A5668;
  --ink: #13222B;
  --ink-2: #3A4B56;
  --muted: #5B6678;
  --gold: #C9A15B;
  --gold-2: #E2B86A;
  --gold-soft: #F4EADA;
  --cream: #FBFAF7;
  --paper: #FFFFFF;
  --line: #E7E2D8;
  --line-2: #D4CCBC;
  --ok: #2E7D4F;
  --ok-soft: #E6F2EA;
  --warn: #9A6412;
  --warn-soft: #FBF1DD;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(11, 31, 42, 0.10);
  --shadow-sm: 0 2px 8px rgba(11, 31, 42, 0.08);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1180px;
  --gutter-l: max(18px, env(safe-area-inset-left, 0px));
  --gutter-r: max(18px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: 76px; /* chỗ cho thanh gọi nhanh trên điện thoại */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0 0 .5em; line-height: 1.12; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.3vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
small, .small { font-size: .9rem; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.1rem; color: var(--ink-2); }
.center { text-align: center; margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--navy); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Nút ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border-radius: var(--radius); font-weight: 600; font-size: 1.02rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; font-family: var(--font-body); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(201, 161, 91, .35); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { min-height: 58px; padding: 15px 30px; font-size: 1.08rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; flex-wrap: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand svg { width: 50px; height: 50px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.brand-sub { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-top: 5px; font-weight: 600; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { color: rgba(255, 255, 255, .86); text-decoration: none; padding: 10px 10px; border-radius: 8px; font-weight: 500; font-size: .93rem; white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; overflow: hidden; font-size: .85rem; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 7px 10px; color: rgba(255, 255, 255, .8); text-decoration: none; }
.lang-switch span { background: var(--gold); color: var(--navy); }
.lang-switch a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.header-phone { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.mobile-nav { display: none; background: var(--navy-2); border-top: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 15px var(--gutter-l); color: #fff; text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
@media (min-width: 1200px) {
  .nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .header-phone { display: inline-flex; min-height: 46px; padding: 10px 18px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1100px 600px at 80% 20%, rgba(42, 86, 104, .55), transparent 60%), linear-gradient(135deg, #0F2A3A 0%, var(--navy) 55%, #07151C 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 161, 91, .18), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr; gap: 36px; padding-block: clamp(44px, 7vw, 96px) clamp(64px, 8vw, 96px); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; gap: 48px; } }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold-2); }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 560px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--gold-2); margin-top: 3px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); aspect-ratio: 4 / 4.6; max-width: 520px; margin-inline: auto; background: linear-gradient(160deg, #1A4252, #0F2A3A 60%, #0B1F2A); border: 1px solid rgba(255, 255, 255, .08); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-illus { width: 100%; height: 100%; display: grid; place-items: center; padding: 10%; }
.hero-card { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 14px; width: min(92%, 420px); }
.hero-card .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; color: var(--gold); flex: none; }
.hero-card .ic svg { width: 24px; height: 24px; }
.hero-card b { display: block; font-size: 1.05rem; color: var(--navy); }
.hero-card span { font-size: .9rem; color: var(--muted); }
@media (min-width: 900px) { .hero-card { left: auto; right: -10px; transform: none; bottom: 28px; } }

/* ---------- Dải chương trình ---------- */
.programs { background: #fff; border-bottom: 1px solid var(--line); }
.programs .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 18px; }
.programs .label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--cream); font-size: .9rem; font-weight: 600; color: var(--navy); }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Lưới thẻ ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 979px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card.svc { transition: transform .15s ease, box-shadow .15s ease; }
.card.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin: 6px 0 0; }
.card p { margin: 0; color: var(--ink-2); }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.card .more:hover { color: var(--gold); }
.card .more svg, .btn-outline svg { width: 18px; height: 18px; flex: none; }
.card .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); padding: 4px 10px; border-radius: 999px; }
.card .tag.free { color: var(--ok); background: var(--ok-soft); }

/* ---------- Kiểm tra điều kiện ---------- */
.check { background: var(--navy); color: #fff; }
.check h2, .check h3 { color: #fff; }
.check .eyebrow { color: var(--gold-2); }
.check .section-head p { color: rgba(255, 255, 255, .8); }
.check-grid { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.panel { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow); }
.panel h3 { color: var(--navy); }
.q { margin-bottom: 20px; }
.q > label, .q > .qlabel { display: block; font-weight: 600; margin-bottom: 10px; color: var(--navy); }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border: 2px solid var(--line-2); border-radius: 10px; font-weight: 500; cursor: pointer; background: #fff; }
.opt input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea { width: 100%; font: inherit; font-size: 1.05rem; padding: 13px 14px; border: 2px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); min-height: 50px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(42, 86, 104, .15); }
textarea { min-height: 110px; resize: vertical; }
.money { position: relative; }
.money input { padding-left: 34px; }
.money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.result { min-height: 200px; }
.result .placeholder { color: var(--muted); display: grid; place-items: center; text-align: center; min-height: 220px; padding: 20px; border: 2px dashed var(--line-2); border-radius: 12px; }
.res-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.res-item:last-of-type { border-bottom: 0; }
.res-item .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; flex: none; }
.res-item.yes .dot { background: var(--ok); }
.res-item.maybe .dot { background: var(--gold); }
.res-item.no .dot { background: var(--line-2); }
.res-item b { color: var(--navy); }
.res-item p { margin: 4px 0 0; font-size: .95rem; color: var(--ink-2); }
.res-item .pill { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.res-item.yes .pill { background: var(--ok-soft); color: var(--ok); }
.res-item.maybe .pill { background: var(--gold-soft); color: var(--warn); }
.res-item.no .pill { background: var(--cream); color: var(--muted); }
.res-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.res-cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Các bước ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px 26px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step h3 { margin-top: 6px; }
.step p { margin: 0; color: var(--ink-2); }

/* ---------- Về chúng tôi ---------- */
.about { background: #fff; }
.about-grid { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-visual { background: var(--navy); border-radius: var(--radius-lg); padding: 34px 30px; color: #fff; position: relative; overflow: hidden; }
.about-visual::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(201, 161, 91, .18); }
.about-visual blockquote { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.35; margin: 0 0 18px; position: relative; }
.about-visual cite { font-style: normal; color: var(--gold-2); font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.fact b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-2); }
.fact span { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.commit { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 10px; }
@media (min-width: 640px) { .commit { grid-template-columns: repeat(2, 1fr); } }
.commit li { list-style: none; display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.commit svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }
.commit b { color: var(--navy); display: block; }
.commit span { font-size: .93rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--navy); font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--gold); flex: none; font-family: var(--font-display); }
details[open] summary::after { content: "–"; }
details .ans { padding: 0 0 20px; color: var(--ink-2); }
details .ans p:last-child { margin-bottom: 0; }

/* ---------- Bài viết ---------- */
.post-card { padding: 0; overflow: hidden; }
/* Ảnh đầu thẻ: nền navy, khung vàng mảnh như con dấu, con số nổi bật của bài + chú thích; logo mờ góc phải */
.post-card .cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 28px 30px; color: #fff;
  background: radial-gradient(120% 95% at 88% 8%, rgba(201, 161, 91, .26), transparent 58%), linear-gradient(135deg, #16394A 0%, var(--navy) 62%, #07151C 100%); }
.post-card .cover::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 161, 91, .5); border-radius: 10px; pointer-events: none; }
.post-card .cover::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(201, 161, 91, .18); border-radius: 7px; pointer-events: none; }
.post-card .cover .mark { position: absolute; right: -26px; bottom: -34px; width: 170px; height: 170px; opacity: .09; pointer-events: none; }
.post-card .cover .mark svg { width: 100%; height: 100%; }
.post-card .cover .stat { position: relative; z-index: 1; }
.post-card .cover .stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.01em; color: var(--gold-2); font-variant-numeric: tabular-nums; text-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.post-card .cover .stat span { display: block; margin: 12px auto 0; max-width: 30ch; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.post-card .cover .stat span::before { content: ""; display: block; width: 34px; height: 2px; background: var(--gold); margin: 0 auto 10px; }
.post-card .cover .ring { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 50%; border: 1.5px solid rgba(201, 161, 91, .7); display: grid; place-items: center; color: var(--gold-2); background: rgba(255, 255, 255, .04); }
.post-card .cover .ring svg { width: 42px; height: 42px; }
.post-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold); }
.article { background: #fff; }
.article .wrap { max-width: 780px; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); }
.article .meta { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.article .content h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article .content h3 { font-size: 1.25rem; margin-top: 1.5em; }
.article .content ul, .article .content ol { padding-left: 1.3em; }
.article .content li { margin-bottom: .45em; }
.article .content .callout { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 1.4em 0; }
.article .content .callout p:last-child { margin: 0; }
.article .content table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1.2em 0; }
.article .content th, .article .content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; font-variant-numeric: tabular-nums; }
.article .content th { background: var(--cream); color: var(--navy); }
.table-wrap { overflow-x: auto; }
.article-cta { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px 28px; margin-top: 44px; display: grid; gap: 14px; }
.article-cta h3 { color: #fff; margin: 0; }
.article-cta p { color: rgba(255, 255, 255, .82); margin: 0; }
.article-cta .row { display: flex; flex-wrap: wrap; gap: 12px; }
.disclaimer { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 36px; text-align: justify; }

/* ---------- Liên hệ / form ---------- */
.contact { background: var(--cream); }
.contact-grid { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.contact-info { display: grid; gap: 18px; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.ci .ic svg { width: 22px; height: 22px; }
.ci b { display: block; color: var(--navy); }
.ci a { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.form label.f { display: block; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form .req { color: var(--gold); }
.checks { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.chk { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid var(--line-2); border-radius: 10px; cursor: pointer; background: #fff; }
.chk:has(input:checked) { border-color: var(--navy); background: #F3F6FA; }
.chk input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.consent { font-size: .92rem; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; accent-color: var(--navy); }
.form-msg { padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form-msg.ok { background: var(--ok-soft); color: var(--ok); }
.form-msg.err { background: var(--warn-soft); color: var(--warn); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: .85rem; color: var(--muted); }

/* ---------- Landing (quảng cáo) ---------- */
.landing-hero .wrap { grid-template-columns: 1fr; }
@media (min-width: 900px) { .landing-hero .wrap { grid-template-columns: 1fr 1fr; } }
.landing-form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow); }
.landing-form h2 { font-size: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding-block: 48px 36px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
/* Dòng pháp lý cuối trang: chữ nhỏ, canh đều hai lề (thẳng cả trái lẫn phải, cùng mép với các cột trên) */
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 20px; font-size: .74rem; line-height: 1.6; color: rgba(255, 255, 255, .55); display: grid; gap: 8px; }
.footer-legal p { margin: 0; text-align: justify; text-justify: inter-word; }
.footer-legal p:last-child { text-align: left; }

/* ---------- Thanh gọi nhanh (điện thoại) ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.callbar .btn { min-height: 52px; font-size: 1rem; padding-inline: 12px; }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- Video ---------- */
.video-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: 90px; }

/* ---------- Hero: con dấu + nhãn ---------- */
.hero-illus { display: grid; place-items: center; align-content: start; gap: 14px; padding: 7% 8% 120px; }
@media (min-width: 900px) { .hero-illus { padding-bottom: 150px; } }
.hero-seal { width: min(62%, 280px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); margin-top: 4px; }
.hero-seal svg { width: 100%; height: auto; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 600; font-size: .92rem; }
.hero-cities { color: var(--gold-2); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }

/* ---------- Dịch vụ: 2 nhóm (thuế / trợ cấp) ---------- */
.svc-group + .svc-group { margin-top: 34px; }
.svc-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.svc-group-head h3 { margin: 0; font-size: 1.45rem; }
.svc-group-head span { color: var(--muted); font-size: .92rem; font-weight: 500; }
.svc-group-benefits .svc-group-head { border-bottom-color: var(--ok); }

/* ---------- Hero: ô vàng khuyến mãi "Khai thuế MIỄN PHÍ … $30,000/năm" ---------- */
.promo { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kicker kicker" "text num" "note note"; align-items: center; column-gap: 18px; row-gap: 4px; max-width: 560px; margin: 0 0 24px; padding: 14px 20px 14px 20px; border-radius: 14px; text-decoration: none; color: var(--navy);
  background: linear-gradient(135deg, #F6DD9A 0%, var(--gold-2) 42%, var(--gold) 100%); border: 1px solid rgba(255, 255, 255, .45); box-shadow: 0 14px 38px rgba(201, 161, 91, .42), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform .12s ease, box-shadow .12s ease; }
a.promo:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(201, 161, 91, .5), inset 0 1px 0 rgba(255, 255, 255, .6); color: var(--navy); }
.promo-kicker { grid-area: kicker; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(11, 31, 42, .7); margin-bottom: 2px; }
.promo-text { grid-area: text; font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.promo-text b { font-weight: 800; }
.promo-num { grid-area: num; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.2vw, 2.5rem); line-height: 1; letter-spacing: -.01em; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.promo-num small { font-family: var(--font-body); font-size: .95rem; font-weight: 700; margin-left: 2px; letter-spacing: 0; }
.promo-note { grid-area: note; font-size: .8rem; font-weight: 500; color: rgba(11, 31, 42, .78); margin-top: 4px; }
@media (max-width: 480px) { .promo { grid-template-columns: 1fr; grid-template-areas: "kicker" "text" "num" "note"; padding: 14px 16px; } }

/* ---------- Văn phòng (liên hệ + footer) ---------- */
.offices { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.offices li { line-height: 1.45; }
.offices b { color: var(--navy); display: inline; }
.site-footer .offices b { color: #fff; }
.muted-light { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.ci .offices .muted { font-size: .9rem; }
@media (min-width: 800px) { .footer-grid-4 { grid-template-columns: 1.4fr 1.1fr 1fr .8fr; } }

/* ---------- Điện thoại: logo gọn trong header, hero chỉ con dấu ---------- */
@media (max-width: 899px) {
  .hero-pills { display: none; }
  .hero-illus { align-content: center; padding: 6% 8% 70px; }
  .hero-seal { width: min(58%, 240px); }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: .56rem; letter-spacing: .1em; white-space: nowrap; }
  .brand svg { width: 42px; height: 42px; }
}
