/*
Theme Name: Hoàng Gia Minh
Theme URI: https://hoanggiaminh.com
Author: Hoàng Gia Minh
Description: Giao diện nhẹ, chuẩn SEO, hợp điện thoại cho website bất động sản Hoàng Gia Minh. Dùng kèm plugin "Hoàng Gia Minh – Tùy chỉnh".
Version: 2.3.9
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: hgm
*/

:root {
  --navy: #0b2447; --navy-2: #133a6b; --cam: #ea580c; --cam-2: #c2410c;
  --nen: #f3f6fa; --vien: #e2e7ef; --chu: #14223a; --mo: #5b6880;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rong: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--chu); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--cam); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--chu); font-weight: 700; }
.khung { width: min(var(--rong), 100% - 32px); margin-inline: auto; }
.an-chu, .bo-qua:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bo-qua:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 8px 12px; }

/* Thanh trên */
.thanh-tren { background: var(--navy); color: #b9c7dc; font-size: 13.5px; }
.thanh-tren .khung { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.thanh-tren a { color: #dbe5f3; text-decoration: none; }
.thanh-tren__phai { display: flex; gap: 18px; }
.thanh-tren__goi { color: #ffb27d !important; font-weight: 600; }
@media (max-width: 760px) { .thanh-tren { display: none; } }

/* Đầu trang */
.dau-trang { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--vien); }
.admin-bar .dau-trang { top: 32px; }
@media (max-width: 782px) { .admin-bar .dau-trang { top: 0; } }
.dau-trang__khung { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.thuong-hieu { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--chu); }
.thuong-hieu__logo { max-height: 56px; width: auto; }
.thuong-hieu__dau { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #ffb27d; font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.thuong-hieu__chu { display: flex; flex-direction: column; line-height: 1.15; }
.thuong-hieu__chu strong { font-size: 19px; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.thuong-hieu__chu small { font-size: 12.5px; color: var(--mo); }

.menu-chinh { display: flex; align-items: center; gap: 6px; }
.menu-chinh ul { list-style: none; margin: 0; padding: 0; }
.menu-chinh > ul, .menu-chinh .menu { display: flex; gap: 2px; }
.menu-chinh li { position: relative; }
.menu-chinh a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--chu); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.menu-chinh a:hover, .menu-chinh .current-menu-item > a { color: var(--cam); }
.menu-chinh .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px; background: #fff; border: 1px solid var(--vien); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(11, 36, 71, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.menu-chinh li:hover > .sub-menu, .menu-chinh li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu-chinh .sub-menu a { font-weight: 500; font-size: 15px; }
.menu-chinh .menu-item-has-children > a::after { content: "▾"; margin-left: 5px; font-size: 11px; color: var(--mo); }
.menu-chinh__goi { margin-left: 8px; background: var(--cam); color: #fff !important; border-radius: 10px !important; white-space: nowrap; }
.menu-chinh__goi:hover { background: var(--cam-2); }
.nut-menu { display: none; }

@media (max-width: 980px) {
  .nut-menu { display: inline-flex; flex-direction: column; gap: 5px; padding: 12px 10px; background: none; border: 0; cursor: pointer; }
  .nut-menu span { display: block; width: 24px; height: 2px; background: var(--navy); transition: .2s; }
  .menu-mo .nut-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-mo .nut-menu span:nth-child(2) { opacity: 0; }
  .menu-mo .nut-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-chinh { position: fixed; inset: 72px 0 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 90px; background: #fff; overflow-y: auto; }
  .menu-mo .menu-chinh { display: flex; }
  .menu-mo { overflow: hidden; }
  .menu-chinh > ul, .menu-chinh .menu { flex-direction: column; }
  .menu-chinh a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--vien); border-radius: 0; }
  .menu-chinh .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .menu-chinh li.mo > .sub-menu { display: block; }
  .menu-chinh__goi { margin: 16px 0 0; text-align: center; padding: 14px !important; }
}

/* Trang chủ */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero__anh { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 50, .92) 0%, rgba(7, 26, 50, .7) 48%, rgba(7, 26, 50, .25) 100%); }
.hero__chu { position: relative; z-index: 1; padding: 88px 0 72px; max-width: 760px; margin-left: max(16px, (100% - var(--rong)) / 2); }
.nhan { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: rgba(234, 88, 12, .18); color: #ffb27d; font-size: 14px; font-weight: 600; }
.hero h1 { margin: 0 0 16px; color: #fff; font-size: clamp(32px, 5vw, 52px); letter-spacing: -.01em; }
.hero__mo-ta { margin: 0 0 24px; color: #d7e2f2; font-size: 18px; }
.hero__nut { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; }
.hgm-btn--trang { background: #fff !important; color: var(--navy) !important; }
.hgm-btn--trang:hover { background: #ffe9db !important; }
.hero__so { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 0; padding: 0; color: #c3d1e6; font-size: 14.5px; }
.hero__so strong { display: block; color: #fff; font-size: 28px; }
@media (max-width: 760px) { .hero__chu { padding: 56px 0 48px; } .hero::after { background: rgba(7, 26, 50, .78); } .hero__mo-ta { font-size: 16.5px; } }

.phan { padding: 56px 0; }
.phan.khung { padding: 56px 0; }
.phan--nen { background: var(--nen); }
.phan__dau { margin-bottom: 24px; }
.phan__dau h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.phan__dau p { margin: 0; color: var(--mo); }
.phan__dau--ngang { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.phan__dau--ngang a { font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .phan, .phan.khung { padding: 40px 0; } }

.danh-muc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.danh-muc__o { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px; border: 1px solid var(--vien); text-decoration: none; color: var(--chu); background: linear-gradient(180deg, #fff, var(--nen)); transition: .2s; }
.danh-muc__o:hover { border-color: var(--cam); transform: translateY(-2px); }
.danh-muc__o strong { font-size: 19px; color: var(--navy); }
.danh-muc__o span { color: var(--mo); font-size: 15px; }
.danh-muc__o em { margin-top: auto; font-style: normal; color: var(--cam); font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { .danh-muc { grid-template-columns: 1fr; } }

.ly-do { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ly-do div { padding: 22px; background: #fff; border-radius: 14px; border: 1px solid var(--vien); }
.ly-do h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.ly-do p { margin: 0; color: var(--mo); font-size: 15.5px; }
@media (max-width: 980px) { .ly-do { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ly-do { grid-template-columns: 1fr; } }

/* Đầu mục / danh sách */
.dau-muc { background: var(--nen); border-bottom: 1px solid var(--vien); padding: 22px 0 26px; }
.dau-muc h1 { margin: 6px 0 8px; font-size: clamp(26px, 3.6vw, 38px); }
.dau-muc__mo-ta { margin: 0; color: var(--mo); max-width: 820px; }
.duong-dan ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--mo); }
.duong-dan li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.duong-dan a { color: var(--mo); text-decoration: none; }
.duong-dan a:hover { color: var(--cam); }
.duong-dan [aria-current] { color: var(--chu); }
.loc { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.loc a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--vien); background: #fff; color: var(--navy); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.loc a[aria-current], .loc a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.phan-trang ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 36px 0 0; }
.phan-trang a, .phan-trang span { display: block; min-width: 42px; padding: 9px 12px; text-align: center; border-radius: 8px; border: 1px solid var(--vien); text-decoration: none; color: var(--navy); }
.phan-trang .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Bài viết */
.bai-khung { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding: 32px 0 56px; }
.trang-khung { max-width: 860px; padding: 32px 0 56px; }
@media (max-width: 980px) { .bai-khung { grid-template-columns: minmax(0, 1fr); } }
.bai__ngay { margin: 0; color: var(--mo); font-size: 14px; }
.bai__tom-tat { font-size: 19px; font-weight: 500; color: var(--navy-2); border-left: 4px solid var(--cam); padding-left: 16px; }
.noi-dung-bai { overflow-wrap: anywhere; }
.noi-dung-bai h2 { font-size: 26px; margin: 1.6em 0 .6em; padding-top: .2em; }
.noi-dung-bai h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.noi-dung-bai img { display: block; margin: 18px auto; border-radius: 10px; height: auto; }
.noi-dung-bai table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.noi-dung-bai td, .noi-dung-bai th { border: 1px solid var(--vien); padding: 9px 12px; vertical-align: top; }
.noi-dung-bai tr:nth-child(even) td { background: var(--nen); }
.noi-dung-bai .hgm-thong-so table { display: table; margin: 0; font-size: 15.5px; overflow: visible; }
.noi-dung-bai .hgm-thong-so th, .noi-dung-bai .hgm-thong-so td { border: 0; border-bottom: 1px solid var(--vien); }
.noi-dung-bai .hgm-thong-so tr:nth-child(even) td { background: none; }
@media (max-width: 600px) { .noi-dung-bai .hgm-thong-so th { width: 38%; padding: 10px 12px; } .noi-dung-bai .hgm-thong-so td { padding: 10px 12px; } }
.noi-dung-bai blockquote { margin: 1.4em 0; padding: 12px 18px; border-left: 4px solid var(--cam); background: var(--nen); }
.noi-dung-bai iframe { max-width: 100%; }
.noi-dung-bai ul, .noi-dung-bai ol { padding-left: 1.3em; }

.cot-phu { display: flex; flex-direction: column; gap: 18px; }
.cot-phu__hop { padding: 18px; border-radius: 14px; border: 1px solid var(--vien); background: #fff; }
.cot-phu__lh { position: sticky; top: 92px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); border: 0; color: #d7e2f2; }
.cot-phu__lh .cot-phu__tieu-de { color: #fff; }
.cot-phu__lh .hgm-nut { flex-direction: column; }
.cot-phu__lh .hgm-btn { width: 100%; }
.cot-phu__tieu-de { margin: 0 0 10px; font-weight: 700; font-size: 17px; color: var(--navy); }
.cot-phu__ds { list-style: none; margin: 0; padding: 0; }
.cot-phu__ds a { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--vien); color: var(--chu); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.35; }
.cot-phu__ds img { width: 84px; height: 58px; object-fit: cover; border-radius: 8px; }
.cot-phu__menu { list-style: none; margin: 0; padding: 0; }
.cot-phu__menu a { display: block; padding: 8px 0; border-top: 1px solid var(--vien); text-decoration: none; color: var(--chu); }
.cot-phu__menu a[aria-current] { color: var(--cam); font-weight: 600; }
@media (max-width: 980px) { .cot-phu__lh { position: static; } }

/* Tìm kiếm */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 11px 12px; border: 1px solid #cfd7e3; border-radius: 8px; font: inherit; }
.search-submit { padding: 11px 18px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* Chân trang */
.chan-trang { background: #071a32; color: #9fb0c6; font-size: 15px; margin-top: 0; }
.chan-trang__luoi { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 48px 0 28px; }
.chan-trang__ten { margin: 0 0 8px; color: #fff; font-weight: 700; font-size: 18px; }
.chan-trang__tieu-de { margin: 0 0 10px; color: #ffb27d; font-weight: 700; }
.chan-trang ul { list-style: none; margin: 0; padding: 0; }
.chan-trang li { margin: 6px 0; }
.chan-trang a { color: #dbe5f3; text-decoration: none; }
.chan-trang a:hover { color: #ffb27d; }
.chan-trang__duoi { padding: 16px 0 24px; border-top: 1px solid rgba(159, 176, 198, .18); font-size: 13.5px; }
.chan-trang__duoi p { margin: 4px 0; }
.chan-trang__nguon, .chan-trang__nguon a { color: #7e90a8 !important; }
@media (max-width: 860px) { .chan-trang__luoi { grid-template-columns: 1fr; gap: 22px; } }

/* ================================================================== */
/* Trang dự án (single-du-an.php)                                       */
/* ================================================================== */
:root { --kem: #f3f6fa; --serif: "Playfair Display", Georgia, "Times New Roman", serif; }
.da { overflow-x: clip; }
.da em { font-style: italic; color: var(--cam); }
.da-hero { background: #0b2447; color: #e4ecf7; }
.da-hero__anh { margin: 0; height: min(66vh, 600px); background: #071a32; position: relative; overflow: hidden; }
.da-hero__anh::before { content: ""; position: absolute; inset: -40px; background: var(--nen) center / cover; filter: blur(28px) brightness(.75); }
.da-hero__anh img { position: relative; width: 100%; max-width: 1180px; height: 100%; margin: 0 auto; object-fit: cover; display: block; }
.da-hero__nen { background: radial-gradient(1200px 500px at 80% 0, #173f74 0, #0b2447 60%); }
.da-hero__khung { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 0 56px; }
.da-hero__khung--mot { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.da-hero .duong-dan ol, .da-hero .duong-dan a { color: #9fb3cf; }
.da-hero .duong-dan [aria-current] { color: #dbe6f5; }
.da-nhan { display: inline-block; margin: 14px 0 14px; padding: 5px 12px; border-radius: 999px; background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .4); color: #9ff0bd; font-size: 13.5px; font-weight: 600; }
.da-hero h1 { margin: 0 0 14px; color: #fff; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.12; }
.da-hero h1 em { display: block; color: #ff8a3d; }
.da-hero__mo-dau { margin: 0 0 22px; color: #c8d5e8; font-size: 17px; }
.da-so { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 24px; }
.da-so div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.da-so dt { font-size: 12.5px; color: #9fb3cf; text-transform: uppercase; letter-spacing: .04em; }
.da-so dd { margin: 4px 0 0; color: #fff; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.da-nut { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.da-nut .hgm-btn { box-shadow: 0 10px 24px -10px rgba(234, 88, 12, .9); }
.hgm-btn--vien { background: transparent !important; border: 1.5px solid rgba(255, 255, 255, .5) !important; color: #fff !important; box-shadow: none !important; }
.hgm-btn--vien:hover { background: rgba(255, 255, 255, .1) !important; }
.hgm-btn--vien-toi { background: transparent !important; border: 1.5px solid var(--navy) !important; color: var(--navy) !important; }
.da-hero__the { position: relative; display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); aspect-ratio: 4 / 3; }
.da-hero__the img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.da-hero__the:hover img { transform: scale(1.04); }
.da-hero__the span, .da-anh a span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(7, 26, 50, .72); color: #fff; font-size: 13px; line-height: 1.35; }
@media (max-width: 900px) { .da-hero__khung { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 40px; } .da-hero__anh { height: 42vh; } }

.da-menu { position: sticky; top: 72px; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--vien); }
.admin-bar .da-menu { top: 104px; }
.da-menu__khung { display: flex; align-items: center; gap: 14px; min-height: 58px; }
.da-menu__ds { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.da-menu__ds::-webkit-scrollbar { display: none; }
.da-menu__ds a { padding: 8px 13px; border-radius: 999px; white-space: nowrap; color: var(--chu); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.da-menu__ds a:hover, .da-menu__ds a.dang-xem { background: var(--navy); color: #fff; }
.da-menu__nut { padding: 10px 16px !important; font-size: 14.5px !important; white-space: nowrap; }
@media (max-width: 760px) { .da-menu { top: 72px; } .da-menu__nut { display: none !important; } }
.da-phan, .da-chot { scroll-margin-top: 140px; }
.single-du-an .da-phan, .single-du-an .da-chot { scroll-margin-top: 70px; }

.da-phan { padding: 64px 0; }
.da-phan--sang { background: var(--kem); }
.da-phan--trang { background: #fff; }
.da-phan--toi { background: #0b2447; color: #d3deee; }
.da-phan--toi .da-tieu-de, .da-phan--toi h3, .da-phan--toi strong { color: #fff; }
.da-phan--toi a { color: #ffb27d; }
.da-phan--toi .noi-dung-bai td, .da-phan--toi .noi-dung-bai th { border-color: rgba(255, 255, 255, .15); }
.da-phan--toi .noi-dung-bai tr:nth-child(even) td { background: rgba(255, 255, 255, .04); }
.da-kicker { margin: 0 0 8px; color: var(--cam); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.da-tieu-de { margin: 0 0 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(27px, 3.4vw, 40px); line-height: 1.2; max-width: 900px; }
.da-chu { max-width: 860px; }
.da-chu h2 { font-family: var(--serif); font-size: 25px; }
.da-anh { display: grid; gap: 14px; margin-top: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.da-anh--1 { grid-template-columns: minmax(0, 1fr); }
.da-anh--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.da-anh a { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #e2e7ef; aspect-ratio: 4 / 3; }
.da-anh--1 a { aspect-ratio: auto; max-height: 640px; }
.da-anh img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; border-radius: 0 !important; transition: transform .5s; }
.da-anh--1 img { object-fit: contain; background: #fff; }
.da-anh a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .da-anh:not(.da-anh--1), .da-anh--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .da-anh a span { display: none; } .da-phan { padding: 44px 0; } }

.da-cta { background: linear-gradient(120deg, #ea580c, #c2410c); color: #fff; }
.da-cta__khung { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.da-cta__tieu-de { margin: 0 0 4px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.da-cta p { margin: 0; color: #ffe8d9; }
.da-cta__nut { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.da-cta .hgm-btn:not(.hgm-btn--zalo) { background: #fff !important; color: #c2410c !important; }
@media (max-width: 760px) { .da-cta__khung { flex-direction: column; align-items: flex-start; } }

.da-album { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; }
.da-album a { border-radius: 12px; overflow: hidden; }
.da-album__lon { grid-column: span 2; grid-row: span 2; }
.da-album img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.da-album a:hover img { transform: scale(1.05); }
.da-album__nut { text-align: center; margin: 22px 0 0; }
@media (max-width: 760px) { .da-album { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; } }

.da-hoi-dap { max-width: 860px; }
.da-hoi-dap details { background: #fff; border: 1px solid var(--vien); border-radius: 12px; margin: 0 0 10px; }
.da-hoi-dap summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 44px; }
.da-hoi-dap summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--cam); }
.da-hoi-dap details[open] summary::after { content: "–"; }
.da-hoi-dap p { margin: 0; padding: 0 18px 16px; color: var(--mo); }

.da-chot { background: radial-gradient(900px 400px at 10% 0, #173f74 0, #0b2447 65%); color: #d3deee; padding: 64px 0; }
.da-chot__khung { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.da-chot h2 { margin: 0 0 14px; color: #fff; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; }
.da-chot h2 em { color: #ff8a3d; }
.da-chot__loi { list-style: none; padding: 0; margin: 18px 0; }
.da-chot__loi li { padding: 6px 0 6px 28px; position: relative; }
.da-chot__loi li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
@media (max-width: 900px) { .da-chot__khung { grid-template-columns: 1fr; } }

.da-hop-anh { position: fixed; inset: 0; z-index: 200; background: rgba(4, 12, 24, .94); display: flex; align-items: center; justify-content: center; }
.da-hop-anh[hidden] { display: none; }
.da-hop-anh figure { margin: 0; max-width: 92vw; text-align: center; }
.da-hop-anh img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.da-hop-anh figcaption { color: #c8d5e8; font-size: 14px; margin-top: 10px; }
.da-hop-anh button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.da-hop-anh__dong { top: 16px; right: 16px; }
.da-hop-anh__lui { left: 16px; top: 50%; transform: translateY(-50%); }
.da-hop-anh__toi { right: 16px; top: 50%; transform: translateY(-50%); }
body.dang-xem-anh { overflow: hidden; }

/* v1.1.0 – bố cục chữ + ảnh, thẻ thông số, danh sách tích */
.da-tach { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.da-tach + .da-anh { margin-top: 26px; }
.da-tach--dao .da-tach__cot { order: -1; }
.da-tach .da-chu { max-width: none; }
.da-tach__anh { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(7, 26, 50, .45); background: #e2e7ef; }
.da-tach__anh img { width: 100%; height: auto; max-height: 620px; display: block; margin: 0 !important; border-radius: 0 !important; object-fit: cover; transition: transform .5s; }
.da-tach__anh:hover img { transform: scale(1.03); }
.da-tach__anh span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(7, 26, 50, .72); color: #fff; font-size: 13px; line-height: 1.35; }
.da-the-ts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; }
.da-the-ts div { background: #fff; border: 1px solid #e2e7ef; border-radius: 16px; padding: 16px 18px; }
.da-the-ts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #6b7a8c; margin-bottom: 6px; }
.da-the-ts dd { margin: 0; font-weight: 700; color: #0b2240; line-height: 1.45; }
.da-phan--toi .da-the-ts div { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.da-phan--toi .da-the-ts dt { color: #9fb0c6; }
.da-phan--toi .da-the-ts dd { color: #fff; }
.da-chu ul { list-style: none; padding-left: 0; }
.da-chu ul li { position: relative; padding-left: 28px; margin: 8px 0; }
.da-chu ul li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--cam, #e8792b); font-weight: 800; }
.da-chu table { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.da-chu table th { background: #0b2240; color: #fff; text-align: left; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.da-chu table th, .da-chu table td { padding: 12px 14px; border-bottom: 1px solid #e2e7ef; }
.da-chu table tr:nth-child(even) td { background: rgba(11, 34, 64, .03); }
@media (max-width: 980px) { .da-the-ts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .da-tach { grid-template-columns: minmax(0, 1fr); gap: 22px; } .da-tach--dao .da-tach__anh { order: 0; } .da-tach__anh { position: static; } }
@media (max-width: 480px) { .da-the-ts { gap: 10px; } .da-the-ts div { padding: 12px 14px; } .da-the-ts dd { font-size: 14.5px; } }

/* v1.2.3 – cân hai bên */
.da-tach__cot { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.da-tach__cot--dinh { position: sticky; top: 90px; }
.da-tach__cot .da-the-ts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.da-tach__cot .da-tach__anh img { max-height: 460px; }
.da-tach__cot--dinh .da-tach__anh img { max-height: 620px; }
@media (max-width: 900px) { .da-tach__cot--dinh { position: static; } .da-tach--dao .da-tach__cot { order: 0; } }

.da-tach__cot .da-tach__anh span { display: none; }
.da-tach__cot .da-tach__anh:first-child span { display: block; }

/* v1.2.5 – trang dự án chỉ một thanh menu, có nút nhỏ về trang chủ */
.single-du-an .thanh-tren, .single-du-an .dau-trang { display: none; }
.single-du-an .da-menu { top: 0; }
.admin-bar.single-du-an .da-menu { top: 32px; }
@media (max-width: 782px) { .admin-bar.single-du-an .da-menu { top: 46px; } }
@media (max-width: 600px) { .admin-bar.single-du-an .da-menu { top: 0; } }
.da-menu__nha { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--vien); color: var(--cam); background: #fff; }
.da-menu__nha:hover { background: var(--cam); color: #fff; border-color: var(--cam); }
.da-menu__ten { flex: 0 0 auto; display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .02em; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 6px; border-right: 1px solid var(--vien); margin-right: 4px; }
.da-menu__ten small { font-family: inherit; font-size: 10.5px; letter-spacing: .14em; color: var(--cam); font-weight: 700; margin-top: 3px; }
@media (max-width: 760px) { .da-menu__ten { display: none; } .da-menu__khung { gap: 8px; } }

/* v1.2.7 – tên dự án tối đa 2 dòng, bỏ chữ thương hiệu */
.da-menu__ten { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow: hidden; max-width: 240px; font-size: 15px; line-height: 1.2; letter-spacing: .01em; }

/* v1.3.0 – bố cục cân đối: chữ dài một cột giữa, ảnh xen đoạn; lưới ảnh đều */
.da-phan .khung > .da-kicker, .da-phan .khung > .da-tieu-de { max-width: 900px; margin-left: auto; margin-right: auto; }
.da-phan .khung > .da-kicker { text-align: center; }
.da-phan .khung > .da-tieu-de { text-align: center; }
.da-doc { max-width: 900px; margin: 0 auto; }
.da-hinh { margin: 28px 0; }
.da-hinh a { display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 22px 46px -26px rgba(7, 26, 50, .45); }
.da-hinh img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; margin: 0 !important; border-radius: 0 !important; background: #fff; }
.da-phan--toi .da-hinh a, .da-phan--toi .da-hinh img { background: #0f2c52; }
.da-tach { max-width: 1100px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.da-tach__anh img { max-height: 520px !important; object-fit: contain; background: #fff; }
.da-the-ts { max-width: 1100px; margin-left: auto; margin-right: auto; }
.da-luoi { display: grid; gap: 18px; max-width: 1100px; margin: 30px auto 0; }
.da-luoi--1 { max-width: 900px; grid-template-columns: minmax(0, 1fr); }
.da-luoi--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.da-luoi--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.da-luoi a { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #e2e7ef; }
.da-luoi--1 a { aspect-ratio: auto; }
.da-luoi img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0 !important; border-radius: 0 !important; transition: transform .4s; }
.da-luoi a:hover img { transform: scale(1.03); }
.da-phan--toi .da-luoi a { background: #0f2c52; border-color: rgba(255, 255, 255, .1); }
@media (max-width: 900px) { .da-luoi--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .da-luoi--2, .da-luoi--3 { grid-template-columns: minmax(0, 1fr); } .da-hinh { margin: 20px 0; } }

/* v1.3.1 – lưới ảnh: hàng cuối căn giữa; menu không che chữ */
.da-luoi--2, .da-luoi--3 { display: flex; flex-wrap: wrap; justify-content: center; }
.da-luoi--2 a { flex: 0 0 calc((100% - 18px) / 2); }
.da-luoi--3 a { flex: 0 0 calc((100% - 36px) / 3); }
@media (max-width: 900px) { .da-luoi--3 a { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .da-luoi--2 a, .da-luoi--3 a { flex-basis: 100%; } }
.da-menu__ds { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 22px), transparent 100%); padding: 0 16px; scroll-padding: 0 24px; }
.da-menu--chat .da-menu__ten { display: none; }
.da-menu__ds a { padding: 8px 11px; font-size: 14px; }

/* v1.3.2 – chữ căn đều hai bên */
.noi-dung-bai p, .noi-dung-bai li, .da-hero__mo-dau, .da-cta p, .da-chot__chu p, .da-hoi-dap p, .bai__tom-tat { text-align: justify; text-justify: inter-word; -webkit-hyphens: none; hyphens: none; }
.noi-dung-bai p:has(> img:only-child), .noi-dung-bai p:has(> a:only-child > img) { text-align: center; }

/* ============ v1.4.0 – trình bày cao cấp ============ */
:root { --dong: #ea580c; --dong-nhat: #e2e7ef; --chu-dam: #1d2733; --chu-vua: #3d4754; }
.single-du-an .da-phan { padding: 96px 0; }
.single-du-an .da-phan--sang { background: #f3f6fa; }
.single-du-an .da-phan--trang { background: #fff; }
.da-kicker { color: var(--dong) !important; letter-spacing: .28em !important; font-size: 12px !important; font-weight: 600 !important; }
.da-kicker::after { content: ""; display: block; width: 44px; height: 1px; background: var(--dong); margin: 14px auto 0; }
.da-tieu-de { font-weight: 500 !important; letter-spacing: -.01em; line-height: 1.18 !important; margin-bottom: 34px !important; }
.da-tieu-de em { color: var(--dong) !important; font-weight: 400; }
.da-hero h1 em { color: #fb923c !important; }
.da-chu, .da-chu p, .da-chu li { color: var(--chu-vua); font-size: 17px; line-height: 1.85; }
.da-phan--toi .da-chu, .da-phan--toi .da-chu p, .da-phan--toi .da-chu li { color: rgba(255,255,255,.82); }
.da-chu p { margin: 0 0 1.15em; }
.da-chu strong { color: var(--chu-dam); font-weight: 600; }
.da-phan--toi .da-chu strong { color: #fff; }
.da-chu em { color: inherit; font-style: normal; font-weight: 600; }
.da-chu a { color: var(--dong); text-decoration: underline; text-decoration-color: var(--dong-nhat); text-underline-offset: 3px; }
.da-chu h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--chu-dam); margin: 2em 0 .7em; }
.da-phan--toi .da-chu h3 { color: #fff; }
.da-chu ul li { padding-left: 26px; margin: 10px 0; }
.da-chu ul li::before { content: ""; top: .78em; left: 4px; width: 8px; height: 8px; border: 1px solid var(--dong); transform: rotate(45deg); background: transparent; }
/* thẻ thông số */
.da-the-ts { gap: 1px; background: var(--dong-nhat); border: 1px solid var(--dong-nhat); border-radius: 18px; overflow: hidden; margin-top: 44px; }
.da-the-ts div { border: 0; border-radius: 0; background: #fff; padding: 22px 24px; }
.da-the-ts dt { color: var(--dong); letter-spacing: .16em; font-size: 11.5px; font-weight: 600; }
.da-the-ts dd { font-family: var(--serif); font-weight: 500; font-size: 17.5px; color: var(--chu-dam); }
.da-phan--toi .da-the-ts { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.da-phan--toi .da-the-ts div { background: #10294a; }
/* ảnh */
.da-hinh { margin: 38px 0; }
.da-hinh a, .da-tach__anh { border-radius: 14px; box-shadow: 0 30px 60px -38px rgba(7, 26, 50, .55); }
.da-luoi { gap: 22px; }
.da-luoi a { border: 0; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -30px rgba(7,26,50,.5); aspect-ratio: auto; }
.da-luoi img { height: auto; }
.da-luoi--2, .da-luoi--3 { align-items: flex-start; }
.da-tach { gap: 64px; }
/* chữ căn đều chỉ trên màn hình rộng; điện thoại căn trái cho đều nét */
@media (max-width: 900px) {
  .da-tach { grid-template-columns: minmax(0, 1fr) !important; gap: 26px; }
  .da-tach--dao .da-tach__cot { order: 0; }
  .noi-dung-bai p, .noi-dung-bai li, .da-hero__mo-dau, .da-cta p, .da-chot__chu p, .da-hoi-dap p, .bai__tom-tat { text-align: left; }
  .single-du-an .da-phan { padding: 60px 0; }
  .da-chu, .da-chu p, .da-chu li { font-size: 16.5px; line-height: 1.8; }
  .da-tieu-de { margin-bottom: 24px !important; }
  .da-the-ts div { padding: 16px 16px; }
  .da-the-ts dd { font-size: 15.5px; }
}

.da-the-ts { background: #fff; gap: 0; }
.da-the-ts div { box-shadow: 1px 0 0 var(--dong-nhat), 0 1px 0 var(--dong-nhat); }
.da-the-ts dd { font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.5; }
.da-phan--toi .da-the-ts { background: #10294a; }
.da-phan--toi .da-the-ts div { box-shadow: 1px 0 0 rgba(255,255,255,.12), 0 1px 0 rgba(255,255,255,.12); }

.da-the-ts--c1 { grid-template-columns: minmax(0,1fr); max-width: 520px; }
.da-the-ts--c2 { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 820px; }
.da-the-ts--c3 { grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 1000px; }
.da-the-ts--c4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.da-the-ts--c5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.da-the-ts--c4 > div:last-child:nth-child(4n+3) { grid-column: span 2; }
@media (max-width: 980px) { .da-the-ts--c3, .da-the-ts--c4, .da-the-ts--c5 { grid-template-columns: repeat(2, minmax(0,1fr)); } .da-the-ts > div:last-child:nth-child(odd) { grid-column: span 2; } }
@media (max-width: 420px) { .da-the-ts--c2, .da-the-ts--c3, .da-the-ts--c4, .da-the-ts--c5 { grid-template-columns: minmax(0,1fr); } .da-the-ts > div:last-child:nth-child(odd) { grid-column: auto; } }

/* ================= v1.5 – trang dự án theo hành trình ================= */
/* Đầu trang: ảnh ngang, thông điệp, con số, form */
.dh { position: relative; color: #fff; background: #071a32; overflow: hidden; }
.dh__anh { position: absolute; inset: 0; }
.dh__anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dh--vua .dh__anh::before { content: ""; position: absolute; inset: -40px; background: var(--nen) center / cover; filter: blur(30px) brightness(.6); }
.dh--vua .dh__anh img { position: relative; object-fit: contain; }
.dh__lop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,18,36,.86) 0%, rgba(5,18,36,.55) 45%, rgba(5,18,36,.15) 75%), linear-gradient(0deg, rgba(5,18,36,.75) 0%, rgba(5,18,36,0) 45%); }
.dh__khung { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr); gap: 48px; align-items: end; min-height: min(88vh, 820px); padding: 120px 0 56px; }
.dh__nhan { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(251,146,60,.55); border-radius: 999px; color: #fed7aa; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(4px); }
.dh h1 { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.dh h1 em { color: #fdba74; font-weight: 400; }
.dh__thong-diep { max-width: 640px; margin: 0 0 30px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; color: rgba(255,255,255,.9); text-align: justify; }
.dh__so { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 0; margin: 0; }
.dh__so div { padding: 4px 28px 4px 0; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.22); }
.dh__so div:last-child { border-right: 0; margin-right: 0; }
.dh__so dt { order: 2; font-size: 12.5px; color: rgba(255,255,255,.72); letter-spacing: .04em; max-width: 170px; line-height: 1.35; margin-top: 6px; }
.dh__so dd { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.dh__so div { display: flex; flex-direction: column-reverse; }
.dh__so b { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; color: #fff; }
.dh__so small { font-size: 14px; color: #fdba74; }
.dh__the { background: rgba(255,255,255,.97); color: var(--chu-dam, #1d2733); border-radius: 18px; padding: 26px 26px 20px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.dh__the-tieu-de { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.dh__the ul { margin: 0 0 16px; padding: 0; list-style: none; font-size: 14.5px; color: #4a5563; }
.dh__the li { position: relative; padding-left: 22px; margin: 5px 0; }
.dh__the li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 7px; height: 7px; border: 1px solid var(--dong, #ea580c); transform: rotate(45deg); }
.dh__the-zalo { margin: 12px 0 0; font-size: 13.5px; color: #5b6573; text-align: center; }
.dh__the-zalo a { color: var(--dong, #ea580c); font-weight: 600; }
.dh__duong { position: relative; padding-bottom: 18px; }
.dh__duong, .dh__duong a { color: rgba(255,255,255,.7); font-size: 13px; }
/* Form ngắn */
.da-form-nhanh { display: grid; gap: 10px; }
.da-form-nhanh label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.da-form-nhanh input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cfd7e3; border-radius: 10px; font: inherit; font-size: 15.5px; background: #fff; color: #1d2733; }
.da-form-nhanh input:focus { outline: 2px solid var(--dong, #ea580c); outline-offset: 0; border-color: transparent; }
.da-form-nhanh .hgm-btn { height: 50px; width: 100%; justify-content: center; font-size: 15.5px; }
.da-form-nhanh--ngang { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; }
.da-form-nhanh--ngang .hgm-btn { width: auto; padding: 0 26px; white-space: nowrap; }
/* CTA có form */
.da-cta2 { background: linear-gradient(120deg, #0b2447 0%, #14365f 100%); color: #fff; padding: 46px 0; position: relative; }
.da-cta2::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--dong, #ea580c), transparent); }
.da-cta2__khung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.da-cta2__tieu-de { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; color: #fff; }
.da-cta2 p { margin: 0; color: rgba(255,255,255,.8); }
.da-cta2 ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: #fed7aa; font-size: 14px; }
.da-cta2 ul li::before { content: "◆ "; font-size: 9px; vertical-align: 2px; }
/* Bản đồ */
.da-ban-do { margin: 40px auto 0; max-width: 1100px; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(0,0,0,.6); background: #0f2c52; }
.da-ban-do iframe { display: block; width: 100%; height: 440px; border: 0; }
.da-ban-do figcaption { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 20px; color: #fff; font-size: 14.5px; }
.da-ban-do figcaption a { color: #fdba74; font-weight: 600; white-space: nowrap; }
/* Liên kết vùng */
.da-lk { list-style: none; margin: 34px auto 0; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: x; }
.da-lk li { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 20px 22px; background: #fff; border: 1px solid var(--dong-nhat, #e2e7ef); border-radius: 16px; }
.da-phan--toi .da-lk li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.da-lk__icon { grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #f3f6fa; color: var(--dong, #ea580c); font-size: 20px; }
.da-lk b { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; color: var(--chu-dam, #1d2733); }
.da-lk b small { font-family: inherit; font-size: 14px; color: var(--dong, #ea580c); margin-left: 6px; }
.da-lk__ten { color: #4a5563; font-size: 15px; }
.da-phan--toi .da-lk b { color: #fff; } .da-phan--toi .da-lk__ten { color: rgba(255,255,255,.8); }
.da-lk__ghi { max-width: 1100px; margin: 14px auto 0; font-size: 13px; color: #7a8492; text-align: center; }
/* Chính sách */
.da-chinh-sach { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.da-chinh-sach__form { background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px -40px rgba(7,26,50,.55); }
.da-chinh-sach__form .da-cta2__tieu-de { color: var(--chu-dam, #1d2733); margin-bottom: 14px; }
/* Chữ căn đều hai bên, mọi màn hình */
.noi-dung-bai p, .noi-dung-bai li, .da-hero__mo-dau, .da-cta p, .da-chot__chu p, .da-hoi-dap p, .bai__tom-tat, .da-cta2 p { text-align: justify !important; text-justify: inter-word; }
/* Ảnh sắc nét: không phóng to quá kích thước gốc */
.da-hinh img, .da-luoi--1 img { width: auto !important; max-width: 100%; margin: 0 auto !important; }
.da-hinh a { display: flex; justify-content: center; }
img { image-rendering: auto; }
@media (max-width: 1024px) {
  .dh__khung { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; padding: 0 0 36px; }
  .dh__anh { position: relative; height: 56vh; min-height: 320px; }
  .dh__lop { top: 0; bottom: auto; height: 56vh; min-height: 320px; background: linear-gradient(0deg, rgba(5,18,36,.95) 0%, rgba(5,18,36,.2) 55%, rgba(5,18,36,0) 100%); }
  .dh__chu { margin-top: -150px; position: relative; }
  .dh__so { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .dh__so div { border-right: 0; margin-right: 0; padding-right: 12px; }
  .da-cta2__khung, .da-chinh-sach { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .da-form-nhanh--ngang { grid-template-columns: minmax(0, 1fr); }
  .da-form-nhanh--ngang .hgm-btn { width: 100%; }
  .da-lk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dh h1 { font-size: 32px; }
  .dh__chu { margin-top: -120px; }
  .da-lk { grid-template-columns: minmax(0, 1fr); }
  .da-lk li { padding: 16px 18px; }
  .da-ban-do iframe { height: 340px; }
  .da-ban-do figcaption { flex-direction: column; align-items: flex-start; }
}
.dh h1, .dh h1 * { color: #fff; }
.dh h1 em { color: #fdba74; }
.dh__duong span, .dh__duong li:last-child { color: rgba(255,255,255,.9); }
@media (max-width: 560px) { .dh__nhan { font-size: 11.5px; letter-spacing: .05em; } }
.da-cta2 .da-cta2__tieu-de, .dh__the-tieu-de, .da-chot h2 { text-align: left !important; }
.dh__duong *, .dh__duong a { color: rgba(255,255,255,.78) !important; }

/* Nút chuyển ngôn ngữ */
.hgm-nn { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--vien, #e2e7ef); border-radius: 999px; background: #fff; flex: 0 0 auto; }
.hgm-nn a { padding: 5px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #5b6573; text-decoration: none; line-height: 1; }
.hgm-nn a.dang, .hgm-nn a:hover { background: var(--navy, #0b2447); color: #fff; }
.hgm-nn--dau { margin: 0 6px; }
@media (max-width: 760px) { .hgm-nn--menu a { padding: 5px 7px; font-size: 11.5px; } }

/* Thẻ sản phẩm (tiêu đề con + thông số) */
.sp-the { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); margin: 34px 0; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 34px 70px -44px rgba(7,26,50,.55); border: 1px solid var(--dong-nhat, #e2e7ef); }
.sp-the:nth-of-type(even) .sp-the__anh { order: 2; }
.sp-the--khong-anh { grid-template-columns: minmax(0, 1fr); }
.sp-the__anh { display: block; background: #f3f6fa; min-height: 100%; }
.sp-the__anh img { width: 100%; height: 100%; min-height: 300px; max-height: 460px; object-fit: cover; display: block; margin: 0 !important; border-radius: 0 !important; transition: transform .6s; }
.sp-the__anh:hover img { transform: scale(1.03); }
.sp-the__chu { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.sp-the__nhan { margin: 0 0 6px !important; color: var(--dong, #ea580c); font-size: 11.5px !important; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; text-align: left !important; }
.da-chu .sp-the h3 { margin: 0 0 18px; font-size: 27px; line-height: 1.2; }
.sp-the__ts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.sp-the__ts div { background: #f3f6fa; border-radius: 12px; padding: 12px 14px; }
.sp-the__ts dt { font-size: 12px; color: #5b6880; letter-spacing: .04em; margin-bottom: 4px; }
.sp-the__ts dd { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--chu-dam, #1d2733); }
.sp-the__nut { align-self: flex-start; color: #fff !important; background: var(--navy, #0b2447); padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; text-decoration: none !important; }
.sp-the__nut:hover { background: var(--dong, #ea580c); }
.da-phan--toi .sp-the { background: #10294a; border-color: rgba(255,255,255,.12); }
.da-phan--toi .sp-the__ts div { background: rgba(255,255,255,.06); }
.da-phan--toi .sp-the__ts dd, .da-phan--toi .sp-the h3 { color: #fff; }
@media (max-width: 760px) {
  .sp-the { grid-template-columns: minmax(0, 1fr); }
  .sp-the:nth-of-type(even) .sp-the__anh { order: 0; }
  .sp-the__anh img { min-height: 220px; max-height: 300px; }
  .sp-the__chu { padding: 22px 20px; }
  .da-chu .sp-the h3 { font-size: 23px; }
  .sp-the__ts dd { font-size: 17px; }
}

.sp-the__anh { position: relative; }
.sp-the__nhan-gia { position: absolute; left: 16px; top: 16px; background: rgba(11,36,71,.88); color: #fed7aa; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.sp-the--gia .sp-the__ts dd { font-size: 24px; color: var(--dong, #ea580c); }
.sp-the--gia .sp-the__ts small { display: block; margin-top: 2px; font-size: 13px; color: #6b7a8c; }
.sp-the--gia .sp-the__ts div { border-left: 3px solid var(--dong, #ea580c); }
@media (max-width: 760px) { .sp-the--gia .sp-the__ts dd { font-size: 20px; } }

/* v1.6.2 – menu gọn một dòng */
.menu-chinh .menu > li > a { white-space: nowrap; }
.logo__ten, .logo strong, .dau-trang .logo-chu, .logo__chu b { white-space: nowrap; }
/* Nền tối: mọi chữ sáng, dễ đọc */
.da-phan--toi .da-chu, .da-phan--toi .da-chu * { color: rgba(255,255,255,.88) !important; background-color: transparent !important; }
.da-phan--toi .da-chu h2, .da-phan--toi .da-chu h3, .da-phan--toi .da-chu h4, .da-phan--toi .da-chu h5, .da-phan--toi .da-chu strong, .da-phan--toi .da-chu b { color: #fff !important; }
.da-phan--toi .da-chu a { color: #fdba74 !important; }
.da-chu h4 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.5; margin: 0 0 .8em; }
/* Logo HGM trên ảnh dự án (không sửa ảnh gốc) */
.da-hinh a, .da-luoi a, .da-tach__anh, .sp-the__anh, .da-album a, .dh__anh, .da-hero__the { position: relative; }
.da-hinh a::after, .da-luoi a::after, .da-tach__anh::after, .sp-the__anh::after, .da-album a::after, .dh__anh::after {
  content: "HGM"; position: absolute; right: 12px; bottom: 12px; z-index: 2; pointer-events: none;
  font: 800 12px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .08em; color: #fff;
  background: #0b2447; border: 1px solid rgba(255,255,255,.35); padding: 6px 7px; border-radius: 7px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: .92;
}
.dh__anh::after { right: 24px; bottom: auto; top: 84px; font-size: 13px; padding: 7px 9px; }
.da-hinh a::after, .da-luoi a::after { content: "HGM"; }
@media (max-width: 1024px) { .dh__anh::after { top: 16px; right: 16px; } }
.thuong-hieu { flex: 0 0 auto; }
.thuong-hieu__chu strong { white-space: nowrap; }
.menu-chinh .menu { gap: 4px; }

/* ================= v1.7 – quy tắc lưới thẻ toàn trang =================
   1) Hàng thiếu thẻ / hàng cuối lẻ: căn giữa.  2) Thẻ cùng hàng cao bằng nhau.
   Mọi lưới thẻ dùng flex-wrap + justify-content:center + align-items:stretch;
   độ rộng mỗi thẻ = (100% - khoảng cách) / số cột (--cot). */
body .hgm-luoi, body .danh-muc, body .ly-do, body .da-the-ts, body .da-lk, body .sp-the__ts,
body .da-luoi--2, body .da-luoi--3, body .da-anh, body .da-so, body .dh__so {
  display: flex !important; flex-wrap: wrap; justify-content: center; align-items: stretch;
  grid-template-columns: none !important;
  --gap: 18px; gap: var(--gap);
}
body .hgm-luoi > *, body .danh-muc > *, body .ly-do > *, body .da-the-ts > *, body .da-lk > *, body .sp-the__ts > *,
body .da-luoi--2 > *, body .da-luoi--3 > *, body .da-anh > *, body .da-so > *, body .dh__so > * {
  flex: 0 0 calc((100% - (var(--cot) - 1) * var(--gap)) / var(--cot)); max-width: calc((100% - (var(--cot) - 1) * var(--gap)) / var(--cot));
  min-width: 0; grid-column: auto !important; box-sizing: border-box;
}
/* số cột theo từng lưới (máy tính) */
body .hgm-luoi { --cot: 3; --gap: 22px; } body .hgm-luoi--2 { --cot: 2; } body .hgm-luoi--4 { --cot: 4; }
body .danh-muc { --cot: 3; } body .ly-do { --cot: 4; } body .da-lk { --cot: 3; --gap: 16px; }
body .da-the-ts { --cot: 4; --gap: 0px; } body .da-the-ts--c1 { --cot: 1; } body .da-the-ts--c2 { --cot: 2; } body .da-the-ts--c3 { --cot: 3; } body .da-the-ts--c5 { --cot: 5; }
body .sp-the__ts { --cot: 2; --gap: 12px; } body .da-luoi--2 { --cot: 2; --gap: 22px; } body .da-luoi--3 { --cot: 3; --gap: 22px; }
body .da-anh { --cot: 3; --gap: 14px; } body .da-anh--2 { --cot: 2; } body .da-so { --cot: 4; --gap: 10px; }
body .dh__so { --cot: 4; --gap: 0px; justify-content: flex-start; } /* con số đầu trang thẳng hàng với tiêu đề bên trái */
body .dh__so > * { flex: 0 0 auto; max-width: none; }
/* thẻ kéo cao bằng hàng, phần chân nằm đáy */
.hgm-luoi > .hgm-the { height: auto; }
.hgm-the__than { flex: 1 1 auto; }
.danh-muc__o, .ly-do > *, .da-lk li, .da-the-ts > div, .sp-the__ts > div { height: auto; }
/* lưới ảnh nhiều cột: khung bằng nhau, ảnh hiện trọn (không cắt) */
body .da-luoi--2 a, body .da-luoi--3 a { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: #fff; }
body .da-luoi--2 img, body .da-luoi--3 img { width: 100% !important; height: 100% !important; object-fit: contain; }
/* bỏ cách kéo giãn ô lẻ cũ */
.da-the-ts > div:last-child:nth-child(odd), .da-the-ts--c4 > div:last-child:nth-child(4n+3) { grid-column: auto !important; }
@media (max-width: 1024px) {
  body .hgm-luoi, body .hgm-luoi--4, body .ly-do, body .da-lk, body .da-the-ts--c3, body .da-the-ts, body .da-the-ts--c5, body .da-luoi--3, body .da-anh { --cot: 2; }
  body .dh__so { --cot: 2; --gap: 18px; justify-content: center; }
  body .dh__so > * { flex: 0 0 calc((100% - var(--gap)) / 2); max-width: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 860px) { body .danh-muc { --cot: 1; } }
@media (max-width: 600px) {
  body .hgm-luoi, body .hgm-luoi--2, body .hgm-luoi--4, body .ly-do, body .da-lk, body .da-luoi--2, body .da-luoi--3 { --cot: 1; }
  body .da-luoi--2 a, body .da-luoi--3 a { aspect-ratio: auto; }
  body .da-luoi--2 img, body .da-luoi--3 img { height: auto !important; }
}
@media (max-width: 420px) { body .da-the-ts, body .da-the-ts--c2, body .da-the-ts--c3, body .da-the-ts--c5 { --cot: 1; } }

/* Bộ lọc dự án: loại hình, khu vực, chủ đầu tư */
.loc-nhom { display: grid; gap: 10px; margin-top: 18px; }
.loc-nhom__hang { display: flex; align-items: baseline; gap: 14px; }
.loc-nhom__nhan { flex: 0 0 96px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dong, #ea580c); font-weight: 700; }
.loc-nhom .loc { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.loc a small { opacity: .6; font-size: .85em; margin-left: 2px; }
@media (max-width: 760px) {
  .loc-nhom__hang { flex-direction: column; gap: 6px; }
  .loc-nhom__nhan { flex: none; }
  .loc-nhom .loc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; width: 100%; }
  .loc-nhom .loc::-webkit-scrollbar { display: none; }
  .loc-nhom .loc a { flex: 0 0 auto; white-space: nowrap; }
}

/* Bộ lọc gọn: 1 hàng */
.loc-gon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.loc-gon__nut { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--vien, #e2e7ef); background: #fff; color: var(--chu, #1d2733); font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap; }
.loc-gon__nut::-webkit-details-marker { display: none; }
.loc-gon__nut:hover, .loc-gon__nut[aria-current], .loc-gon__nut.dang { background: var(--navy, #0b2447); color: #fff; border-color: var(--navy, #0b2447); }
.loc-gon__nut span { font-size: 11px; opacity: .7; }
.loc-gon__xo { position: relative; }
.loc-gon__ds { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--vien, #e2e7ef); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(7,26,50,.45); padding: 6px; display: grid; }
.loc-gon__ds a { padding: 9px 12px; border-radius: 9px; color: var(--chu, #1d2733); text-decoration: none; font-size: 14.5px; white-space: nowrap; }
.loc-gon__ds a:hover, .loc-gon__ds a[aria-current] { background: #f3f6fa; color: var(--navy, #0b2447); font-weight: 600; }
@media (max-width: 760px) { .loc-gon__ds { position: fixed; left: 16px; right: 16px; top: auto; bottom: 80px; max-height: 60vh; overflow: auto; } }

/* Lưới dự án liên quan trong bài (Hệ sinh thái…) */
body .lk-luoi { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: stretch; --cot: 4; --gap: 16px; gap: var(--gap); margin: 26px 0 8px; }
body .lk-luoi > .lk-the { flex: 0 0 calc((100% - (var(--cot) - 1) * var(--gap)) / var(--cot)); max-width: calc((100% - (var(--cot) - 1) * var(--gap)) / var(--cot)); }
.lk-the { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dong-nhat, #e2e7ef); border-radius: 14px; overflow: hidden; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.lk-the:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(7,26,50,.5); }
.lk-the__anh { display: block; aspect-ratio: 16 / 10; background: #0b2447; overflow: hidden; }
.lk-the__anh img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; border-radius: 0 !important; }
.lk-the__anh--trong { display: flex; align-items: flex-end; padding: 12px; color: #fdba74; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, #0b2447, #14365f); }
.lk-the__chu { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lk-the__chu b { color: var(--chu-dam, #1d2733); font-size: 15px; line-height: 1.35; text-align: left; }
.lk-the__chu small { color: var(--dong, #ea580c); font-size: 12.5px; text-align: left; }
.da-phan--toi .lk-the { background: #10294a; border-color: rgba(255,255,255,.12); }
.da-phan--toi .lk-the__chu b { color: #fff !important; }
@media (max-width: 1024px) { body .lk-luoi { --cot: 3; } }
@media (max-width: 760px) { body .lk-luoi { --cot: 2; --gap: 12px; } .lk-the__chu b { font-size: 14px; } }

/* Danh sách trong bài → lưới thẻ (hàng lẻ căn giữa, cùng hàng cao bằng nhau) */
body .ds-luoi { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: stretch; --cot: 2; --gap: 14px; gap: var(--gap); margin: 22px 0 26px; }
body .ds-luoi--3 { --cot: 3; }
body .ds-luoi > .ds-o { flex: 0 0 calc((100% - (var(--cot) - 1) * var(--gap)) / var(--cot)); max-width: calc((100% - (var(--cot) - 1) * var(--gap)) / var(--cot)); }
.ds-o { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--dong-nhat, #e2e7ef); border-radius: 14px; box-sizing: border-box; }
.ds-o__dau { flex: 0 0 10px; width: 10px; height: 10px; margin-top: .55em; border: 1.5px solid var(--dong, #ea580c); transform: rotate(45deg); }
.ds-o__so { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy, #0b2447); color: #fff; font-weight: 700; font-size: 14px; }
.ds-o__chu { flex: 1; min-width: 0; line-height: 1.6; font-size: 16px; }
.ds-o__chu strong { display: block; margin-bottom: 2px; color: var(--chu-dam, #1d2733); }
.da-chu .ds-o__chu, .da-chu .ds-o__chu * { text-align: left !important; }
.da-phan--toi .ds-o { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.da-phan--toi .ds-o__chu strong { color: #fff !important; }
@media (max-width: 900px) { body .ds-luoi--3 { --cot: 2; } }
@media (max-width: 560px) { body .ds-luoi, body .ds-luoi--3 { --cot: 1; } }
/* trang chủ: hàng con số hero căn giữa khi lẻ */
@media (max-width: 760px) { .hero__so { justify-content: center; } }

/* Menu điện thoại: bỏ làm mờ nền (khiến khung menu bị kẹp trong thanh đầu trang), menu phủ toàn màn hình */
@media (max-width: 980px) {
  .dau-trang { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-chinh { z-index: 200; top: 72px; height: calc(100vh - 72px); height: calc(100dvh - 72px); }
  .admin-bar .menu-chinh { top: 118px; }
  body.menu-mo { overflow: hidden; }
  body.menu-mo .hgm-thanh, body.menu-mo .hgm-noi { display: none !important; }
}
@media (max-width: 980px) {
  .menu-chinh .hgm-nn { align-self: flex-start; margin: 16px 0 0; }
  .menu-chinh .hgm-nn a { border-bottom: 0; padding: 8px 14px; font-size: 14px; }
}
.da-video { margin: 28px auto; max-width: 1100px; border-radius: 16px; overflow: hidden; background: #071a32; box-shadow: 0 30px 60px -36px rgba(7,26,50,.6); }
.da-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

.phan__mo-ta { margin: -6px 0 22px; color: var(--mo, #5b6573); text-align: left !important; }

/* v1.8.4 – Tiếng Hàn: không ngắt giữa chữ */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
@media (max-width: 600px) {
  .noi-dung-bai table.bang-the { display: block; border: 0; overflow: visible; }
  .noi-dung-bai table.bang-the thead { display: none; }
  .noi-dung-bai table.bang-the tbody { display: grid; gap: 12px; }
  .noi-dung-bai table.bang-the tr { display: block; border: 1px solid var(--vien); border-radius: 12px; padding: 12px 14px; background: #fff; }
  .noi-dung-bai table.bang-the td { display: flex; gap: 10px; border: 0; padding: 4px 0; background: none !important; text-align: left; }
  .noi-dung-bai table.bang-the td::before { content: attr(data-nhan); flex: 0 0 38%; font-size: 13px; color: #6b7280; font-weight: 600; }
  .noi-dung-bai table.bang-the td:first-child { font-size: 17px; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--vien); margin-bottom: 4px; }
  .noi-dung-bai table.bang-the td:first-child::before { display: none; }
}

/* ==== v1.9 – Trang dự án theo phong cách hiephoangmt.com ==== */
.da15 { --hh-toi: #0b2447; --hh-toi-2: #0e1930; --hh-kem: #f3f6fa; --hh-cam: #ea580c; --hh-cam-sang: #ff8a3d; --hh-vien: #e2e7ef; --hh-chu: #14213d; }

/* Thanh menu dự án tối */
.da15 .da-menu--toi { background: var(--hh-toi) !important; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 6px 20px -12px rgba(0,0,0,.5); }
.da15 .da-menu--toi .da-menu__ten { display: flex !important; flex-direction: column; -webkit-line-clamp: unset; max-width: 260px; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; }
.da15 .da-menu--toi .da-menu__ten span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.da15 .da-menu--toi .da-menu__ten small { font-family: var(--font); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--hh-cam-sang); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.da15 .da-menu--toi .da-menu__ds a { color: #dfe6f1; font-weight: 500; }
.da15 .da-menu--toi .da-menu__ds a:hover, .da15 .da-menu--toi .da-menu__ds a.dang-xem { background: rgba(255,255,255,.12); color: #fff; }
.da15 .da-menu--toi .da-menu__nha { background: transparent; border-color: rgba(255,255,255,.22); color: var(--hh-cam-sang); }
.da15 .da-menu--toi .da-menu__nha:hover { background: var(--hh-cam); color: #fff; border-color: var(--hh-cam); }
.da15 .da-menu--toi .da-menu__nut { border-radius: 999px !important; background: linear-gradient(180deg, #f97316, #ea580c) !important; box-shadow: 0 8px 26px -8px rgba(234,88,12,.85); }
.da15 .da-menu--toi .hgm-nn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.da15 .da-menu--toi .hgm-nn a { color: #cbd5e1; }
.da15 .da-menu--toi .hgm-nn a.dang, .da15 .da-menu--toi .hgm-nn a:hover { background: #fff; color: var(--hh-toi); }
.da15 .da-menu--toi .da-menu__ds { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 22px), transparent 100%); }

/* Đầu trang: ảnh lớn rõ nét, bên dưới là khối tối: nhãn, tên, thông điệp, con số, 2 nút, ảnh thứ hai */
.dh2 { background: var(--hh-toi-2); color: #fff; }
.dh2__anh { position: relative; margin: 0; overflow: hidden; background: var(--hh-toi-2); }
.dh2__anh::before { content: ""; position: absolute; inset: -40px; background: var(--nen) center / cover; filter: blur(30px) brightness(.5); }
.dh2__anh img { position: relative; display: block; width: min(1440px, 100%); height: auto; aspect-ratio: 16 / 9; max-height: min(80vh, 780px); object-fit: cover; margin: 0 auto; }
.dh2__anh figcaption { position: absolute; right: max(16px, calc((100% - 1440px) / 2 + 16px)); bottom: 14px; max-width: min(70%, 560px); font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.92); background: rgba(10,18,34,.55); padding: 5px 12px; border-radius: 999px; }
.dh2__toi { background: radial-gradient(1100px 520px at 12% 0, #1f2f52 0, var(--hh-toi-2) 68%); padding: 52px 0 26px; }
.dh2__khung { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.dh2__khung--mot { grid-template-columns: minmax(0, 1fr); }
.dh2__khung--mot .dh2__chu { max-width: 900px; }
.dh2__huy { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(34,197,94,.1); border: 1px solid rgba(74,222,128,.38); color: #d1fae5; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.dh2__huy--dang-mo-ban, .dh2__huy--sap-mo-ban { background: rgba(234,88,12,.14); border-color: rgba(251,146,60,.5); color: #fed7aa; }
.dh2 h1 { margin: 0 0 18px; color: #fff; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.1vw, 54px); line-height: 1.1; letter-spacing: -.01em; }
.dh2 h1 em { color: var(--hh-cam-sang); font-style: italic; font-weight: 600; }
.dh2__thong-diep { max-width: 660px; margin: 0 0 26px; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.72; color: rgba(255,255,255,.88); text-align: justify; }
.dh2__so { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.dh2__so--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dh2__so--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 440px; }
.dh2__so--1 { grid-template-columns: minmax(0, 1fr); max-width: 240px; }
.dh2__so div { display: flex; flex-direction: column; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 16px; }
.dh2__so dd { margin: 0; line-height: 1.1; }
.dh2__so b { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.1vw, 28px); color: var(--hh-cam-sang); }
.dh2__so small { font-size: 14px; color: var(--hh-cam-sang); font-weight: 600; }
.dh2__so dt { margin-top: 7px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.72); }
.dh2__nut, .da-nut2 { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.dh2__nut-chinh, .da-nut2__chinh { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 999px; background: linear-gradient(180deg, #f97316, #ea580c); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; box-shadow: 0 12px 30px -12px rgba(234,88,12,.9), inset 0 0 0 2px rgba(255,255,255,.12); transition: transform .15s; }
.dh2__nut-phu, .da-nut2__phu { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none; text-align: center; }
.dh2__nut-chinh:hover, .da-nut2__chinh:hover { transform: translateY(-1px); }
.dh2__phu { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.dh2__phu img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dh2__phu figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 90px); font-size: 12.5px; line-height: 1.35; color: #fff; background: rgba(10,18,34,.6); padding: 5px 12px; border-radius: 999px; pointer-events: none; }
.dh2 .dh__duong { margin-top: 34px; }
.dh2 .dh__duong, .dh2 .dh__duong a { color: rgba(255,255,255,.6); font-size: 13px; }
@media (max-width: 980px) {
  .dh2__khung { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .dh2__so--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dh2__anh img { aspect-ratio: 4 / 3; }
  .dh2__anh figcaption { left: 12px; right: auto; max-width: calc(100% - 24px); font-size: 11.5px; }
  .dh2__toi { padding-top: 30px; }
  .dh2__so--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .dh2__so--3 div { padding: 12px 10px; }
  .dh2__nut a { flex: 1 1 100%; }
  .dh2__thong-diep { text-align: left; }
}

/* Tiêu đề phần: nhãn cam, tiêu đề serif căn trái, chữ nhấn nghiêng màu cam */
.da15 .da-phan--sang { background: var(--hh-kem); }
.da15 .da-phan--trang { background: #fff; }
.da15 .da-phan--toi { background: var(--hh-toi); }
.da15 .da-phan .khung > .da-kicker, .da15 .da-phan .khung > .da-tieu-de { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 1000px; }
.da15 .da-phan .khung:has(> .da-doc) > .da-kicker, .da15 .da-phan .khung:has(> .da-doc) > .da-tieu-de { max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.da15 .da-kicker { color: var(--hh-cam) !important; letter-spacing: .16em !important; font-size: 12.5px !important; font-weight: 700 !important; margin-bottom: 10px; }
.da15 .da-kicker::after { display: none !important; }
.da15 .da-tieu-de { color: var(--hh-chu); font-weight: 500 !important; font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 24px !important; }
.da15 .da-tieu-de em { color: var(--hh-cam) !important; font-style: italic; font-weight: 500; }
.da15 .da-phan--toi .da-kicker, .da15 .da-phan--toi .da-tieu-de em { color: var(--hh-cam-sang) !important; }
.da15 .da-phan--toi .da-tieu-de { color: #fff; }

/* Ảnh: bo góc, chú thích dạng nhãn trên ảnh */
.da15 .da-luoi a, .da15 .da-tach__anh, .da15 .da-hinh a { position: relative; display: block; border-radius: 16px; overflow: hidden; }
.da-chu-thich { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 84px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; background: rgba(15,23,42,.7); color: #fff; font-size: 12.5px; font-weight: 500; line-height: 1.35; padding: 5px 11px; border-radius: 12px; text-align: left; pointer-events: none; }
@media (max-width: 600px) { .da-chu-thich { font-size: 11.5px; left: 8px; bottom: 8px; } }

/* Ô thông tin: thẻ rời, nhãn nhỏ in hoa + giá trị đậm */
.da15 .da-the-ts { gap: 14px !important; background: none !important; border: 0 !important; border-radius: 0 !important; overflow: visible !important; }
.da15 .da-the-ts div { background: #fff !important; border: 1px solid var(--hh-vien) !important; border-radius: 14px !important; box-shadow: none !important; padding: 16px 18px !important; }
.da15 .da-phan--trang .da-the-ts div { background: #ffffff !important; }
.da15 .da-the-ts dt { color: #6b7280 !important; font-size: 11.5px !important; letter-spacing: .1em !important; font-weight: 600 !important; }
.da15 .da-the-ts dd { color: var(--hh-chu) !important; font-family: var(--font) !important; font-weight: 700 !important; font-size: 16px !important; }
.da15 .da-phan--toi .da-the-ts div { background: rgba(255,255,255,.05) !important; border-color: rgba(255,255,255,.14) !important; }
.da15 .da-phan--toi .da-the-ts dt { color: #9fb0c6 !important; }
.da15 .da-phan--toi .da-the-ts dd { color: #fff !important; }

/* Thời gian di chuyển: số lớn màu cam */
.da15 .da-lk li { border-radius: 16px; border-color: var(--hh-vien); }
.da15 .da-lk b { font-family: var(--serif); color: var(--hh-cam); font-weight: 600; }
.da15 .da-lk b small { font-family: var(--font); color: var(--hh-cam); font-weight: 700; }

/* Thẻ sản phẩm: nút tối dạng viên thuốc như hiephoangmt */
.da15 .sp-the { border-radius: 18px; }
.da15 .sp-the__nut { align-self: stretch; display: flex; justify-content: center; margin-top: 16px; padding: 13px 18px; background: var(--hh-toi) !important; font-weight: 700; }
.da15 .sp-the__nut:hover { background: var(--hh-cam) !important; }

/* Kêu gọi giữa bài: hộp tối + 2 nút */
.da-cta3 { padding: 34px 0; background: #fff; }
.da-cta3__hop { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: linear-gradient(120deg, #1d2c4d 0%, #0e1930 100%); color: #d6deeb; border-radius: 22px; padding: 30px 34px; box-shadow: 0 24px 60px -34px rgba(14,25,48,.8); }
.da-cta3__tieu-de { margin: 0 0 6px; color: #fff; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; }
.da-cta3__chu p { margin: 0; }
.da-cta3__chu ul { margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; }
.da-cta3 .da-nut2 { flex: 0 0 auto; }
@media (max-width: 820px) {
  .da-cta3__hop { flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 18px; }
  .da-cta3 .da-nut2 a { flex: 1 1 100%; }
}
.da15 .da-chinh-sach__form { background: #fff; border: 1px solid var(--hh-vien); border-radius: 18px; padding: 24px; }
.da15 .da-chinh-sach__form .da-nut2 { flex-direction: column; }
.da15 .da-chinh-sach__form .da-nut2__phu { color: var(--hh-chu) !important; border-color: #cfd7e3; background: #fff; }

/* Hỏi đáp: thẻ trắng, dấu + màu cam */
.da15 .da-hoi-dap { max-width: 900px; }
.da15 .da-hoi-dap details { border-radius: 14px; border-color: var(--hh-vien); }
.da15 .da-hoi-dap summary { padding: 17px 52px 17px 20px; color: var(--hh-chu); }
.da15 .da-hoi-dap summary::after { right: 20px; top: 13px; }
.da15 .da-hoi-dap p { padding: 0 20px 18px; }

/* Khối chốt cuối trang: nền ảnh tối + thẻ form trắng */
.da-chot2 { position: relative; background: linear-gradient(90deg, rgba(14,25,48,.97) 0%, rgba(14,25,48,.9) 50%, rgba(14,25,48,.78) 100%), var(--nen, none) center / cover, var(--hh-toi-2, #0e1930) !important; padding: 76px 0 !important; }
.da-chot2 .da-kicker { color: var(--hh-cam-sang, #ff8a3d) !important; text-align: left !important; }
.da-chot2 .da-kicker::after { display: none !important; }
.da-chot2 h2 em { color: var(--hh-cam-sang, #ff8a3d) !important; font-style: italic; }
.da-chot2 .da-chot__loi li::before { content: "•"; color: var(--hh-cam-sang, #ff8a3d); font-size: 22px; line-height: 1; top: 5px; }
.da-chot__nguoi { display: flex; gap: 14px; align-items: center; max-width: 560px; margin-top: 24px; padding: 16px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.da-chot__ava { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #f97316, #ea580c); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.da-chot__nguoi p { margin: 0; display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.5; text-align: left !important; }
.da-chot__nguoi b { color: #fff; font-size: 16px; }
.da-chot__nguoi a { color: var(--hh-cam-sang, #ff8a3d); font-weight: 700; }
.da-chot__the { background: #fff; color: #14213d; border-radius: 20px; padding: 28px 26px 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.65); }
.da-chot__the-tieu-de { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.25; color: #14213d; }
.da-chot__the-mo-ta { margin: 0 0 16px; font-size: 14px; color: #6b7280; text-align: left !important; }
.da-chot__the .hgm-form { padding: 0; background: none; }
.da-chot__the .hgm-form label { color: #334155; font-size: 13.5px; }
.da-chot__the .hgm-form input, .da-chot__the .hgm-form select, .da-chot__the .hgm-form textarea { padding: 13px 15px; border: 1px solid #e2e7ef; border-radius: 12px; background: #f3f6fa; }
.da-chot__the .hgm-form .hgm-btn, .da-chot__the .hgm-form button { width: 100%; padding: 15px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f97316, #ea580c); color: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 12px 30px -12px rgba(234,88,12,.9); }
@media (max-width: 600px) { .da-chot2 { padding: 52px 0 !important; } .da-chot__the { padding: 22px 18px 12px; } }
/* Ảnh phối cảnh trong lưới: phủ kín khung (không dải trắng); mặt bằng giữ nguyên tỉ lệ để đọc được */
.da15 .da-phan:not(.da-o--mat-bang) .da-luoi--2 img, .da15 .da-phan:not(.da-o--mat-bang) .da-luoi--3 img { object-fit: cover !important; }
.da15 .da-phan:not(.da-o--mat-bang) .da-luoi--2 a, .da15 .da-phan:not(.da-o--mat-bang) .da-luoi--3 a { background: #e2e7ef; }
.da-chot2 { background: linear-gradient(90deg, rgba(14,25,48,.95) 0%, rgba(14,25,48,.84) 50%, rgba(14,25,48,.62) 100%), var(--nen, none) center / cover, #0e1930 !important; }
@media (max-width: 760px) { .da15 .da-menu--toi .da-menu__ten { display: none !important; } }

/* v1.9.6 – Ô thông tin: khoảng cách đúng công thức (2 ô + khe = 100%), điện thoại luôn 2 cột, ô nội dung dài chiếm trọn hàng */
body .da15 .da-the-ts { --gap: 14px !important; gap: var(--gap) !important; }
@media (max-width: 1024px) { body .da15 .da-the-ts, body .da15 .da-the-ts--c2, body .da15 .da-the-ts--c3, body .da15 .da-the-ts--c4, body .da15 .da-the-ts--c5 { --cot: 2; } }
@media (max-width: 600px) {
  body .da15 .da-the-ts { --gap: 10px !important; }
  body .da15 .da-the-ts > .da-the-ts__dai { flex-basis: 100%; max-width: 100%; }
  body .da15 .da-the-ts > div { padding: 13px 14px !important; }
  body .da15 .da-the-ts dd { font-size: 14.5px !important; line-height: 1.45; }
  body .da15 .da-the-ts dt { font-size: 10.5px !important; }
}

/* v2.0.2 – CTA tò mò: bảng giá bị che + form mở khoá; khung form sau mặt bằng */
.khoa-gio { position: relative; margin: -1.4em 0 1.6em; border: 1px solid var(--hh-vien, #e2e7ef); border-top: 0; border-radius: 0 0 16px 16px; overflow: hidden; background: #fff; }
.khoa-gio__mo { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 14px; padding: 16px 18px; filter: blur(4px); opacity: .55; user-select: none; font-weight: 600; color: #14213d; }
.khoa-gio__hop { padding: 18px 20px 20px; background: linear-gradient(180deg, #fff7ef, #fff); border-top: 1px dashed #f3c9a6; }
.khoa-gio__tieu-de { margin: 0 0 4px !important; font-weight: 700; font-size: 17px; color: #c2410c; text-align: left !important; }
.khoa-gio__hop > p { margin: 0 0 12px; font-size: 15px; color: #4b5563; text-align: left !important; }
.khoa-gio .da-form-nhanh .hgm-btn { background: linear-gradient(180deg, #f97316, #ea580c); border: 0; border-radius: 999px; color: #fff; font-weight: 700; }
.da-cta3--form .da-cta3__hop { align-items: center; }
.da-cta3--form .da-form-nhanh { flex: 0 0 340px; }
.da-cta3--form .da-cta3__chu ul { list-style: none; padding: 0; }
.da-cta3--form .da-cta3__chu li { position: relative; padding-left: 22px; margin: 4px 0; }
.da-cta3--form .da-cta3__chu li::before { content: "✓"; position: absolute; left: 0; color: #fb923c; font-weight: 700; }
.da-cta3--form .da-form-nhanh .hgm-btn { background: linear-gradient(180deg, #f97316, #ea580c); border: 0; border-radius: 999px; color: #fff; font-weight: 700; box-shadow: 0 12px 30px -12px rgba(234,88,12,.9); }
@media (max-width: 820px) { .da-cta3--form .da-form-nhanh { flex-basis: auto; width: 100%; } }
@media (max-width: 600px) { .khoa-gio__mo { padding: 12px 14px; font-size: 14px; } }
.khoa-gio__tieu-de { display: flex; align-items: center; gap: 6px; }

/* v2.0.4 – CTA có ảnh: bản vẽ dự án làm mờ + ổ khoá, gợi tò mò */
.da-cta3--form .da-cta3__form { flex: 0 0 330px; }
.da-cta3--form .da-cta3__form .da-form-nhanh { flex: none; }
.da-cta3--anh .da-cta3__hop { display: grid; grid-template-columns: 250px minmax(0, 1fr) 330px; gap: 28px; }
.da-cta3__anh { position: relative; display: block; align-self: stretch; min-height: 210px; border-radius: 16px; overflow: hidden; background: #0b1426; }
.da-cta3__anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(.9) brightness(.85); transform: scale(1.06); }
.da-cta3__khoa { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(180deg, #f97316, #ea580c); color: #fff; box-shadow: 0 0 0 8px rgba(249,115,22,.25), 0 14px 30px -8px rgba(0,0,0,.6); animation: khoa-nhip 2.2s ease-in-out infinite; }
.da-cta3__nhan { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 10px; background: rgba(10,18,34,.78); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.35; text-align: center; }
@keyframes khoa-nhip { 0%, 100% { box-shadow: 0 0 0 8px rgba(249,115,22,.25), 0 14px 30px -8px rgba(0,0,0,.6); } 50% { box-shadow: 0 0 0 14px rgba(249,115,22,.12), 0 14px 30px -8px rgba(0,0,0,.6); } }
@media (prefers-reduced-motion: reduce) { .da-cta3__khoa { animation: none; } }
@media (max-width: 1100px) { .da-cta3--anh .da-cta3__hop { grid-template-columns: 220px minmax(0, 1fr); } .da-cta3--anh .da-cta3__form { grid-column: 1 / -1; } }
@media (max-width: 680px) {
  .da-cta3--anh .da-cta3__hop { grid-template-columns: minmax(0, 1fr); }
  .da-cta3__anh { min-height: 170px; }
  .da-cta3--form .da-cta3__form { flex-basis: auto; width: 100%; }
}

/* v2.0.5 – Chú thích ảnh nằm dưới ảnh (không che ảnh) */
.da-luoi__o, .da15 .da-hinh { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.da-luoi--1 .da-luoi__o { width: 100%; }
.da-chu-thich-duoi { margin: 10px 2px 0; font-size: 14px; line-height: 1.45; color: #3d4754; text-align: left; }
.da15 .da-hinh .da-chu-thich-duoi { text-align: center; }
.da-tach__cot .da-chu-thich-duoi { margin-top: 10px; }
.da15 .da-phan--toi .da-chu-thich-duoi { color: #c3cfdf; }
@media (max-width: 600px) { .da-chu-thich-duoi { font-size: 13px; margin-top: 8px; } }
.da-luoi__o > a { flex: none !important; max-width: none !important; width: 100%; }

/* v2.0.6 – CTA dễ để lại số: chỉ 1 ô số Zalo, dòng cam kết */
.da-form-nhanh--sdt:not(.da-form-nhanh--doc) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.da-form-nhanh--sdt input { font-size: 16.5px; letter-spacing: .02em; }
.da-form-nhanh--sdt:not(.da-form-nhanh--doc) .hgm-btn { width: auto; padding: 0 26px; white-space: nowrap; }
@media (max-width: 600px) { .da-form-nhanh--sdt:not(.da-form-nhanh--doc) { grid-template-columns: minmax(0, 1fr); } .da-form-nhanh--sdt:not(.da-form-nhanh--doc) .hgm-btn { width: 100%; } }
.da-cam-ket { margin: 8px 0 0 !important; font-size: 12.5px !important; color: #6b7280 !important; text-align: left !important; }
.da-cta3 .da-cam-ket { color: rgba(255,255,255,.65) !important; text-align: center !important; }
.dh2__cam-ket { margin: 12px 0 0; font-size: 13px; color: rgba(255,255,255,.66); }
.da-chot__nhanh { margin: 14px 0 0; font-weight: 600; color: #fed7aa; }
.hgm-form__cam-ket { margin: 4px 0 0 !important; font-size: 12.5px; color: #6b7280 !important; text-align: center; }
.da-chot__the .hgm-form p:has(textarea) { display: none; }
.da-chot__nhanh, .dh2__cam-ket { text-align: left !important; }

/* v2.0.9 – Sơ đồ vị trí dạng bản đồ vẽ */
.sdvt { margin: 36px auto 0; max-width: 1100px; border-radius: 18px; overflow: hidden; background: #0f4c81; box-shadow: 0 30px 60px -36px rgba(0,0,0,.6); }
.sdvt__svg { display: block; width: 100%; height: auto; }
.sdvt__nhip { transform-box: fill-box; transform-origin: center; animation: sdvt-nhip 2.2s ease-out infinite; }
@keyframes sdvt-nhip { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(4); opacity: 0; } }
.sdvt__chu { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 18px; background: #0b2447; color: rgba(255,255,255,.78); font-size: 13.5px; line-height: 1.45; }
.sdvt__chu a { flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; color: #0b2447; font-weight: 700; text-decoration: none; }
@media (max-width: 640px) {
  .sdvt { margin-top: 24px; border-radius: 14px; margin-left: -6px; margin-right: -6px; }
  .sdvt__chu { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
  .sdvt__chu a { align-self: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .sdvt__nhip { animation: none; } }
.sdvt__khung { position: relative; overflow: hidden; background: #aad3df; }
.sdvt__nen, .sdvt__khung > .sdvt__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sdvt__nen img { position: absolute; max-width: none; display: block; }
.sdvt__nguon { position: absolute; left: 6px; bottom: 4px; padding: 1px 6px; border-radius: 4px; background: rgba(255,255,255,.75); color: #444; font-size: 10px; line-height: 1.5; }
.da-o--vi-tri .da-tieu-de + .sdvt { margin-top: 8px; margin-bottom: 34px; }

/* v2.1.3 – mục lục cho Rank Math: trang đã có menu mục riêng nên ẩn */
.hgm-muc-luc { display: none !important; }

/* v2.1.6 – thẻ dự án gọn */
.hgm-the h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hgm-the__gon { color: var(--mo); font-size: 14.5px; list-style: none; }

/* v2.1.8 – hộp giỏ hàng nội bộ trên danh sách dự án + dòng giá trên thẻ */
.ds-gio { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; margin: 0 0 34px; padding: 26px 28px; border-radius: 18px; background: linear-gradient(135deg, #0b2447 0%, #133a6b 100%); color: #fff; box-shadow: 0 24px 48px -30px rgba(11,36,71,.7); }
.ds-gio__nhan { margin: 0 0 6px; color: #fdba74; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ds-gio h2 { margin: 0 0 8px; color: #fff; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.25; }
.ds-gio__chu > p { margin: 0 0 14px; color: rgba(255,255,255,.85); font-size: 15.5px; }
.ds-gio__mo { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-gio__mo li { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 14px; }
.ds-gio__mo b { font-weight: 700; }
.ds-gio__mo span { color: rgba(255,255,255,.7); }
.ds-gio__mo em { margin-left: auto; font-style: normal; font-weight: 700; color: #fdba74; filter: blur(4px); user-select: none; }
.ds-gio__form { padding: 18px; border-radius: 14px; background: #fff; color: var(--chu); }
.ds-gio__form .da-form-nhanh { display: grid; gap: 10px; }
.ds-gio__form .da-form-nhanh .hgm-btn { width: 100%; }
.ds-gio__cam-ket { margin: 8px 0 0; text-align: center; font-size: 13px; color: var(--mo); }
.hgm-the__gia { list-style: none; color: var(--cam-2, #c2410c); font-size: 14.5px; font-weight: 600; }
.hgm-the__gia b { font-size: 16px; }
@media (max-width: 760px) { .ds-gio { grid-template-columns: 1fr; padding: 20px 16px; gap: 16px; } }
@media (max-width: 760px) { .ds-gio__mo li:nth-child(n+3) { display: none; } .ds-gio__mo span { display: none; } .ds-gio__chu > p { font-size: 15px; } }

/* v2.2.3 – máy tính: ảnh trong bài chia 2 cột */
.da-hinh-doi { margin: 30px 0; }
@media (min-width: 900px) {
  .da-hinh-doi { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .da-hinh-doi .da-hinh { margin: 0; }
  .da-hinh-doi .da-hinh img { max-height: 420px; width: 100% !important; object-fit: cover; aspect-ratio: 4 / 3; }
  .da-o--mat-bang .da-hinh-doi .da-hinh img { object-fit: contain; background: #fff; }
}

/* v2.2.4 – toàn web, máy tính: ảnh trong bài 2 cột, ảnh đơn nằm cạnh chữ */
.bai-hinh-doi { margin: 1.4em 0; }
.cot-phu__pop { margin: 12px 0 0; }
.cot-phu__pop .hgm-btn { display: block; text-align: center; }
@media (min-width: 1024px) {
  .bai-hinh-doi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .bai-hinh-doi > p, .bai-hinh-doi > figure { margin: 0 !important; }
  .bai-hinh-doi img { width: 100% !important; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
}

/* v2.3.0 – ảnh trong bài: không thả nổi, nằm gọn trong cột, cùng tỉ lệ, không tràn */
.bai .noi-dung-bai img, .noi-dung-bai img, .entry-content img { max-width: 100% !important; height: auto; }
.bai .noi-dung-bai > p:has(> img:only-child), .bai .noi-dung-bai > p:has(> a:only-child > img), .bai .noi-dung-bai > figure:has(img) {
  float: none !important; width: auto !important; margin: 1.4em 0 !important; text-align: center;
}
.bai .noi-dung-bai > p:has(> img:only-child) img, .bai .noi-dung-bai > p:has(> a:only-child > img) img, .bai .noi-dung-bai > figure:has(img) img {
  display: block; width: auto !important; max-width: 100% !important; height: auto; max-height: 520px; object-fit: cover; border-radius: 14px; margin: 0 auto;
}
.bai .noi-dung-bai figure figcaption { font-size: 13.5px; color: #64748b; margin-top: 6px; text-align: center; }
.bai-hinh-doi img { display: block; width: 100% !important; height: auto; border-radius: 12px; }
@media (max-width: 1023px) { .bai-hinh-doi > p, .bai-hinh-doi > figure { margin: 0 0 14px !important; } }
.bai .noi-dung-bai table, .bai .noi-dung-bai iframe, .bai .noi-dung-bai video { max-width: 100%; }

/* v2.3.2 – điện thoại: trang dự án cũng có nút 3 gạch mở menu chính, đồng bộ toàn web */
.nut-menu--da { display: none; }
@media (max-width: 980px) {
  .single-du-an .dau-trang { display: block; position: static; height: 0; min-height: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .single-du-an .dau-trang__khung { min-height: 0; height: 0; padding: 0; }
  .single-du-an .dau-trang__khung > .thuong-hieu, .single-du-an .dau-trang__khung > .nut-menu { display: none !important; }
  .single-du-an .menu-chinh { top: 58px; height: calc(100vh - 58px); height: calc(100dvh - 58px); z-index: 300; }
  .admin-bar.single-du-an .menu-chinh { top: 104px; }
  .nut-menu--da { display: inline-flex; flex: 0 0 auto; margin: 0 -4px 0 -8px; }
  .da-menu__nha { display: none !important; }
}
.da-menu--toi .nut-menu span { background: #fff; }

/* v2.3.3 – máy tính/tablet: bảng kéo kín chiều ngang cột nội dung, không để trống bên phải */
@media (min-width: 761px) {
  .da-chu table, .noi-dung-bai table:not(.bang-the), .bai .noi-dung-bai table:not(.bang-the) { display: table; width: 100% !important; max-width: 100%; table-layout: auto; overflow: visible; }
  .da-chu table { border-radius: 14px; overflow: hidden; }
  .da-chu .wp-block-table, .noi-dung-bai .wp-block-table { width: 100%; overflow-x: auto; }
}

/* v2.3.4 – máy tính: nội dung trang dự án kéo kín bề ngang khung (bỏ giới hạn 860–900px), không để trống bên phải */
@media (min-width: 1024px) {
  .da-chu, .da-doc, .da-tieu-de, .da-luoi--1, .dh2__khung--mot .dh2__chu,
  .da15 .da-hoi-dap, .da-phan .khung > .da-kicker, .da-phan .khung > .da-tieu-de,
  .da15 .da-phan .khung:has(> .da-doc) > .da-kicker, .da15 .da-phan .khung:has(> .da-doc) > .da-tieu-de { max-width: none !important; }
  .da-doc { margin: 0; }
}

/* v2.3.6 – ô lẻ cuối lưới kéo kín hàng, không để trống hai bên */
@media (min-width: 561px) {
  body .sp-the__ts > div:last-child:nth-child(odd) { grid-column: 1 / -1; flex-basis: 100% !important; max-width: 100% !important; }
  body .ds-luoi:not(.ds-luoi--3) > .ds-o:last-child:nth-child(odd) { flex-basis: 100% !important; max-width: 100% !important; }
}
