/* Vinhomes King Park — trang thông tin độc lập của Phương Hoa BĐS */

:root {
  --paper: #f6f4ee;
  --surface: #ffffff;
  --ink: #15231f;
  --ink-2: #3a4a45;
  --muted: #62716c;
  --line: #e2ddd0;
  --line-2: #ece8dd;

  --teal: #0e8077;
  --teal-700: #0b675f;
  --teal-900: #073f3a;
  --teal-50: #e8f4f2;
  --teal-100: #cfe8e4;

  --gold: #99702a;
  --gold-50: #f7efe0;
  --blue: #2c5a86;
  --blue-50: #e7eef6;
  --slate: #56625d;
  --slate-50: #eceeeb;
  --violet: #664a8f;
  --violet-50: #efe9f6;
  --red: #a3402b;
  --red-50: #f8ebe6;
  --green: #2f7a45;

  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(21, 35, 31, .05), 0 10px 30px rgba(21, 35, 31, .07);
  --header-h: 64px;

  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 17px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
strong { font-weight: 650; color: var(--ink); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; text-wrap: balance; }
h3 { font-size: 1.14rem; font-weight: 650; letter-spacing: -.005em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 28px; } }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(21, 35, 31, .05); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; flex: none; }
.brand-mark { flex: none; width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: .72rem; color: var(--muted); white-space: nowrap; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  display: block; padding: 8px 11px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: var(--line-2); color: var(--ink); }
.nav a[aria-current="true"] { color: var(--teal-700); background: var(--teal-50); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; }

