/* Thành phần dùng riêng cho trang dự án HTML tĩnh (public/du-an/<slug>/). Dùng kèm site.css. */

.pj-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.pj-hero__bg { position: absolute; inset: 0; }
.pj-hero__bg .ph-in { animation: pjZoom 14s ease-out both; }
.pj-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 37, 47, .1) 0%, rgba(21, 37, 47, .25) 45%, rgba(21, 37, 47, .82) 100%); }
.pj-hero__in { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 22px; }
.pj-hero .crumbs, .pj-hero .crumbs a { color: rgba(248, 243, 236, .8); }
.pj-hero .crumbs [aria-current] { color: var(--cream); }
.pj-hero .h1 { max-width: 900px; }
.pj-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 15px; color: rgba(248, 243, 236, .85); }
.pj-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.pj-hero .btn-ghost { border-color: rgba(248, 243, 236, .7); color: var(--cream); }
.pj-hero .btn-ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
@keyframes pjZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.pj-facts { background: var(--white); border-bottom: 1px solid var(--line); }
.pj-facts dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.pj-facts dl > div { padding: 28px 24px; border-right: 1px solid var(--sand-2); display: flex; flex-direction: column; gap: 8px; }
.pj-facts dl > div:last-child { border-right: 0; }
.pj-facts dt { font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.pj-facts dd { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }

.pj-subnav { position: sticky; top: var(--header-h); z-index: 15; background: rgba(248, 243, 236, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.pj-subnav__in { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.pj-subnav__in::-webkit-scrollbar { display: none; }
.pj-subnav a { padding: 15px 2px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.pj-subnav a:hover, .pj-subnav a.is-active { color: var(--ink); border-bottom-color: var(--copper); }

.pj-split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.pj-split__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.pj-split__media { flex: 1.1 1 460px; position: relative; padding: 0 0 28px 28px; }
.pj-split__media .ph { height: 520px; }
.pj-split__media .hero__frame { width: 60%; height: 60%; }
@media (max-width: 760px) { .pj-split__media .ph { height: 360px; } }

.pj-conn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.pj-conn li { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(248, 243, 236, .16); font-size: 15px; }
.pj-conn li span:last-child { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--copper-light); white-space: nowrap; }
.section--navy .map { height: 420px; }

.pj-amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pj-amen__item { background: var(--cream); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; transition: background-color .5s; }
.pj-amen__item:hover { background: var(--white); }
.pj-amen__no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--copper); }
.pj-amen__title { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.pj-amen__desc { font-size: 14px; line-height: 1.7; color: var(--muted); }

.pj-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.pj-tabs [role="tab"] { border: 1px solid var(--line); background: var(--white); padding: 12px 22px; font-size: 14px; font-weight: 500; transition: all .3s; }
.pj-tabs [role="tab"]:hover { border-color: var(--copper); }
.pj-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pj-plan { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pj-plan:not([hidden]) { animation: lxDown .5s var(--ease) both; }
.pj-plan .ph { flex: 1.2 1 420px; height: 440px; background: var(--white); }
.pj-plan__info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; }
.pj-plan__info .kv { grid-template-columns: 1fr; }

.pj-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
.pj-timeline li { padding: 28px 24px 0 0; border-top: 2px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 8px; }
.pj-timeline li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); border: 2px solid var(--line); }
.pj-timeline li.is-done { border-top-color: var(--copper); }
.pj-timeline li.is-done::before, .pj-timeline li.is-now::before { background: var(--copper); border-color: var(--copper); }
.pj-timeline li.is-now::before { box-shadow: 0 0 0 6px rgba(197, 116, 33, .2); animation: pjPulse 2.4s ease-in-out infinite; }
.pj-timeline time { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--copper-deep); }
.pj-timeline strong { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.pj-timeline span { font-size: 14px; color: var(--muted); line-height: 1.6; }
@keyframes pjPulse { 50% { box-shadow: 0 0 0 12px rgba(197, 116, 33, 0); } }

.pj-policy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pj-policy .card { padding: 32px; gap: 14px; }
.pj-policy__big { font-family: var(--serif); font-size: 48px; font-weight: 600; color: var(--copper-deep); line-height: 1; }

.pj-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.pj-gallery .ph:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.pj-gallery .ph:nth-child(4) { grid-column: span 2; }
@media (max-width: 760px) { .pj-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } }
