/* ============================================================
   VH.CSS — Design system website cá nhân Vicky Hiền
   Định hướng: chuyên nghiệp + trẻ trung, HỒNG PASTEL chủ đạo.
   - Pastel (#F8CFDD / #FDE8EF / #FFF6F9) cho mảng nền, blob, viền
   - Rose đậm #B03F6A cho chữ nhấn / nút (trắng trên rose = 5.6:1, đạt AA)
   - Plum #5E2A45 / #3F1A2E cho footer, dải số liệu → độ "chuyên nghiệp"
   - Champagne gold #C9A27A (trang trí) / #8C6A45 (chữ) cho gạch kicker, sao
   - Chữ: Be Vietnam Pro (dấu tiếng Việt chuẩn) + Playfair Display nghiêng
     cho tên "Vicky Hiền" và chữ nhấn trong tiêu đề (.serif / h* em)
   Kế thừa motion engine + các bản vá layout của prototype trước:
   overflow-x:clip, .hero-bg absolute, grid con min-width:0.
   ============================================================ */

:root {
  --pink-50: #FFF6F9;
  --pink-100: #FDE8EF;
  --pink-200: #F8CFDD;
  --pink-300: #F2AFC6;
  --rose-400: #E07A9C;      /* trang trí, icon lớn */
  --rose: #B03F6A;          /* chữ nhấn, nút chính */
  --rose-deep: #8F2F55;     /* hover */
  --plum: #5E2A45;
  --plum-dark: #3F1A2E;
  --gold: #C9A27A;
  --gold-ink: #8C6A45;
  --mint: #DDF3EA; --mint-ink: #1F6B4E;
  --lav: #ECE4FA; --lav-ink: #5B3F96;
  --sky: #E3F0FB; --sky-ink: #1F5785;
  --ink: #2B2230;
  --slate: #6E5F6B;
  --muted: #7A6A76;
  --bg: #ffffff;
  --bg-soft: var(--pink-50);
  --bg-soft2: var(--pink-100);
  --line: #EED9E1;
  --line-soft: #F6E9EE;
  --ok: #1F6B4E;
  --danger: #C2334D;
  --zalo: #0068FF;
  --grad: linear-gradient(120deg, var(--plum-dark), var(--plum) 55%, #7C3A5C);
  --grad-pink: linear-gradient(120deg, #FFF0F5 0%, #FDE3EC 45%, #F9D3E0 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 28px rgba(94, 42, 69, .09);
  --shadow-lg: 0 20px 56px rgba(94, 42, 69, .16);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* reveal-l/r dịch ngang trước khi hiện — clip (không phải hidden) để sticky còn chạy */
html, body { overflow-x: clip; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
::selection { background: var(--pink-200); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

/* ---------- typography ---------- */
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; }
h1 em, h2 em, h3 em, .h-xl em, .h-lg em, .h-md em { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--rose); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--rose);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker-light { color: var(--pink-200); }
.h-xl { font-size: clamp(32px, 5vw, 58px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.h-lg { font-size: clamp(25px, 3.2vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
.h-md { font-size: clamp(19px, 2vw, 24px); line-height: 1.3; font-weight: 700; }
.h-sm { font-size: 17px; font-weight: 700; }
.muted { color: var(--muted); }
.lead { font-size: 17.5px; color: var(--slate); }
.note-sm { font-size: 12.5px; color: var(--muted); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; position: relative; overflow-x: clip; }
.section-soft { background: var(--bg-soft); }
.section-pink { background: var(--grad-pink); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head h2 { margin-top: 12px; }
.section-head .sub { color: var(--slate); margin-top: 10px; max-width: 660px; }
.center { text-align: center; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* blob trang trí */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: 0; }
.blob-a { width: 420px; height: 420px; background: radial-gradient(circle at 30% 30%, var(--pink-200), transparent 70%); }
.blob-b { width: 300px; height: 300px; background: radial-gradient(circle at 50% 50%, rgba(201, 162, 122, .25), transparent 70%); }

/* ---------- nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 28px; border-radius: 3rem; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); box-shadow: 0 10px 24px rgba(176, 63, 106, .32); }
.btn-soft { background: var(--pink-100); color: var(--rose-deep); }
.btn-soft:hover { background: var(--pink-200); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { color: var(--rose); border-color: var(--rose); }
.btn-white { background: #fff; color: var(--plum); }
.btn-white:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-zalo:hover { background: #0052cc; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn svg { flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--rose); }
.link-arrow svg { transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- topbar ---------- */
.topbar { background: var(--grad); color: rgba(255, 255, 255, .9); font-size: 13px; position: relative; z-index: 60; }
.topbar-inner { max-width: 1240px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; gap: 22px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb-item b { font-weight: 700; color: #fff; }
.tb-badge { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); padding: 1px 10px; border-radius: 12px; font-size: 12px; letter-spacing: .04em; }
.tb-sp { flex: 1; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch button {
  background: none; border: 0; color: rgba(255, 255, 255, .62);
  font-size: 13px; font-weight: 700; padding: 2px 4px; letter-spacing: .04em;
}
.lang-switch button.on { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.lang-switch span { color: rgba(255, 255, 255, .4); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 55;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.solid { border-color: var(--line-soft); box-shadow: 0 6px 24px rgba(94, 42, 69, .07); }
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; gap: 24px;
}
/* logo chữ: monogram VH + wordmark (chữ HTML để dùng được webfont) */
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--pink-200), var(--rose-400));
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 19px; color: var(--plum);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .65);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 23px; color: var(--plum); letter-spacing: -.01em; }
.logo-text small { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-top: 4px; }
.logo.light .logo-text b { color: #fff; }
.logo.light .logo-text small { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; font-size: 15px; font-weight: 600; color: var(--ink);
  position: relative; white-space: nowrap; border-radius: 3rem; transition: background .18s, color .18s;
}
.nav-item > a:hover { background: var(--pink-50); color: var(--rose); }
.nav-item > a.active { color: var(--rose); background: var(--pink-100); }
.nav-caret {
  width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s; display: inline-block;
}
.nav-item.open .nav-caret { transform: rotate(225deg) translateY(-1px); }
.nav-hot { font-size: 10px; font-weight: 800; background: var(--rose); color: #fff; border-radius: 8px; padding: 1px 6px; letter-spacing: .04em; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  position: relative; transition: border-color .18s, color .18s, background .18s;
}
.icon-btn:hover { border-color: var(--rose); color: var(--rose); background: var(--pink-50); }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.burger { display: none; }

/* ---------- mega menu "Dự án" ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px rgba(94, 42, 69, .16);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.site-header.mega-open .mega.on { opacity: 1; visibility: visible; transform: none; }
.mega-inner { max-width: 1240px; margin: 0 auto; padding: 30px 24px 34px; display: grid; grid-template-columns: 260px 1.4fr 1fr; gap: 36px; }
.mega-col .kicker { margin-bottom: 14px; }
.mega-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.mega-link:hover { background: var(--pink-50); color: var(--rose); }
.mega-link .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mega-link .nm { font-weight: 600; font-size: 14.5px; flex: 1; }
.mega-link .ct { font-size: 12px; font-weight: 700; color: var(--slate); background: var(--pink-100); border-radius: 10px; padding: 1px 9px; }
.mega-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; background: var(--pink-50); border-radius: var(--radius); padding: 14px; }
.mega-feature .thumb { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature .nm { font-family: var(--serif); font-style: italic; font-size: 24px; font-weight: 700; color: var(--plum); line-height: 1.15; }
.mega-feature .sb { font-size: 13px; color: var(--slate); margin: 6px 0 10px; display: block; }
.mega-feature .pr { font-size: 14px; font-weight: 700; color: var(--rose); display: block; margin-bottom: 10px; }
.mega-mini { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); transition: background .15s; }
.mega-mini:hover { background: var(--pink-50); }
.mega-mini .thumb { width: 74px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; }
.mega-mini .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-mini b { font-size: 14px; display: block; line-height: 1.35; }
.mega-mini span { font-size: 12.5px; color: var(--muted); }
.mega-soon { border: 1.5px dashed var(--pink-300); border-radius: var(--radius-sm); padding: 14px; font-size: 13.5px; color: var(--slate); margin-top: 8px; }
.mega-scrim {
  position: fixed; inset: 0; background: rgba(63, 26, 46, .28); z-index: 54;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.mega-scrim.on { opacity: 1; visibility: visible; }

/* ---------- drawer mobile ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(63, 26, 46, .45); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(350px, 88vw);
  background: #fff; padding: 22px; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.d-link { display: block; padding: 11px 6px; font-weight: 600; font-size: 15.5px; border-bottom: 1px solid var(--line-soft); }
.d-link.active { color: var(--rose); }
.d-sub { font-weight: 500; font-size: 14px; color: var(--slate); padding-left: 20px; }

/* ---------- HERO trang chủ: dự án tâm điểm ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero .hero-bg, .hero-bg.img-box { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(63, 26, 46, .82) 6%, rgba(94, 42, 69, .5) 48%, rgba(94, 42, 69, .05) 80%),
              linear-gradient(0deg, rgba(63, 26, 46, .45), transparent 40%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 130px; }
.hero .kicker { color: var(--pink-200); }
.hero .kicker::before { background: var(--gold); }
.hero h1 { margin: 16px 0 10px; max-width: 760px; }
.hero h1 .serif { color: var(--pink-200); }
.hero .lead { color: rgba(255, 255, 255, .88); max-width: 600px; }
.hero-logo { height: 46px; width: auto; margin-bottom: 18px; opacity: .95; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.hero-badge { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.hero-badge b { color: var(--pink-200); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-price { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hero-price .lb { font-size: 13px; color: rgba(255, 255, 255, .75); text-transform: uppercase; letter-spacing: .12em; }
.hero-price b { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: #fff; }
.hero-price small { font-size: 13px; color: rgba(255, 255, 255, .75); }

/* thẻ Vicky nổi trên hero */
.vicky-float {
  position: absolute; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 120px; z-index: 3;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; gap: 14px; align-items: center; max-width: 340px;
}
.vicky-float .av { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 3px var(--pink-200); }
.vicky-float .av img { width: 100%; height: 100%; object-fit: cover; }
.vicky-float b { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--plum); display: block; line-height: 1.2; }
.vicky-float span { font-size: 12.5px; color: var(--muted); display: block; }
.vicky-float .row { display: flex; gap: 6px; margin-top: 8px; }

/* quick search */
.qs-box { position: relative; z-index: 5; max-width: 1240px; margin: -72px auto 0; padding: 0 24px; }
.qs-panel {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft);
  padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end;
}
.qs-field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.qs-field select, .qs-field input {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--pink-50); outline: none; transition: border-color .15s;
}
.qs-field select:focus, .qs-field input:focus { border-color: var(--rose); background: #fff; }

/* ---------- 3 trụ giá trị ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px;
  position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--pink-100); color: var(--rose); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pillar .ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.pillar p { font-size: 14.5px; color: var(--slate); }
.pillar .no { position: absolute; right: 18px; top: 10px; font-family: var(--serif); font-style: italic; font-size: 56px; color: var(--pink-100); font-weight: 700; line-height: 1; }

/* ---------- khối dự án tâm điểm (feature) ---------- */
.proj-feature {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: 28px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft);
}
.proj-feature .media { position: relative; min-height: 460px; }
.proj-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-feature .media img.logo-on { inset: auto; left: 28px; bottom: 24px; height: 40px; width: auto; z-index: 2; }
.proj-feature .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(63, 26, 46, .55), transparent 45%); }
.proj-feature .body { padding: 38px 38px 34px; display: flex; flex-direction: column; gap: 14px; }
.proj-feature .nm { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--plum); line-height: 1.05; }
.proj-feature .tg { color: var(--slate); font-size: 15.5px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fact { background: var(--pink-50); border-radius: 14px; padding: 12px 14px; }
.fact b { display: block; font-size: 19px; font-weight: 800; color: var(--plum); line-height: 1.2; }
.fact span { font-size: 12px; color: var(--muted); }
.price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-top: 6px; border-top: 1px dashed var(--line); }
.price-line .lb { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.price-line b { font-size: 26px; font-weight: 800; color: var(--rose); }
.price-line small { font-size: 12.5px; color: var(--muted); }

/* thẻ "dự án sắp cập nhật" */
.soon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 24px; }
.soon-card {
  border: 1.5px dashed var(--pink-300); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; align-items: center;
  background: repeating-linear-gradient(135deg, #fff, #fff 14px, var(--pink-50) 14px, var(--pink-50) 28px);
}
.soon-card .ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--rose); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--shadow); }
.soon-card b { display: block; font-size: 16px; }
.soon-card span { font-size: 13.5px; color: var(--slate); }

/* ---------- thẻ dự án ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line-soft); box-shadow: 0 2px 12px rgba(94, 42, 69, .05);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.proj-card .thumb { aspect-ratio: 4/3; position: relative; }
.proj-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.proj-card:hover .thumb img { transform: scale(1.06); }
.proj-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(63, 26, 46, .7), transparent 50%); z-index: 1; }
.proj-card .on-img { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 2; color: #fff; }
.proj-card .on-img .nm, .proj-card .on-img .dv { display: block; }
.proj-card .on-img .nm { font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 700; line-height: 1.1; }
.proj-card .on-img .dv { font-size: 12.5px; opacity: .85; }
.proj-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.proj-card .ad { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; color: var(--muted); }
.proj-card .ad svg { flex: none; margin-top: 3px; }
.proj-card .icons { display: flex; gap: 8px; flex-wrap: wrap; }
.proj-card .icons span { font-size: 12px; background: var(--pink-50); color: var(--plum); border-radius: 10px; padding: 3px 10px; font-weight: 600; }
.proj-card .foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.proj-card .pr { font-size: 15px; font-weight: 800; color: var(--rose); }
.proj-card .pr small { font-size: 12px; font-weight: 500; color: var(--muted); }

/* nhãn tình trạng (pastel phân biệt) */
.flag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: var(--rose); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; letter-spacing: .03em;
}
.st-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.st-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-selling { background: var(--pink-100); color: var(--rose-deep); }
.st-upcoming { background: var(--lav); color: var(--lav-ink); }
.st-handed { background: var(--mint); color: var(--mint-ink); }
.flag.st-selling, .flag.st-upcoming, .flag.st-handed { position: absolute; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .94); color: var(--slate);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, transform .15s;
}
.fav-btn:hover { transform: scale(1.12); color: var(--rose); }
.fav-btn.on { color: var(--rose); }

/* ---------- thẻ căn (unit) ---------- */
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.unit-grid-4 { grid-template-columns: repeat(4, 1fr); }
.unit-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft);
  box-shadow: 0 2px 12px rgba(94, 42, 69, .05); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.unit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.unit-card .thumb { display: block; aspect-ratio: 16/10.5; position: relative; }
.unit-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.unit-card:hover .thumb img { transform: scale(1.06); }
.unit-card .proj-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(255, 255, 255, .94); color: var(--plum);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 14px; display: inline-flex; gap: 6px; align-items: center;
}
.unit-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.unit-card .nm { font-weight: 700; font-size: 16px; line-height: 1.35; }
.unit-card .code { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
.unit-card .specs { display: flex; gap: 12px; font-size: 13px; color: var(--slate); font-weight: 600; flex-wrap: wrap; }
.unit-card .specs span { display: inline-flex; align-items: center; gap: 5px; }
.unit-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.unit-card .pr { color: var(--rose); font-size: 17px; font-weight: 800; }
.unit-card .pr small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.ust { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 12px; white-space: nowrap; }
.ust-available { background: var(--mint); color: var(--mint-ink); }
.ust-reserved { background: #FFF1DD; color: #8A5310; }
.ust-sold { background: #EFE9ED; color: var(--muted); }

/* ---------- dải số liệu (plum) ---------- */
.stat-band { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.stat-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -260px; background: radial-gradient(circle, rgba(248, 207, 221, .22), transparent 70%); }
.stat-band-inner {
  position: relative; max-width: 1240px; margin: 0 auto; padding: 50px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center;
}
.stat-band b { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; display: block; line-height: 1.15; }
.stat-band b small { font-size: .5em; font-weight: 600; }
.stat-band .lb { font-size: 13.5px; color: rgba(255, 255, 255, .8); margin-top: 4px; display: block; }

/* ---------- img-box shimmer ---------- */
.img-box { position: relative; overflow: hidden; background: var(--pink-100); }
.img-box:not(.loaded)::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  animation: shimmer 1.3s infinite; z-index: 1;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.img-fade { opacity: 0; transition: opacity .5s; }
.img-fade.loaded { opacity: 1; }

/* ---------- Về Vicky (teaser + trang) ---------- */
.about-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.portrait-frame { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.portrait-frame::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 200px 200px 28px 28px;
  background: var(--pink-200); z-index: 0;
}
.portrait-frame::after {
  content: ""; position: absolute; right: -14px; top: 40px; width: 90px; height: 90px; border-radius: 50%;
  border: 2px solid var(--gold); z-index: 0;
}
.portrait-frame .img-box { position: relative; z-index: 1; border-radius: 200px 200px 28px 28px; aspect-ratio: 1/1.08; box-shadow: var(--shadow-lg); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }
.portrait-badge {
  position: absolute; z-index: 2; left: -10px; bottom: 34px; background: #fff; border-radius: 18px; padding: 12px 18px;
  box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center;
}
.portrait-badge b { font-size: 30px; font-weight: 800; color: var(--rose); line-height: 1; }
.portrait-badge span { font-size: 12.5px; color: var(--slate); line-height: 1.35; }
.portrait-badge.agency b { font-size: 15px; color: var(--plum); line-height: 1.3; }
.portrait-badge.agency { max-width: 260px; }
.about-name { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--plum); font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }
.about-role { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-top: 8px; }
.quote-block {
  position: relative; background: var(--pink-50); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px 22px 30px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--plum); line-height: 1.55;
}
.quote-block::before { content: "“"; position: absolute; left: 10px; top: -8px; font-size: 60px; color: var(--pink-300); font-family: var(--serif); }
.quote-block cite { display: block; margin-top: 10px; font-family: var(--font); font-style: normal; font-size: 13px; color: var(--gold-ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-stat { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff; }
.mini-stat b { font-size: 26px; font-weight: 800; color: var(--plum); display: block; line-height: 1.15; }
.mini-stat span { font-size: 12.5px; color: var(--muted); }

/* quy trình 5 bước */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: st; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--pink-300) 0 8px, transparent 8px 14px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step .no {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px; background: #fff; border: 2px solid var(--pink-200);
  display: flex; align-items: center; justify-content: center; color: var(--rose); box-shadow: var(--shadow);
}
.step .no svg { width: 26px; height: 26px; }
.step h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: 13.5px; color: var(--slate); line-height: 1.55; }
.step .ix { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--gold-ink); }

/* chủ đầu tư đã đồng hành (chữ, không logo) */
.dev-rows { display: grid; gap: 14px; }
.dev-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dev-row .lb { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-width: 150px; }
.dev-chip { background: #fff; border: 1px solid var(--line); border-radius: 3rem; padding: 9px 20px; font-weight: 700; font-size: 14.5px; color: var(--plum); transition: all .18s; }
.dev-chip:hover { border-color: var(--rose); color: var(--rose); }
.dev-chip.hl { background: var(--pink-100); border-color: var(--pink-200); }

/* thành tích */
.award-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.award-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); cursor: zoom-in; transition: transform .25s, box-shadow .25s; }
.award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.award-card .thumb { aspect-ratio: 4/3; }
.award-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.award-card .body { padding: 14px 16px 16px; }
.award-card .yr { font-size: 12px; font-weight: 800; color: var(--gold-ink); letter-spacing: .12em; }
.award-card b { display: block; font-size: 15px; line-height: 1.4; margin-top: 2px; }
.award-card span { font-size: 12.5px; color: var(--muted); }

/* timeline dọc */
.tl { position: relative; padding-left: 30px; }
.tl::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--pink-300), var(--pink-100)); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--rose-400); }
.tl-item.now::before { background: var(--rose); border-color: var(--pink-200); box-shadow: 0 0 0 5px rgba(224, 122, 156, .25); }
.tl-item .dt { font-size: 12.5px; font-weight: 800; color: var(--gold-ink); letter-spacing: .08em; }
.tl-item b { display: block; font-size: 16px; margin: 2px 0 3px; }
.tl-item p { font-size: 14px; color: var(--slate); }

/* ---------- tin tức ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card .thumb { aspect-ratio: 16/9.5; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .meta { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); align-items: center; flex-wrap: wrap; }
.news-card .cat { color: var(--rose); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.news-card .nm { font-weight: 700; font-size: 16.5px; line-height: 1.45; }
.news-card .ex { font-size: 14px; color: var(--muted); }
.article { max-width: 780px; margin: 0 auto; }
.article .cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/8.5; margin: 22px 0 30px; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 22px; margin: 30px 0 10px; }
.article p { margin-bottom: 14px; color: #3c3240; font-size: 16.5px; }
.article ul { margin: 0 0 16px 20px; color: #3c3240; }
.article li { margin-bottom: 6px; }
.article .by { display: flex; gap: 12px; align-items: center; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.article .by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--slate);
  border-radius: 20px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; transition: all .15s;
}
.chip:hover { border-color: var(--rose); color: var(--rose); }
.chip.on { background: var(--rose); border-color: var(--rose); color: #fff; }
.chips-sm .chip { padding: 6px 14px; font-size: 12.5px; }

/* ---------- page hero (nền hồng sáng) ---------- */
.page-hero { background: var(--grad-pink); padding: 54px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .8), transparent 70%); }
.page-hero::before { content: ""; position: absolute; left: 40%; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; border: 2px solid rgba(201, 162, 122, .35); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; position: relative; z-index: 2; }
.crumbs a:hover { color: var(--rose); text-decoration: underline; }
.page-hero h1 { position: relative; z-index: 2; color: var(--plum); }
.page-hero .sub { color: var(--slate); margin-top: 12px; max-width: 680px; position: relative; z-index: 2; font-size: 16.5px; }