.header-cta .btn-call { display: none; }
@media (min-width: 561px) and (max-width: 1219px) { .header-cta .btn-call { display: inline-flex; } }
@media (max-width: 1219px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(21,35,31,.12); padding: 10px 16px 18px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .18s ease; max-height: calc(100dvh - var(--header-h)); overflow: auto; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 12px 12px; font-size: 1rem; border-radius: 10px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; color: var(--ink);
  }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-sub { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-light { background: #fff; color: var(--teal-900); }
.btn-light:hover { background: var(--teal-50); color: var(--teal-900); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .88rem; }

/* ---------- Source chips ---------- */
.src {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
  padding: 1px 8px 1px 7px; border-radius: 999px;
  font: 600 .7rem/1.6 var(--font); letter-spacing: .01em; white-space: nowrap;
  background: var(--slate-50); color: var(--slate);
}
.src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.src--qh { background: var(--teal-50); color: var(--teal-700); }
.src--cdt { background: var(--gold-50); color: var(--gold); }
.src--bao { background: var(--blue-50); color: var(--blue); }
.src--san { background: var(--slate-50); color: var(--slate); }
.src--do { background: var(--violet-50); color: var(--violet); }
.src--chua { background: var(--red-50); color: var(--red); }
.srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--teal-900); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 28, 25, .82) 0%, rgba(5, 28, 25, .6) 38%, rgba(5, 28, 25, .12) 70%, rgba(5, 28, 25, 0) 100%),
    linear-gradient(180deg, rgba(5, 28, 25, .5) 0%, rgba(5, 28, 25, 0) 28%, rgba(5, 28, 25, .35) 60%, rgba(5, 28, 25, .9) 100%);
}
@media (max-width: 760px) {
  .hero-media::after { background: linear-gradient(180deg, rgba(5, 28, 25, .55) 0%, rgba(5, 28, 25, .45) 35%, rgba(5, 28, 25, .8) 65%, rgba(5, 28, 25, .95) 100%); }
}
.hero h1, .hero-lead { text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
.hero-inner { min-height: min(84vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 64px; padding-bottom: 116px; }
.hero-credit { position: absolute; top: 12px; right: 16px; font-size: .72rem; color: rgba(255,255,255,.82); background: rgba(0,0,0,.28); padding: 3px 9px; border-radius: 999px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.hero .eyebrow { color: #bfe6e0; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 6.4vw, 4.6rem); letter-spacing: -.02em; line-height: 1.05; max-width: 14ch; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; font-size: .48em; letter-spacing: -.005em; margin-top: 12px; color: #e9f5f2; max-width: 26ch; line-height: 1.25; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.14rem); max-width: 60ch; color: rgba(255,255,255,.9); margin: 20px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .hero-actions .btn { flex: 1 1 100%; } .hero-inner { padding-bottom: 96px; } }

.status {
  position: relative; z-index: 2; margin-top: -64px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line-2);
}
.status > div { padding: 18px 22px; border-left: 1px solid var(--line-2); }
.status > div:first-child { border-left: 0; }
.status-label { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.status-value { font-weight: 650; font-size: 1.04rem; margin-top: 2px; }
.status-note { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 2px; }
.dot--ok { background: var(--green); }
.dot--wait { background: #c98a1c; }
.dot--no { background: var(--red); }
@media (max-width: 760px) {
  .status { grid-template-columns: 1fr; margin-top: -52px; }
  .status > div { border-left: 0; border-top: 1px solid var(--line-2); padding: 14px 18px; }
  .status > div:first-child { border-top: 0; }
}

/* ---------- Legend ---------- */
.legend { margin: 28px 0 0; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .86rem; color: var(--ink-2); }
.legend-title { font-weight: 650; color: var(--ink); margin-right: 4px; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line-2); }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section--white { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.65rem); letter-spacing: -.015em; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.04em; }
.sub-head { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: -.01em; margin: 56px 0 18px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.grid-2 { display: grid; gap: 28px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } .grid-2--wide-left { grid-template-columns: 1.15fr .85fr; } }

.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(21,35,31,.04); }
.section--white .card { background: var(--paper); border-color: var(--line-2); box-shadow: none; }
@media (min-width: 700px) { .card { padding: 26px 28px; } }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { padding: 16px 22px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; }
.fact:first-child { border-top: 0; }
@media (min-width: 800px) {
  .fact:nth-child(2) { border-top: 0; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line-2); }
}
@media (max-width: 460px) { .fact { grid-template-columns: 1fr; gap: 2px; } }
.fact dt { font-size: .86rem; color: var(--muted); font-weight: 500; padding-top: 2px; }
.fact dd { margin: 0; font-weight: 550; }
.fact dd .src { margin-left: 4px; }

/* ---------- Big numbers ---------- */
.stats { display: grid; gap: 16px; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.stat { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px 24px 22px; }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 1; color: var(--teal-700); letter-spacing: -.02em; }
.stat-num small { font-size: .42em; font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.stat h3 { margin: 14px 0 8px; }
.stat p { color: var(--ink-2); font-size: .95rem; margin-bottom: 10px; }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--green); background: #e6f2e9; padding: 3px 10px 3px 7px; border-radius: 999px; }
.verified svg { width: 14px; height: 14px; }

/* ---------- Figures ---------- */
figure { margin: 0; }
.figure { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); }
.figure img { width: 100%; }
.figure figcaption { padding: 12px 16px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.figure figcaption a { font-weight: 600; white-space: nowrap; }
.zoom-link { display: inline-flex; align-items: center; gap: 5px; }

.gallery { display: grid; gap: 14px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: color-mix(in srgb, var(--paper) 60%, #fff); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.row-strong td { font-weight: 650; }
tr.row-sub td:first-child { padding-left: 30px; color: var(--ink-2); }
tr.row-sub2 td:first-child { padding-left: 46px; color: var(--muted); font-size: .9em; }
tr.row-flag td { background: var(--red-50); }
.caption-note { font-size: .84rem; color: var(--muted); margin-top: 10px; }

@media (max-width: 700px) {
  .table-stack thead { display: none; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td, .table-stack th { display: block; width: 100%; }
  .table-stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack th[scope="row"] { padding: 0 0 6px; border: 0; font-weight: 650; }
  .table-stack td { padding: 3px 0; border: 0; display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; }
  .table-stack td::before { content: attr(data-label); color: var(--muted); font-size: .84rem; }
}

/* ---------- Land-use bar ---------- */
.landuse { margin: 8px 0 12px; }
.landuse-bar { display: flex; height: 46px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.landuse-bar span { display: block; height: 100%; min-width: 2px; position: relative; }
.landuse-bar span + span { box-shadow: -1px 0 0 rgba(255,255,255,.7); }
.lu-gt { background: #cbc5b6; }
.lu-tt { background: #74b27a; }
.lu-o { background: #e3b45e; }
.lu-mn { background: #7cb2d8; }
.lu-cx { background: #b0d68f; }
.lu-cd { background: #4f8c62; }
.lu-gd { background: #d88d89; }
.lu-px { background: #9aa3ad; }
.lu-k { background: #b893c0; }
.landuse-legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px 22px; grid-template-columns: 1fr; font-size: .92rem; }
@media (min-width: 640px) { .landuse-legend { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .landuse-legend { grid-template-columns: repeat(3, 1fr); } }
.landuse-legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: baseline; margin: 0; padding-bottom: 8px; border-bottom: 1px dotted var(--line); }
.landuse-legend i { width: 14px; height: 14px; border-radius: 4px; display: block; transform: translateY(2px); }
.landuse-legend b { font-variant-numeric: tabular-nums; font-weight: 650; }
.landuse-legend .lg-note { grid-column: 2 / -1; font-size: .8rem; color: var(--muted); margin-top: -2px; }

details.more { margin-top: 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
details.more > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; flex: none; margin-top: -4px; }
details.more[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.more > .more-body { padding: 0 0 4px; }
details.more .table-wrap { border: 0; border-top: 1px solid var(--line-2); border-radius: 0 0 var(--radius) var(--radius); }

/* ---------- Product cards ---------- */
.products { display: grid; gap: 16px; }
@media (min-width: 700px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .products { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 22px 18px; }
.product-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.swatch { width: 12px; height: 34px; border-radius: 4px; flex: none; }
.product-kicker { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.product h3 { font-size: 1.2rem; }
.product-range { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; margin: 2px 0 10px; }
.product-range small { font-family: var(--font); font-size: .82rem; font-weight: 500; color: var(--muted); }
.product ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: .93rem; color: var(--ink-2); }
.product li { padding: 6px 0; border-top: 1px dashed var(--line); margin: 0; }
.product .srcs { margin-top: auto; padding-top: 6px; }

/* ---------- Amenities ---------- */
.amen { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.amen li { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); margin: 0; align-items: baseline; }
.amen li:last-child { border-bottom: 0; }
.amen b { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.amen span.muted { display: block; font-size: .82rem; }

.callout { border-radius: var(--radius); padding: 20px 22px; background: var(--gold-50); border: 1px solid #ecdcbd; }
.callout h3 { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout--red { background: var(--red-50); border-color: #efd2c8; }
.callout--teal { background: var(--teal-50); border-color: var(--teal-100); }
.quote { font-family: var(--serif); font-style: italic; font-size: 1.06em; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 14px; margin: 12px 0; }

.chips-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .chips-list { grid-template-columns: 1fr 1fr; } }
.chips-list li { margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2); }
.section--white .chips-list li { background: var(--paper); }
.chips-list li strong { display: block; margin-bottom: 2px; }
.chips-list li span { font-size: .9rem; color: var(--ink-2); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--teal-100); }
.timeline li { position: relative; padding: 0 0 22px 34px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--teal); }
.timeline li.is-now::before { background: var(--teal); box-shadow: 0 0 0 5px var(--teal-100); }
.timeline li.is-future::before { border-style: dashed; border-color: #c98a1c; }
.tl-date { font-weight: 700; font-size: .92rem; color: var(--teal-700); font-variant-numeric: tabular-nums; }
.timeline li.is-future .tl-date { color: #9a6a12; }
.tl-text { margin-top: 2px; }
.tl-text .src { margin-left: 4px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; margin: 0; padding: 18px 18px 16px 60px; position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.section--white .steps li { background: var(--paper); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 700; font-size: .9rem; }
.steps li strong { display: block; margin-bottom: 3px; }
.steps li span { font-size: .92rem; color: var(--ink-2); }
.steps li.is-warn::before { background: #c98a1c; }

/* ---------- Considerations ---------- */
.considers { display: grid; gap: 14px; counter-reset: c; }
@media (min-width: 800px) { .considers { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.consider { counter-increment: c; position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 22px 18px 70px; }
.consider::before { content: counter(c, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--red); line-height: 1; }
.consider h3 { margin-bottom: 6px; }
.consider p { font-size: .95rem; color: var(--ink-2); margin-bottom: .6em; }
.consider--big { background: var(--red-50); border-color: #efd2c8; }
@media (min-width: 800px) { .consider--big { grid-column: 1 / -1; } }
.consider--big .lots { display: grid; gap: 10px; margin: 12px 0; }
@media (min-width: 700px) { .consider--big .lots { grid-template-columns: 1fr 1fr; } }
.lot { background: rgba(255,255,255,.75); border: 1px solid #efd2c8; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; }
.lot b { display: block; font-size: 1rem; }

.fit { display: grid; gap: 16px; }
@media (min-width: 860px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px dashed var(--line); margin: 0; }
.fit li:last-child { border-bottom: 0; }
.fit li::before { position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.fit-yes li::before { content: "✓"; background: #e3f0e6; color: var(--green); }
.fit-no li::before { content: "✕"; background: var(--red-50); color: var(--red); }
.fit h3 { margin-bottom: 8px; }

.unverified { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.unverified li { margin: 0; padding: 10px 14px; background: var(--surface); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; font-size: .94rem; }

/* ---------- About ---------- */
.about { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 300px 1fr; gap: 56px; } }
.about-photo { width: 220px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #dfe3ea; border: 6px solid var(--surface); box-shadow: var(--shadow); }
@media (min-width: 860px) { .about-photo { width: 300px; } }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social .btn { background: var(--surface); }
.social .btn svg { width: 20px; height: 20px; }
.promise { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.promise li { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--teal-50); border: 1px solid var(--teal-100); }
.promise b { color: var(--teal-900); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.section--white .faq details { background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); font-weight: 600; font-size: 1.1rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 20px 16px; color: var(--ink-2); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Register ---------- */
.register { background: var(--teal-900); color: #e9f5f2; position: relative; overflow: hidden; }
.register::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 0% 0%, rgba(14,128,119,.55), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(14,128,119,.35), transparent 60%); pointer-events: none; }
.register .container { position: relative; }
.register .eyebrow { color: #9fdcd3; }
.register h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; letter-spacing: -.015em; }
.register-grid { display: grid; gap: 32px; }
@media (min-width: 940px) { .register-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.register-copy p { color: rgba(233,245,242,.88); }
.register-copy ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.register-copy li { position: relative; padding-left: 30px; margin: 0; }
.register-copy li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: rgba(159,220,211,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239fdcd3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.form-card { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
@media (min-width: 600px) { .form-card { padding: 30px; } }
.form-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.form-card .muted { font-size: .9rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; padding: 0; }
.field .req { color: var(--red); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.field.has-error input { border-color: var(--red); }
.field-error { color: var(--red); font-size: .84rem; margin-top: 5px; display: none; }
.field.has-error .field-error { display: block; }
fieldset.field { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .92rem; font-weight: 500; background: #fff; transition: .15s; user-select: none; }
.pill input:checked + span { background: var(--teal-50); border-color: var(--teal); color: var(--teal-900); font-weight: 600; }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px var(--teal-100); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .8rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.form-submit { width: 100%; min-height: 52px; font-size: 1rem; margin-top: 4px; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .93rem; }
.form-msg.is-error { display: block; background: var(--red-50); color: #7a2e1f; }
.form-done { display: none; text-align: center; padding: 18px 6px; }
.form-done .done-icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px; background: #e3f0e6; display: grid; place-items: center; color: var(--green); }
.form-done h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-card.is-done form { display: none; }
.form-card.is-done .form-done { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1614; color: rgba(255,255,255,.72); padding: 56px 0 100px; font-size: .9rem; }
.site-footer a { color: #bfe6e0; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; } }
.footer-brand { color: #fff; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.6; }
.footer-legal p { margin-bottom: .6em; }

/* ---------- Nút liên hệ nổi ---------- */
.contact-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
@media (min-width: 900px) { .contact-fab { right: 28px; bottom: 28px; } }
.fab-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--teal); color: #fff; font: 700 1rem/1 var(--font);
  box-shadow: 0 10px 28px rgba(7, 63, 58, .35), 0 2px 6px rgba(7, 63, 58, .2);
  transition: background .15s, transform .15s;
}
.fab-btn:hover { background: var(--teal-700); }
.fab-btn:active { transform: scale(.97); }
.fab-btn svg { width: 22px; height: 22px; flex: none; }
.fab-btn .fab-close { display: none; }
.fab-btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(14, 128, 119, .45); animation: fabPulse 2.4s ease-out infinite; pointer-events: none; }
.contact-fab.is-open .fab-btn { background: var(--teal-900); }
.contact-fab.is-open .fab-btn::before { animation: none; }
.contact-fab.is-open .fab-open { display: none; }
.contact-fab.is-open .fab-close { display: block; }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(14, 128, 119, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(14, 128, 119, 0); } }

.fab-menu { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.fab-menu[hidden] { display: none; }
.fab-item {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 9px;
  border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line-2); box-shadow: 0 10px 26px rgba(21, 35, 31, .16);
  animation: fabIn .2s ease both;
}
.fab-item:hover { color: var(--ink); background: var(--teal-50); }
.fab-item:nth-child(3) { animation-delay: 0s; }
.fab-item:nth-child(2) { animation-delay: .04s; }
.fab-item:nth-child(1) { animation-delay: .08s; }
@keyframes fabIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.fab-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.fab-ico svg { width: 20px; height: 20px; }
.fab-ico--zalo { background: #0068ff; font: 800 .7rem/1 var(--font); letter-spacing: -.01em; }
.fab-ico--tel { background: #2f9e5b; }
.fab-ico--form { background: var(--teal); }
.fab-text { display: flex; flex-direction: column; line-height: 1.2; }
.fab-text b { font-weight: 650; font-size: .98rem; }
.fab-text small { font-size: .78rem; color: var(--muted); margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .fab-btn::before, .fab-item { animation: none; } }

/* ---------- Simple pages ---------- */
.page { padding: 56px 0 90px; }
.page h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 18px; }
.page h2 { font-size: 1.2rem; margin: 30px 0 10px; }

@media print {
  .site-header, .contact-fab, .register, .hero-actions { display: none !important; }
  .hero { color: var(--ink); background: none; }
  .hero-media { display: none; }
}

/* ---------- Sửa hiển thị điện thoại ---------- */
.srcs .src { white-space: normal; max-width: 100%; }
.srcs .src::before { flex: none; }
.considers > *, .products > *, .stats > *, .grid-2 > *, .gallery > *, .fit > *, .chips-list > li { min-width: 0; }
@media (max-width: 560px) {
  .consider { padding: 50px 18px 16px; }
  .consider::before { left: 18px; top: 16px; font-size: 1.35rem; }
  .fact dd .src { margin-left: 0; margin-top: 4px; }
}
.srcs .src { align-items: flex-start; }
.srcs .src::before { margin-top: .5em; }

/* ---------- Trợ lý AI ---------- */
.hp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ai-fab {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer;
  font: 700 .98rem/1 var(--font); box-shadow: 0 10px 28px rgba(21, 35, 31, .18), 0 2px 6px rgba(21, 35, 31, .08);
  transition: transform .15s, box-shadow .15s;
}
.ai-fab:hover { box-shadow: 0 14px 34px rgba(21, 35, 31, .24); }
.ai-fab:active { transform: scale(.97); }
@media (min-width: 900px) { .ai-fab { left: 28px; bottom: 28px; } }
.ai-fab-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0e8077 0%, #2c5a86 100%); flex: none; }
.ai-fab-ico svg { width: 22px; height: 22px; }
.ai-fab[aria-expanded="true"] { background: var(--teal-50); border-color: var(--teal-100); }

.ai-panel {
  position: fixed; z-index: 80; left: 28px; bottom: 96px; width: 392px; height: min(640px, calc(100dvh - 124px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(7, 30, 27, .3), 0 4px 14px rgba(7, 30, 27, .1);
  animation: aiIn .2s ease both;
}
.ai-panel[hidden] { display: none; }
@keyframes aiIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .ai-panel { inset: 0; width: auto; height: 100dvh; border-radius: 0; border: 0; }
  body.ai-open { overflow: hidden; }
  body.ai-open .ai-fab, body.ai-open .contact-fab { display: none; }
}
@media (min-width: 641px) and (max-width: 899px) { .ai-panel { left: 16px; bottom: 84px; } }

.ai-head { display: flex; align-items: center; gap: 11px; padding: 12px 12px 12px 14px; background: var(--teal-900); color: #fff; padding-top: calc(12px + env(safe-area-inset-top)); }
.ai-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .7); background: #dfe3ea; flex: none; }
.ai-title { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.ai-sub { font-size: .76rem; opacity: .82; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #5ee39a; box-shadow: 0 0 0 3px rgba(94, 227, 154, .2); flex: none; }
.ai-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.ai-close:hover { background: rgba(255, 255, 255, .22); }
.ai-close svg { width: 20px; height: 20px; }

.ai-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 14px 10px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.ai-msg { max-width: 90%; padding: 10px 13px; border-radius: 16px; font-size: .93rem; line-height: 1.55; text-wrap: pretty; }
.ai-msg b { font-weight: 650; }
.ai-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line-2); border-bottom-left-radius: 6px; }
.ai-msg--user { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-msg .srcs { margin-top: 9px; gap: 5px; }
.ai-more { display: inline-block; margin-top: 8px; font-weight: 600; font-size: .86rem; }
.ai-cta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ai-cta .btn { min-height: 36px; padding: 6px 12px; font-size: .84rem; }
.ai-chips { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.ai-chips-label { width: 100%; font-size: .74rem; color: var(--muted); font-weight: 600; margin: 2px 0 0 2px; }
.ai-chip { border: 1px solid var(--teal-100); background: var(--teal-50); color: var(--teal-900); border-radius: 999px; padding: 7px 12px; font: 500 .86rem/1.3 var(--font); cursor: pointer; text-align: left; }
.ai-chip:hover { background: #d9eeea; }
.ai-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.ai-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: aiDot 1s infinite ease-in-out; }
.ai-typing span:nth-child(2) { animation-delay: .15s; }
.ai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-3px); } }

.ai-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 6px; background: #fff; border-top: 1px solid var(--line-2); }
.ai-input { flex: 1; min-height: 44px; max-height: 120px; resize: none; padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 14px; font: 16px/1.4 var(--font); color: var(--ink); background: #fff; }
.ai-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); }
.ai-send { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.ai-send:hover { background: var(--teal-700); }
.ai-send svg { width: 20px; height: 20px; }
.ai-note { margin: 0; padding: 0 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; font-size: .7rem; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .ai-panel, .ai-typing span { animation: none; } }
@media print { .ai-fab, .ai-panel { display: none !important; } }
