:root {
  --brand: #0f5c4a;
  --brand-2: #14806a;
  --accent: #f29b1d;
  --accent-ink: #3a2400;
  --ink: #1d2a26;
  --muted: #5d6b66;
  --line: #e2e8e5;
  --tint: #f3f8f5;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 60, 50, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: "Be Vietnam Pro", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; color: var(--brand); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-2); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--sm { padding: 8px 16px; font-size: .9rem; }

/* Header */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.topbar.is-solid, .menu-open .topbar { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: .8rem; line-height: 1.1; }
.brand img { height: 42px; width: auto; }
.brand .logo-dark, .is-solid .brand .logo-light, .menu-open .brand .logo-light { display: none; }
.is-solid .brand .logo-dark, .menu-open .brand .logo-dark { display: block; }
.brand b { font-size: 1rem; }
.is-solid .brand, .menu-open .brand { color: var(--brand); }
.menu { display: flex; gap: 18px; margin-left: auto; }
.menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: .93rem; }
.is-solid .menu a { color: var(--ink); }
.menu a:hover { color: var(--accent); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }
.is-solid .burger span, .menu-open .burger span { background: var(--ink); }

/* Hero */
.hero { position: relative; min-height: min(100vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,30,25,.55) 0%, rgba(5,30,25,.25) 40%, rgba(5,30,25,.85) 100%); }
.hero__in { position: relative; padding: 120px 0 48px; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 800; max-width: 16em; }
.hero__lead { font-size: 1.1rem; max-width: 40em; opacity: .95; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 36px; }
.pill { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: .9rem; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(242,155,29,.25); } }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px); }
.stats li { background: rgba(10,40,34,.55); padding: 16px; text-align: center; }
.stats b { display: block; font-size: 1.8rem; color: var(--accent); }
.stats span { font-size: .85rem; }

/* Sections */
.sec { padding: 88px 0; }
.sec--tint { background: var(--tint); }
.sec--brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.sec--brand h2 { color: #fff; }
.sec__lead { color: var(--muted); max-width: 46em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .4em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sub { margin-top: 40px; color: var(--brand); }
.note { color: var(--muted); font-size: .9rem; }

.specs { display: grid; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }

.frame { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); padding: 8px 4px 0; }
.frame figcaption { padding: 10px 14px; background: #fff; }

.cards { display: grid; gap: 16px; margin: 28px 0; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card i { font-style: normal; font-size: 1.8rem; display: block; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card h3 { color: var(--brand); }
.card--time { text-align: center; }
.card--time b { display: block; font-size: 2.2rem; color: var(--brand); }
.card--time span { color: var(--muted); font-size: .9rem; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery--4 { grid-template-columns: repeat(4, 1fr); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: transform .3s; }
.gallery--4 img { aspect-ratio: 3/4; }
#tien-do .gallery--4 img { aspect-ratio: 4/3; }
.gallery img:hover { transform: scale(1.02); }
.zoomable > img { cursor: zoom-in; }

.table-scroll { overflow-x: auto; margin: 24px 0 8px; }
.units { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 560px; }
.units th { background: var(--brand); color: #fff; text-align: left; padding: 14px 16px; }
.units td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.units td:first-child { font-weight: 700; color: var(--brand); }
.units tr:last-child td { border-bottom: 0; }

.steps { padding-left: 1.2em; }
.steps li { margin-bottom: 12px; }

/* Forms */
.box { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.box h3 { color: var(--brand); margin: 0; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fafcfb; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-2); border-color: transparent; }
.quiz__result { margin: 0; font-weight: 600; padding: 0; }
.quiz__result.good, .quiz__result.bad { padding: 12px 14px; border-radius: 10px; }
.quiz__result.good { background: #e6f6ee; color: #10603f; }
.quiz__result.bad { background: #fff3e0; color: #8a4b00; }
.quiz__result.warn { background: #fff8d6; color: #6b5200; padding: 12px 14px; border-radius: 10px; }
.quiz__result p { margin: 0 0 10px; font-weight: 500; }
.quiz__cta { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz__cta .btn { padding: 10px 18px; font-size: .92rem; }
.btn--ghost-dark { border-color: var(--brand); color: var(--brand); background: #fff; }
.quiz__head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.quiz__badge { background: var(--tint); color: var(--brand); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.quiz__progress { margin: -6px 0 0; color: var(--muted); font-size: .88rem; }
.q { border: 0; padding: 14px 0 0; margin: 0; min-width: 0; box-shadow: inset 0 1px 0 var(--line); }
.q legend { font-weight: 700; padding: 0 0 0 34px; margin-bottom: 10px; position: relative; float: left; width: 100%; }
.q legend + * { clear: both; }
.q legend i { font-style: normal; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8rem; }
#dieu-kien .grid2 { align-items: start; }
.gallery + .note { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; font-weight: 500; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .92rem; background: #fafcfb; transition: all .15s; }
.chips span:hover { border-color: var(--brand-2); }
.chips input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); }
.hint { margin: 8px 0 0; font-size: .84rem; color: var(--muted); }
.pay { margin-top: 40px; }
.pay tbody td:nth-child(3) { color: #c0392b; font-weight: 700; }
.pay tfoot td { background: var(--tint); }
.calc { display: grid; gap: 22px; max-width: 900px; margin-top: 8px; }
.calc__q { border: 0; padding: 0; margin: 0; }
.calc__q[hidden] { display: none; }
.calc__q legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.chips--lg span { padding: 11px 20px; font-size: 1rem; font-weight: 600; background: #fff; }
.calc__out { background: var(--brand); color: #fff; border-radius: 18px; padding: 26px 30px; box-shadow: var(--shadow); }
.calc__label { margin: 0; opacity: .85; }
.calc__big { margin: 4px 0 18px; font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; color: var(--accent); line-height: 1.15; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__row span { display: block; opacity: .85; font-size: .95rem; }
.calc__row b { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; }
.calc__note { margin: 0; color: var(--muted); font-size: .95rem; }
.lead__msg { margin: 0; font-weight: 600; color: var(--brand); }
.tiny { font-size: .8rem; color: var(--muted); margin: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.timeline li { border-top: 4px solid var(--line); padding-top: 12px; font-size: .95rem; }
.timeline time { display: block; font-weight: 800; color: var(--brand); }
.timeline li.now { border-color: var(--accent); }
.timeline li.now time { color: var(--accent); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--brand-2); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Contact */
.eyebrow--light { color: #ffd38a; }
.perks { background: var(--brand); color: #fff; padding: 28px 0; }
.perks__in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.perk { display: flex; gap: 18px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 20px 22px; }
.perk__num { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; }
.perk h3 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.perk p { margin: 0 0 6px; opacity: .92; }
.perk a { color: #ffd38a; font-weight: 700; text-decoration: none; font-size: .92rem; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery--2 img { aspect-ratio: 3/2; border-radius: var(--radius); }
.gallery--2 figcaption { font-size: .95rem; }
.advisor { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.advisor__photo { margin: 0; position: relative; isolation: isolate; }
.advisor__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; border-radius: 20px; box-shadow: var(--shadow); }
.advisor__photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--accent); border-radius: 20px; z-index: -1; }
.advisor__tag { color: var(--accent); font-weight: 700; letter-spacing: .02em; }
.advisor__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 10px; }
.advisor__phone { font-size: 1.25rem; font-weight: 800; color: var(--brand); margin: 0; }
.ticks--dark li::before { color: var(--brand-2); }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #ffd38a; font-weight: 800; }
.agent { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 16px; margin-top: 24px; }
.agent__avatar { width: 84px; height: 84px; object-fit: cover; border: 3px solid var(--accent); border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; flex: none; }
.agent b, .agent span, .agent a { display: block; }
.agent span { font-size: .9rem; opacity: .9; }
.agent a { color: #fff; font-weight: 700; margin-top: 4px; }

.foot { background: #0b2d25; color: #b9cbc4; padding: 32px 0 96px; font-size: .88rem; }
.foot b { color: #fff; }

/* Dock */
.dock { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.dock a { display: flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow); }
.dock a:nth-child(2) { background: #0068ff; }
.dock a:nth-child(3) { background: var(--accent); color: var(--accent-ink); }
.dock i { font-style: normal; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; }
.lightbox button { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .pill { animation: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .menu { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 8px 16px 16px; display: none; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .menu a { color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-open .menu { display: flex; }
  .burger { display: block; }
  .topbar .btn--sm { margin-left: auto; }
  .cards--5 { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { border-top: 0; border-left: 4px solid var(--line); padding: 4px 0 4px 14px; }
}
@media (max-width: 760px) {
  .sec { padding: 60px 0; }
  .grid2 { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards--4, .cards--5 { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery--2, .perks__in { grid-template-columns: 1fr; }
  .perk__num { width: 60px; height: 60px; font-size: 1.2rem; }
  .advisor { grid-template-columns: 1fr; gap: 40px; }
  .advisor__photo { margin-right: 18px; }
  .specs div { grid-template-columns: 110px 1fr; }
  .calc__out { padding: 22px 20px; }
  .dock { left: 0; right: 0; bottom: 0; gap: 0; }
  .dock a { flex: 1; justify-content: center; border-radius: 0; box-shadow: none; }
  .topbar .btn--sm { display: none; }
  .burger { margin-left: auto; }
}