/* ---------- listing ---------- */
.listing-layout { display: grid; grid-template-columns: 284px 1fr; gap: 34px; align-items: start; }
.filter-panel {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px; position: sticky; top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto;
}
.filter-group { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-group h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 11px; }
.filter-group select, .filter-group input[type="search"] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--pink-50); outline: none;
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--rose); background: #fff; }
.fcheck { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.fcheck input { accent-color: var(--rose); width: 16px; height: 16px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.list-toolbar .count { font-size: 14.5px; color: var(--slate); }
.list-toolbar .count b { color: var(--rose); font-size: 17px; }
.list-toolbar select { padding: 10px 14px; border: 1px solid var(--line); border-radius: 3rem; background: #fff; outline: none; font-weight: 600; }
.empty-box { text-align: center; padding: 60px 20px; background: var(--pink-50); border-radius: var(--radius); color: var(--slate); }
.disclaimer {
  display: flex; gap: 12px; align-items: flex-start; background: #FFF8EC; border: 1px solid #F4E1BF; color: #6E5226;
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; line-height: 1.55;
}
.disclaimer svg { flex: none; margin-top: 2px; }

/* ---------- CHI TIẾT DỰ ÁN ---------- */
.pj-hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.pj-hero .hero-bg { position: absolute; inset: 0; }
.pj-hero .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(63, 26, 46, .88) 0%, rgba(63, 26, 46, .4) 45%, rgba(63, 26, 46, .1) 75%);
}
.pj-hero .inner { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 44px; }
.pj-hero .crumbs { color: rgba(255, 255, 255, .78); }
.pj-hero .crumbs a:hover { color: #fff; }
.pj-hero .logo-img { height: 54px; width: auto; margin-bottom: 12px; }
.pj-hero h1 { font-family: var(--serif); font-style: italic; font-size: clamp(42px, 6vw, 76px); line-height: 1; font-weight: 700; }
.pj-hero .tg { font-size: 18px; color: rgba(255, 255, 255, .88); margin-top: 10px; max-width: 680px; }
.pj-hero .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.pj-hero .gal-btns { position: absolute; right: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 44px; z-index: 3; display: flex; gap: 10px; }
.keybar { background: #fff; border-bottom: 1px solid var(--line-soft); box-shadow: 0 10px 30px rgba(94, 42, 69, .06); position: relative; z-index: 4; }
.keybar-inner { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.keybar .k span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.keybar .k b { display: block; font-size: 16.5px; font-weight: 800; color: var(--plum); line-height: 1.3; margin-top: 3px; }
.keybar .k.hl b { color: var(--rose); font-size: 19px; }

.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.subnav-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 14px 14px; font-size: 14px; font-weight: 600; color: var(--slate); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.subnav a:hover { color: var(--rose); }
.subnav a.on { color: var(--rose); border-bottom-color: var(--rose); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.pj-sec { padding-top: 56px; scroll-margin-top: calc(var(--header-h) + 60px); }
.pj-sec:first-child { padding-top: 40px; }
.pj-sec > .kicker { margin-bottom: 10px; }
.pj-sec > h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; line-height: 1.2; margin-bottom: 18px; color: var(--ink); }
.pj-sec > p.lead { margin-bottom: 20px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.tile { background: var(--pink-50); border-radius: 16px; padding: 16px; position: relative; overflow: hidden; }
.tile b { display: block; font-size: 25px; font-weight: 800; color: var(--plum); line-height: 1.15; }
.tile span { font-size: 12.5px; color: var(--slate); }
.tile::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 46px; height: 46px; border-radius: 50%; background: var(--pink-100); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table td, .spec-table th { padding: 11px 8px; vertical-align: top; text-align: left; }
.spec-table td:first-child { color: var(--slate); width: 38%; font-weight: 600; }
.spec-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--pink-50); }
.data-table td:first-child { width: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.hl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hl-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; }
.hl-item .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--pink-100); color: var(--rose); display: flex; align-items: center; justify-content: center; flex: none; }
.hl-item b { display: block; font-size: 14.5px; }
.hl-item span { font-size: 13px; color: var(--slate); line-height: 1.5; display: block; }
.award-strip { display: flex; gap: 16px; align-items: center; background: linear-gradient(120deg, #FFF8EC, #FDF0F4); border: 1px solid #F1DDC4; border-radius: var(--radius); padding: 14px 18px; margin-top: 18px; }
.award-strip .ic { color: var(--gold-ink); flex: none; }
.award-strip b { font-size: 14.5px; display: block; }
.award-strip span { font-size: 13px; color: var(--slate); }

/* gallery mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 10px; }
.mosaic .img-box { border-radius: 14px; cursor: zoom-in; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic .img-box:hover img { transform: scale(1.05); }
.mosaic .big { grid-column: span 2; grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
.mosaic .more { position: absolute; inset: 0; z-index: 2; background: rgba(63, 26, 46, .55); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* video */
.video-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; }
.video-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; cursor: pointer; background: var(--plum-dark); border: 0; padding: 0; color: #fff; text-align: left; }
.video-card.tall { aspect-ratio: auto; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .4s, opacity .3s; }
.video-card:hover img { transform: scale(1.05); opacity: .7; }
.video-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--rose); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s; }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-card .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 13.5px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.video-modal .modal-panel { max-width: 960px; padding: 0; background: #000; overflow: hidden; }
.video-modal iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.video-modal.portrait .modal-panel { max-width: 420px; }
.video-modal.portrait iframe { aspect-ratio: 9/16; max-height: 80vh; }
.video-modal .modal-close { z-index: 3; background: rgba(255, 255, 255, .9); }

/* vị trí */
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.loc-group { background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px 18px; }
.loc-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--rose); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.loc-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line-soft); }
.loc-row:last-child { border-bottom: 0; }
.loc-row b { color: var(--plum); white-space: nowrap; }
.img-frame { border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 1px solid var(--line-soft); }
.img-frame img { width: 100%; height: auto; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.map-box iframe { display: block; width: 100%; height: 340px; border: 0; }

/* masterplan Palm City */
.mp-block { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--plum-dark); color: #fff; margin-top: 22px; }
.mp-block .media { position: relative; min-height: 300px; }
.mp-block .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mp-block .body { padding: 26px 28px; }
.mp-block .body img.lg { height: 34px; width: auto; margin-bottom: 12px; }
.mp-block p { font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.mp-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.mp-phase { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 10px 12px; }
.mp-phase.on { background: rgba(248, 207, 221, .18); border-color: var(--pink-300); }
.proj-feature.compact { grid-template-columns: 1fr 1.15fr; box-shadow: var(--shadow); margin-top: 6px; }
.proj-feature.compact .media { min-height: 220px; }
.proj-feature.compact .body { padding: 22px; }
.mp-phase b { display: block; font-size: 14px; }
.mp-phase span { font-size: 12px; color: rgba(255, 255, 255, .72); }

/* tiện ích */
.amen-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amen-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.amen-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.amen-card:hover img { transform: scale(1.06); }
.amen-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(63, 26, 46, .72), transparent 55%); }
.amen-card span { position: absolute; left: 14px; right: 14px; bottom: 11px; z-index: 2; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.35; }
.amen-card small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }
.acc { border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; margin-top: 10px; background: #fff; }
.acc + .acc { margin-top: 10px; }
.acc-h { width: 100%; text-align: left; background: #fff; border: 0; padding: 15px 18px; font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); }
.acc-h .ct { font-size: 12px; font-weight: 700; background: var(--pink-100); color: var(--rose-deep); border-radius: 10px; padding: 2px 10px; margin-left: auto; }
.acc-h i { width: 9px; height: 9px; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(45deg); transition: transform .2s; flex: none; }
.acc.open .acc-h i { transform: rotate(225deg); }
.acc-b { display: none; padding: 0 18px 16px; }
.acc.open .acc-b { display: block; }
.acc-b ul { columns: 2; column-gap: 24px; list-style: none; }
.acc-b li { font-size: 14px; padding: 4px 0 4px 18px; position: relative; break-inside: avoid; }
.acc-b li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--pink-300); }
.acc-b p { font-size: 14.5px; color: var(--slate); }

/* tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; background: var(--pink-50); padding: 5px; border-radius: 3rem; width: fit-content; max-width: 100%; }
.tab-btn { border: 0; background: none; padding: 9px 18px; font-size: 14px; font-weight: 700; color: var(--slate); border-radius: 3rem; transition: all .15s; white-space: nowrap; }
.tab-btn:hover { color: var(--rose); }
.tab-btn.on { background: #fff; color: var(--rose); box-shadow: 0 2px 10px rgba(94, 42, 69, .1); }
.tab-pane { display: none; }
.tab-pane.on { display: block; }

/* loại căn */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.type-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.type-card:hover { border-color: var(--pink-300); box-shadow: var(--shadow); }
.type-card .plan { background: #F4FAFD; height: 168px; display: flex; align-items: center; justify-content: center; padding: 10px; cursor: zoom-in; }
.type-card .plan img { max-height: 148px; width: auto; max-width: 100%; object-fit: contain; }
.type-card .plan.none { background: var(--pink-50); color: var(--rose); font-weight: 700; font-size: 13px; cursor: default; }
.type-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.type-card b { font-size: 15.5px; }
.type-card .ar { font-size: 13.5px; color: var(--slate); }
.type-card .pr { font-size: 14.5px; color: var(--rose); font-weight: 800; margin-top: auto; padding-top: 8px; }
.type-card .pr small { color: var(--muted); font-weight: 500; font-size: 11.5px; }

/* BẢNG HÀNG */
.stock-tools { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--slate); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.lg-a { background: #fff; border: 2px solid #5DBB94; }
.lg-r { background: #FFE7C2; }
.lg-s { background: #E9E1E6; }
.stock-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 16px; background: #fff; }
.stock { border-collapse: separate; border-spacing: 5px; width: 100%; min-width: 560px; font-size: 12.5px; }
.stock th { font-size: 11px; color: var(--muted); font-weight: 700; padding: 4px 2px; text-align: center; letter-spacing: .04em; }
.stock th.fl { width: 54px; color: var(--plum); font-size: 12px; }
.stock td { padding: 0; }
.cell {
  width: 100%; border: 0; border-radius: 8px; padding: 6px 4px; font-size: 11.5px; line-height: 1.25; text-align: center;
  font-weight: 700; display: block; transition: transform .12s, box-shadow .12s;
}
.cell small { display: block; font-weight: 500; font-size: 10.5px; opacity: .85; }
.cell.available { background: #fff; color: var(--mint-ink); box-shadow: inset 0 0 0 2px #5DBB94; }
.cell.reserved { background: #FFE7C2; color: #7A4A0E; }
.cell.sold { background: #E9E1E6; color: #8E7F89; cursor: default; }
.cell.dim { opacity: .22; }
.cell:not(.sold):hover { transform: scale(1.06); box-shadow: 0 6px 16px rgba(94, 42, 69, .2); }
.cell.amen { background: repeating-linear-gradient(135deg, var(--pink-50), var(--pink-50) 6px, #fff 6px, #fff 12px); color: var(--rose); cursor: default; font-weight: 600; }
.stock-sum { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; }
.stock-sum span { background: var(--pink-50); border-radius: 10px; padding: 5px 12px; }
.stock-sum b { color: var(--plum); }

/* thanh toán */
.pay-head { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.pay-head .box { border-radius: 16px; padding: 16px 18px; background: var(--pink-50); }
.pay-head .box.dark { background: var(--grad); color: #fff; }
.pay-head .box span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .8; display: block; }
.pay-head .box b { font-size: 22px; font-weight: 800; display: block; line-height: 1.25; margin-top: 4px; }
.pay-head .box small { font-size: 12.5px; opacity: .8; }
.pay-head .box .btn { margin-top: 10px; }
.ptl { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 0; overflow-x: auto; padding: 8px 2px 4px; }
.ptl-step { position: relative; text-align: center; padding: 0 4px; }
.ptl-step::before { content: ""; position: absolute; top: 47px; left: 0; right: 0; height: 2px; background: var(--pink-200); }
.ptl-step:first-child::before { left: 50%; }
.ptl-step:last-child::before { right: 50%; }
.ptl-step .pct { font-size: 20px; font-weight: 800; color: var(--plum); height: 30px; }
.ptl-step .pct.bank { color: var(--sky-ink); }
.ptl-step .dot { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--rose-400); margin: 8px auto 8px; position: relative; z-index: 1; }
.ptl-step.big .dot { background: var(--rose); border-color: var(--pink-200); width: 20px; height: 20px; margin-top: 6px; }
.ptl-step .lb { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.ptl-step .wh { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.bank-note { margin-top: 10px; background: var(--sky); color: var(--sky-ink); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; }
.calc { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc .field label { font-size: 12.5px; }
.calc-out { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-res { background: var(--pink-50); border-radius: 16px; padding: 16px 18px; }
.calc-res .big { font-size: 28px; font-weight: 800; color: var(--rose); line-height: 1.2; }
.calc-res .row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.calc-res .row:last-child { border-bottom: 0; }
.calc-res .row b { color: var(--plum); white-space: nowrap; }
.sched { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sched td { padding: 7px 6px; border-bottom: 1px dashed var(--line); }
.sched td:last-child { text-align: right; font-weight: 700; color: var(--plum); white-space: nowrap; }
.sched tr.bank td { color: var(--sky-ink); }
.sched tr.tot td { border-bottom: 0; font-weight: 800; border-top: 2px solid var(--line); }

/* nhận xét của Vicky */
.vk-review { background: var(--grad-pink); border-radius: 26px; padding: 30px; position: relative; overflow: hidden; }
.vk-review::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(201, 162, 122, .4); }
.vk-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; position: relative; z-index: 1; }
.vk-head img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff; }
.vk-head b { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--plum); display: block; line-height: 1.15; }
.vk-head span { font-size: 13px; color: var(--slate); }
.vk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.vk-col { background: rgba(255, 255, 255, .85); border-radius: 18px; padding: 18px 20px; }
.vk-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.vk-col.pro h4 { color: var(--mint-ink); }
.vk-col.con h4 { color: #8A5310; }
.vk-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.vk-col li { font-size: 14.5px; padding-left: 22px; position: relative; line-height: 1.55; }
.vk-col.pro li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-ink); font-weight: 800; }
.vk-col.con li::before { content: "!"; position: absolute; left: 4px; color: #B36A10; font-weight: 800; }
.vk-fit { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.vk-fit .lb { font-size: 12.5px; font-weight: 700; color: var(--plum); text-transform: uppercase; letter-spacing: .1em; margin-right: 4px; }
.vk-fit span.t { background: #fff; border-radius: 3rem; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--plum); }
.vk-review .quote-block { margin-top: 18px; background: rgba(255, 255, 255, .7); position: relative; z-index: 1; }

/* sidebar */
.side-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; position: sticky; top: calc(var(--header-h) + 70px);
}
.side-vk { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line); }
.side-vk img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--pink-200); }
.side-vk b { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--plum); display: block; line-height: 1.15; }
.side-vk span { font-size: 12px; color: var(--muted); display: block; line-height: 1.4; }
.side-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.side-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.side-card form { display: flex; flex-direction: column; gap: 10px; }
.side-card input, .side-card select, .side-card textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--pink-50); outline: none;
}
.side-card input:focus, .side-card select:focus, .side-card textarea:focus { border-color: var(--rose); background: #fff; }
.side-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.side-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* thanh hành động mobile */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(94, 42, 69, .12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.mbar a, .mbar button { flex: 1; padding: 11px 6px; font-size: 13.5px; }

/* nút liên hệ nổi */
.fab { position: fixed; right: 18px; bottom: 22px; z-index: 65; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); transition: transform .18s; position: relative; }
.fab a:hover { transform: scale(1.08); }
.fab .z { background: var(--zalo); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.fab .p { background: var(--rose); }
.fab .p::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(176, 63, 106, .55); animation: ring 2.2s infinite; }
.fab .t { background: #111; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(176, 63, 106, .5); } 80%, 100% { box-shadow: 0 0 0 16px rgba(176, 63, 106, 0); } }
.fab .tip { position: absolute; right: 62px; white-space: nowrap; background: var(--plum-dark); color: #fff; font-size: 12.5px; padding: 6px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .18s; }
.fab a:hover .tip { opacity: 1; }

/* lưới 2 cột chung, gập 1 cột ở mobile */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.split-2 > * { min-width: 0; }
.split-2.wide-r { grid-template-columns: .8fr 1.2fr; gap: 44px; }
.contact-cards.c4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- form pages ---------- */
.form-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.field label em { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--pink-50); outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px 18px; transition: border-color .18s, box-shadow .18s; }
.contact-card:hover { border-color: var(--pink-300); box-shadow: var(--shadow); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.contact-card b { display: block; font-size: 15.5px; }
.contact-card span { font-size: 13px; color: var(--muted); }

/* ---------- admin ---------- */
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--plum-dark); color: rgba(255, 255, 255, .8); padding: 22px 0; }
.admin-side .logo { padding: 4px 20px 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 14px; display: flex; }
.admin-link {
  display: flex; align-items: center; gap: 11px; padding: 11px 22px; font-size: 14px; font-weight: 600;
  border-left: 3px solid transparent; cursor: pointer; background: none; border-top: 0; border-right: 0; border-bottom: 0;
  color: rgba(255, 255, 255, .8); width: 100%; text-align: left;
}
.admin-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.admin-link.on { color: #fff; border-left-color: var(--pink-300); background: rgba(255, 255, 255, .08); }
.admin-main { background: var(--pink-50); padding: 26px 30px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line-soft); padding: 22px; margin-bottom: 20px; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.admin-kpi { background: #fff; border-radius: var(--radius); border: 1px solid var(--line-soft); padding: 18px 20px; }
.admin-kpi b { font-size: 26px; font-weight: 800; color: var(--rose); display: block; }
.admin-kpi span { font-size: 13px; color: var(--muted); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { text-align: left; padding: 10px 12px; background: var(--pink-50); color: var(--slate); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.admin-table select { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12.5px; }

/* ---------- modal / toast / lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(63, 26, 46, .55); opacity: 0; transition: opacity .25s; }
.modal.open .modal-bg { opacity: 1; }
.modal-panel {
  position: relative; background: #fff; border-radius: var(--radius); padding: 30px;
  width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  transform: translateY(14px); opacity: 0; transition: transform .28s, opacity .28s; box-shadow: var(--shadow-lg);
}
.modal.open .modal-panel { transform: none; opacity: 1; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--slate); font-size: 14px;
}
#vhSearch input[type="search"] {
  width: 100%; margin-top: 16px; padding: 14px 4px; font-size: 17px; border: 0;
  border-bottom: 2px solid var(--line); background: transparent; outline: none;
}
#vhSearch input[type="search"]:focus { border-color: var(--rose); }
#vhSearchRes { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.search-hit { padding: 12px 14px; border-radius: var(--radius-sm); display: block; transition: background .15s; }
.search-hit:hover { background: var(--pink-50); }
.search-hit b { font-weight: 600; font-size: 15px; display: block; }
.search-hit span { font-size: 12.5px; color: var(--muted); }
.unit-modal .um-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.unit-modal h3 { font-size: 22px; margin-bottom: 4px; padding-right: 30px; }
.unit-modal .plan { background: #F4FAFD; border-radius: 14px; padding: 10px; margin: 12px 0; text-align: center; }
.unit-modal .plan img { max-height: 210px; margin: 0 auto; }
.unit-modal .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

#toastWrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: 92vw; }
.toast { background: var(--plum-dark); color: #fff; font-size: 14px; padding: 12px 22px; border-radius: 3rem; box-shadow: var(--shadow-lg); animation: toastIn .3s; max-width: 92vw; text-align: center; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

.lightbox { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.lightbox.open { visibility: visible; opacity: 1; }
.lightbox-bg { position: absolute; inset: 0; background: rgba(30, 12, 22, .93); }
.lightbox img { position: relative; z-index: 2; max-width: 90vw; max-height: 82vh; border-radius: 10px; transition: opacity .2s; background: #fff; }
.lightbox-cap { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .88); font-size: 13.5px; z-index: 3; text-align: center; width: 90vw; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 4; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lightbox-close { top: 22px; right: 22px; width: 42px; height: 42px; font-size: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255, 255, 255, .25); }

/* ---------- footer ---------- */
.site-footer { background: var(--plum-dark); color: rgba(255, 255, 255, .78); }
.footer-cta { background: var(--grad-pink); color: var(--ink); position: relative; overflow: hidden; }
.footer-cta::after { content: ""; position: absolute; right: 8%; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 2px solid rgba(201, 162, 122, .4); }
.footer-cta-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 56px 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-cta .vk { display: flex; gap: 20px; align-items: center; }
.footer-cta .vk img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #fff; flex: none; }
.footer-cta h2 { margin: 8px 0 6px; color: var(--plum); }
.footer-cta p { color: var(--slate); max-width: 560px; }
.footer-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
/* grid item mặc định min-width:auto → cột bị min-content ép rộng ở màn hẹp */
.footer-grid > div, .listing-layout > *, .detail-layout > *, .admin-wrap > *, .qs-panel > *, .form-grid > *,
.two-col > *, .about-split > *, .proj-feature > *, .mp-block > *, .calc-out > *, .vk-cols > * { min-width: 0; }
.footer-brand p { font-size: 14px; margin-top: 14px; line-height: 1.7; }
.footer-brand .slogan { font-family: var(--serif); font-style: italic; color: var(--pink-200); font-size: 18px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: all .18s; font-size: 12px; font-weight: 800; }
.social-row a:hover { background: var(--rose); border-color: var(--rose); }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-grid a, .ft-line { display: flex; font-size: 14px; padding: 5px 0; color: rgba(255, 255, 255, .78); transition: color .15s; align-items: flex-start; gap: 9px; }
.footer-grid a:hover { color: var(--pink-200); }
.ft-line svg, .footer-grid a svg { flex: none; margin-top: 4px; }
.ft-agency { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; font-size: 13px; }
.ft-agency b { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom-inner { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .58); flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, .75); }
.footer-bottom a:hover { color: var(--pink-200); }

/* ---------- motion ---------- */
.reveal, .reveal-l, .reveal-r, .reveal-s { opacity: 0; transition: opacity .7s var(--d, 0ms), transform .7s var(--d, 0ms); will-change: opacity, transform; }
.reveal { transform: translateY(26px); }
.reveal-l { transform: translateX(-30px); }
.reveal-r { transform: translateX(30px); }
.reveal-s { transform: scale(.94); }
.reveal.in, .reveal-l.in, .reveal-r.in, .reveal-s.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r, .reveal-s { opacity: 1; transform: none; transition: none; }
  .fab .p::after { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1330px) {
  .hd-cta { display: none; }
  .header-inner { gap: 16px; }
  .nav-item > a { padding: 10px 10px; font-size: 14.5px; }
}
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .burger { display: inline-flex; }
  .mega { display: none; }
  .qs-panel { grid-template-columns: repeat(2, 1fr); }
  .qs-panel .btn { grid-column: 1 / -1; }
  .unit-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
  .keybar-inner { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .steps::before { display: none; }
  .award-grid { grid-template-columns: repeat(2, 1fr); }
  .vicky-float { display: none; }
}
@media (max-width: 960px) {
  .section { padding: 60px 0; }
  .topbar .tb-mail { display: none; }
  .proj-grid, .news-grid, .unit-grid, .unit-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .about-split, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .proj-feature { grid-template-columns: 1fr; }
  .proj-feature .media { min-height: 300px; }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; max-height: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .stat-band-inner, .admin-kpis { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { display: flex; overflow-x: auto; padding: 10px; align-items: center; }
  .admin-side .logo { border: 0; padding: 0 14px; margin: 0; }
  .admin-link { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; width: auto; }
  .admin-link.on { border-left: 0; border-bottom-color: var(--pink-300); }
  .mp-block { grid-template-columns: 1fr; }
  .split-2.wide-r { grid-template-columns: 1fr; }
  .contact-cards.c4 { grid-template-columns: 1fr 1fr; }
  .mp-block .media { min-height: 220px; }
  .mbar { display: flex; }
  body.has-mbar { padding-bottom: 66px; }
  body.has-mbar .fab { bottom: 84px; }
  .pj-hero .gal-btns { top: 16px; bottom: auto; right: 16px; }
  .proj-feature.compact { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar-inner { padding: 7px 16px; gap: 12px; }
  .topbar .tb-agency { display: none; }
  .header-inner { padding: 0 16px; gap: 10px; }
  .logo-mark { width: 40px; height: 40px; font-size: 17px; }
  .logo-text b { font-size: 20px; }
  .logo-text small { font-size: 8.5px; letter-spacing: .2em; }
  .header-actions .icon-btn.hide-sm { display: none; }
  .hero { min-height: 560px; }
  .hero-inner { padding-top: 64px; padding-bottom: 110px; }
  .qs-box { padding: 0 16px; }
  .qs-panel { grid-template-columns: 1fr; padding: 18px; }
  .proj-grid, .news-grid, .unit-grid, .unit-grid-4, .soon-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-feature .body { padding: 24px 20px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .hl-list, .loc-grid, .vk-cols, .calc-out, .split-2, .split-2.wide-r, .contact-cards.c4 { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-grid .video-card:first-child { grid-column: 1 / -1; }
  .amen-cards, .type-grid { grid-template-columns: 1fr 1fr; }
  .acc-b ul { columns: 1; }
  .pay-head { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .keybar-inner { grid-template-columns: repeat(2, 1fr); padding: 14px 16px; }
  .subnav-inner { padding: 0 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 44px 16px 30px; }
  .footer-cta-inner { padding: 40px 16px; }
  .footer-cta .vk { flex-direction: column; align-items: flex-start; }
  .mini-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .mini-stat { padding: 10px; }
  .mini-stat b { font-size: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .award-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dev-row .lb { min-width: 0; width: 100%; }
  .pj-hero { min-height: 520px; }
  .vk-review { padding: 20px; }
  .side-card { padding: 18px; }
  .stat-band-inner { gap: 20px; padding: 40px 16px; }
  .fab { right: 12px; }
  .fab a { width: 48px; height: 48px; }
  .portrait-badge { left: 0; }
}
@media (max-width: 420px) {
  .amen-cards, .type-grid { gap: 8px; }
  .amen-card span { font-size: 12.5px; left: 10px; right: 10px; bottom: 8px; }
  .type-card .plan { height: 120px; }
  .type-card .plan img { max-height: 104px; }
  .type-card .body { padding: 10px 12px 12px; }
  .type-card b { font-size: 14px; }
  .type-card .ar, .type-card .pr { font-size: 12.5px; }
  .award-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile b { font-size: 21px; }
  .logo-text small { display: none; }
}
