/* =========================================================
   GLADIA NAVY — design tokens
   Palette: Navy #0B2545 · Deep Blue #123B6B · Gold #B8935A
             Cream #F7F5EF · Ink #1B2430 · Mist #E7ECF2
   Display: Fraunces (italic accents) · Body: Be Vietnam Pro
   Signature: animated gold "horizon line" across the hero,
   representing a tower against the skyline.
   ========================================================= */

:root{
	--navy: #0B2545;
	--navy-2: #123B6B;
	--navy-3: #1C4C82;
	--gold: #B8935A;
	--gold-light: #D9BD8C;
	--cream: #F7F5EF;
	--ink: #1B2430;
	--mist: #E7ECF2;
	--white: #ffffff;

	--font-display: 'Lora', 'Playfair Display', Georgia, serif;
	--font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--container: 1240px;
	--radius: 2px;
	--ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
	margin:0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--cream);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; background:none; border:0; cursor:pointer; color: inherit; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0 0 .4em; font-weight: 500; color: var(--navy); }
p{ margin:0 0 1em; }
svg{ width:18px; height:18px; }

:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce){
	*,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utility ---------- */
.eyebrow{
	font-family: var(--font-body);
	font-size: .75rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 600;
	margin: 0 0 1em;
	display:flex; align-items:center; gap:.6em;
}
.eyebrow::before{ content:''; width: 28px; height: 1px; background: var(--gold); display:inline-block; }
.eyebrow--light{ color: var(--gold-light); }

.section-title{ font-size: clamp(1.8rem, 3vw, 2.6rem); line-height:1.25; font-weight: 600; }
.section-title--light{ color: var(--white); }

.btn{
	display:inline-flex; align-items:center; justify-content:center; gap:.5em;
	padding: 1em 2.1em;
	font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight:600;
	border-radius: var(--radius);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.btn--gold{ background: var(--gold); color: var(--navy); }
.btn--gold:hover{ background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(184,147,90,.6); }
.btn--sm{ padding: .7em 1.4em; font-size: .75rem; }
.btn--block{ width:100%; }

/* reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Progress bar ---------- */
.site-progress{ position:fixed; top:0; left:0; width:100%; height:2px; z-index:1000; background:transparent; }
.site-progress__bar{ display:block; height:100%; width:0%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

#hero,#gioi-thieu,#vi-tri,#thiet-ke,#tien-ich,#mat-bang,#tien-do,#thu-vien,#khu-do-thi-lavila,#gia-ban-thanh-toan,#don-vi-phat-trien,#tin-tuc-section,#mua-ban,#lien-he{
	scroll-margin-top: 110px;
}

/* ---------- Header ---------- */
.site-header{
	position: fixed; top:0; left:0; right:0; z-index: 900;
	transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
	padding: 26px 0;
	background: rgba(11,37,69,.96); /* mặc định: nền đặc - dùng cho mọi trang con (không có hero phía sau) */
}
body.front-page .site-header{ background: transparent; } /* trang chủ: trong suốt để đè lên ảnh hero, đặc dần khi cuộn */
.site-header.is-scrolled{ background: rgba(11,37,69,.96); box-shadow: 0 8px 30px -12px rgba(0,0,0,.4); padding: 14px 0; }
.site-header__inner{
	max-width: 1760px; margin: 0 auto; padding: 0 28px;
	display:flex; align-items:center; justify-content:space-between; gap: 16px;
	flex-wrap: nowrap;
}
.site-header__logo{ flex-shrink: 0; display:flex; align-items:center; min-width:0; max-height: 48px; overflow: hidden; }
.site-header__logo a{ display:flex; align-items:center; max-height: 48px; }
.site-header__logo img,
.site-header__logo .custom-logo{
	max-height: 42px !important;
	height: auto !important;
	width: auto !important;
	max-width: 220px !important;
	object-fit: contain !important;
}
.site-header__logo-text{ font-family: var(--font-display); font-size: 1.4rem; color: var(--white); letter-spacing: .04em; white-space:nowrap; }
.site-header__nav{ flex: 1 1 auto; min-width:0; display:flex; justify-content:center; overflow: hidden; }
.site-header__menu{ list-style:none; display:flex; gap: clamp(8px, 1vw, 22px); margin:0; padding:0; flex-wrap: nowrap; }
.site-header__menu a{ color: rgba(255,255,255,.85); font-size: .76rem; letter-spacing:.02em; text-transform: uppercase; font-weight:500; position:relative; padding-bottom:4px; white-space: nowrap; }
.site-header__menu a::after{ content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--gold); transition: width .3s var(--ease); }
.site-header__menu a:hover::after{ width:100%; }
.site-header__actions{ display:flex; align-items:center; gap: clamp(10px, 1.4vw, 18px); flex-shrink:0; }
.site-header__hotline{ display:flex; align-items:center; gap:.5em; color: var(--gold-light); font-weight:600; font-size:.9rem; white-space: nowrap; }
.site-header__burger{ display:none; color:#fff; flex-shrink:0; }


/* ---------- Hero ---------- */
.hero{ position:relative; min-height: 100svh; display:flex; align-items:center; overflow:hidden; background: var(--navy); }
.hero__media{ position:absolute; inset:0; }
.hero__video, .hero__image{ width:100%; height:100%; object-fit:cover; }
.hero__scrim{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,37,69,.55) 0%, rgba(11,37,69,.35) 40%, rgba(11,37,69,.92) 100%); }

.hero__horizon{
	position:absolute; left:0; right:0; bottom: 18%; height:1px; background: var(--gold);
	transform-origin: left center; transform: scaleX(0);
	animation: draw-horizon 1.8s var(--ease) .5s forwards;
}
.hero__horizon::after{
	content:''; position:absolute; right:0; top:-4px; width:9px; height:9px; border-radius:50%; background: var(--gold);
	box-shadow: 0 0 24px 4px rgba(184,147,90,.7);
}
@keyframes draw-horizon{ to{ transform: scaleX(1); } }

.hero__content{ position:relative; z-index:2; max-width: var(--container); margin: 0 auto; padding: 0 28px; color: #fff; }
.hero__title{ color:#fff; font-size: clamp(3rem, 8vw, 6.4rem); line-height:.95; letter-spacing:.01em; margin-bottom: .3em; }
.hero__subtitle{ max-width: 480px; font-size: 1.05rem; color: rgba(255,255,255,.78); }
.hero__actions{ margin-top: 2em; }

.hero__scroll-cue{ position:absolute; left:50%; bottom: 40px; transform: translateX(-50%); width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; z-index:2; }

.hero__sound-toggle{
	position: absolute; right: 28px; bottom: 40px; z-index: 3;
	width: 46px; height: 46px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(11,37,69,.45); border: 1px solid rgba(255,255,255,.35);
	color: #fff; cursor: pointer; backdrop-filter: blur(3px);
	transition: background .25s ease, transform .25s ease;
}
.hero__sound-toggle:hover{ background: rgba(11,37,69,.65); transform: scale(1.06); }
.hero__sound-toggle .icon-sound-on{ display:none; }
.hero__sound-toggle[data-muted="false"] .icon-sound-off{ display:none; }
.hero__sound-toggle[data-muted="false"] .icon-sound-on{ display:block; }
@media (max-width: 640px){
	.hero__sound-toggle{ right: 18px; bottom: 30px; width: 40px; height: 40px; }
}
.hero__scroll-cue span{ position:absolute; top:6px; left:50%; width:4px; height:4px; margin-left:-2px; border-radius:50%; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue{ 0%{ opacity:1; transform: translateY(0);} 70%{opacity:0; transform: translateY(14px);} 100%{opacity:0;} }

/* ---------- About ---------- */
.about{ padding: 130px 28px; }
.about__inner{ max-width: var(--container); margin:0 auto; display:grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items:center; }
.about__media{ position:relative; }
.about__media img{ width:100%; aspect-ratio: 4/5; object-fit:cover; }
.about__media-frame{ position:absolute; top:22px; left:-22px; right:22px; bottom:-22px; border:1px solid var(--gold); z-index:-1; }
.about__text p{ color:#4B5563; }
.rich-content h3{ color: var(--navy); font-size: 1.1rem; font-weight:600; margin: 1em 0 .4em; }
.rich-content h4{ color: var(--navy); font-size: 1rem; font-weight:600; margin: 1em 0 .4em; }
.rich-content ul, .rich-content ol{ padding-left: 1.2em; margin: .6em 0 1em; }
.rich-content li{ margin-bottom: .4em; }
.rich-content a{ color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.rich-content blockquote{ border-left: 2px solid var(--gold); padding-left: 1em; margin: 1em 0; font-style: italic; }
.rich-content hr{ border:0; border-top:1px solid var(--mist); margin: 1.4em 0; }
.about__stats{ display:flex; gap: 46px; margin-top: 2.2em; padding-top: 2em; border-top: 1px solid var(--mist); }
.stat{ display:flex; flex-direction:column; }
.stat__num{ font-family: var(--font-display); font-size: 2.4rem; color: var(--navy); font-weight: 600; }
.stat__label{ font-size: .8rem; color:#6B7280; text-transform:uppercase; letter-spacing:.05em; margin-top:.3em; }

/* ---------- Location ---------- */
.location{ background: var(--white); padding: 130px 28px; }
.location__inner{ max-width: var(--container); margin:0 auto; display:grid; grid-template-columns: 1fr 1.2fr; gap:80px; align-items:center; }
.location__text p{ color:#4B5563; }
.location__media img, .location__media iframe{ width:100%; aspect-ratio: 16/11; object-fit:cover; border:0; }

/* ---------- Amenities ---------- */
.amenities{ padding: 130px 28px; }
.amenities__head, .timeline__head{ max-width: var(--container); margin: 0 auto 60px; text-align:center; }
.amenities__head .eyebrow, .timeline__head .eyebrow{ justify-content:center; }
.amenities__head .eyebrow::before, .timeline__head .eyebrow::before{ display:none; }
.amenities__grid{ max-width: var(--container); margin:0 auto; display:grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--mist); }
.amenity-card{ background: var(--cream); padding: 40px 30px; transition: background .35s var(--ease); }
.amenity-card:hover{ background: var(--white); }
.amenity-card__media{ width:56px; height:56px; border-radius:50%; overflow:hidden; margin-bottom: 22px; background: var(--navy); }
.amenity-card__media img{ width:100%; height:100%; object-fit:cover; }
.amenity-card h3{ font-size: 1.1rem; font-weight: 600; }
.amenity-card p{ color:#6B7280; font-size:.92rem; }
.amenities__empty{ text-align:center; color:#9AA3AF; }
.amenities__empty--light{ color: rgba(255,255,255,.6); }

/* ---------- Design (Thiết kế) ---------- */
.amenities__desc{ max-width: 640px; margin: 1em auto 0; color:#6B7280; }
.design__grid{ max-width: var(--container); margin:0 auto; display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.design-card{ background: var(--white); }
.design-card__media{ aspect-ratio: 4/3; overflow:hidden; background: var(--mist); }
.design-card__media img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.design-card:hover .design-card__media img{ transform: scale(1.06); }
.design-card h3{ margin-top: 18px; font-size: 1.05rem; font-weight:600; }
.design-card p{ color:#6B7280; font-size:.92rem; }

/* ---------- Floorplan (Mặt bằng) ---------- */
.floorplan__grid{ max-width: var(--container); margin:0 auto; display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.floorplan-card{ background: var(--white); border: 1px solid var(--mist); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.floorplan-card:hover{ box-shadow: 0 20px 40px -20px rgba(11,37,69,.25); transform: translateY(-4px); }
.floorplan-card__media{ aspect-ratio: 4/3; overflow:hidden; background: var(--mist); }
.floorplan-card__media img{ width:100%; height:100%; object-fit:cover; }
.floorplan-card__body{ padding: 22px 24px 26px; }
.floorplan-card__body h3{ font-size: 1.1rem; font-weight:600; }
.floorplan-card__specs{ list-style:none; display:flex; gap: 14px; margin: 0 0 14px; padding:0; flex-wrap:wrap; }
.floorplan-card__specs li{ font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; color: var(--navy-3); background: var(--mist); padding: .35em .8em; border-radius: var(--radius); }
.floorplan-card__desc{ color:#6B7280; font-size:.92rem; }
.floorplan-card__desc p{ margin:0; }

/* ---------- Urban (Khu đô thị Lavila) ---------- */
.urban__media img{ aspect-ratio: 16/11; object-fit:cover; }

/* ---------- Developer (Đơn vị phát triển) ---------- */
.developer__logo{ max-width: 160px; margin-bottom: 22px; }

/* ---------- Timeline ---------- */
.timeline{ background: var(--navy); background-image: linear-gradient(160deg, var(--navy), var(--navy-2) 60%, var(--navy-3)); padding: 130px 28px; }
.timeline__track{ max-width: var(--container); margin:0 auto; display:grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.timeline__item{ border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; color: rgba(255,255,255,.8); }
.timeline__index{ display:block; font-family: var(--font-display); font-size: 1rem; color: var(--gold-light); margin-bottom: 10px; }
.timeline__date{ display:block; font-size: .75rem; letter-spacing:.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.timeline__item h3{ color:#fff; font-size: 1.15rem; font-weight: 600; }
.timeline__desc{ font-size: .9rem; }
.timeline__desc p{ margin:0; }

/* ---------- Giá bán & Thanh toán ---------- */
.pricing{ background: var(--navy); background-image: linear-gradient(160deg, var(--navy), var(--navy-2) 60%, var(--navy-3)); padding: 130px 28px; }
.pricing__desc{ max-width: 640px; margin: 1em auto 0; color: rgba(255,255,255,.72); }
.pricing__desc p{ margin:0; }
.pricing__inner{ max-width: var(--container); margin: 0 auto; display:grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items:start; }

.pricing__price-card{ background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 40px 32px; display:flex; flex-direction:column; gap:10px; }
.pricing__price-label{ font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color: rgba(255,255,255,.65); }
.pricing__price-value{ font-family: var(--font-display); font-size: 2.2rem; color:#fff; font-weight:600; line-height:1.2; }
.pricing__price-note{ font-size:.82rem; color: rgba(255,255,255,.55); margin-bottom: 14px; }

.pricing__steps{ display:flex; flex-direction:column; gap: 22px; }
.pricing__step{ display:flex; gap: 20px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.pricing__step-index{ font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-light); flex-shrink:0; }
.pricing__step-body{ flex:1; }
.pricing__step-top{ display:flex; align-items:baseline; justify-content:space-between; gap: 12px; flex-wrap:wrap; }
.pricing__step-top h3{ color:#fff; font-size: 1.05rem; font-weight:600; margin:0; }
.pricing__step-percent{ font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); font-weight:600; white-space:nowrap; }
.pricing__step-desc{ font-size: .9rem; color: rgba(255,255,255,.72); margin-top: 6px; }
.pricing__step-desc p{ margin:0; }

@media (max-width: 900px){
	.pricing__inner{ grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery{ background: var(--white); padding: 130px 28px; }
.gallery__item{ position:relative; overflow:hidden; display:block; width:100%; height:100%; padding:0; }
.gallery__item img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.gallery__item:hover img{ transform: scale(1.06); }
.gallery__play{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background: rgba(11,37,69,.35); color:#fff; }
.gallery__play svg{ width:44px; height:44px; }

/* ---------- Lưới ảnh kiểu Facebook (dùng cho Thư viện + Khu đô thị Lavila) ---------- */
.fb-gallery{ max-width: var(--container); margin: 0 auto; display:flex; flex-direction:column; gap:4px; }
.fb-gallery__row{ display:grid; gap:4px; height: 440px; }

.fb-gallery__row--1{ grid-template-columns: 1fr; height: auto; aspect-ratio: 16/8; }

.fb-gallery__row--2{ grid-template-columns: 1fr 1fr; }

.fb-gallery__row--3{ grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
.fb-gallery__row--3 .fb-gallery__item--1{ grid-column: 1; grid-row: 1 / 3; }
.fb-gallery__row--3 .fb-gallery__item--2{ grid-column: 2; grid-row: 1; }
.fb-gallery__row--3 .fb-gallery__item--3{ grid-column: 2; grid-row: 2; }

.fb-gallery__row--4{ grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }

.fb-gallery__row--5{ grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.fb-gallery__row--5 .fb-gallery__item--1{ grid-column: 1; grid-row: 1 / 3; }
.fb-gallery__row--5 .fb-gallery__item--2{ grid-column: 2; grid-row: 1; }
.fb-gallery__row--5 .fb-gallery__item--3{ grid-column: 3; grid-row: 1; }
.fb-gallery__row--5 .fb-gallery__item--4{ grid-column: 2; grid-row: 2; }
.fb-gallery__row--5 .fb-gallery__item--5{ grid-column: 3; grid-row: 2; }

@media (max-width: 640px){
	.fb-gallery__row{ height: 260px; }
	.fb-gallery__row--3{ grid-template-columns: 1.1fr 1fr; }
	.fb-gallery__row--5{ grid-template-columns: 1.2fr 1fr 1fr; }
}

/* Các ảnh sau 5 ảnh đầu: lưới 2 cột, giữ nguyên tỉ lệ hình chữ nhật đầy đủ, không crop */
.fb-gallery__plain{ display:grid; grid-template-columns: repeat(2, 1fr); gap:4px; margin-top:4px; }
.fb-gallery__plain .gallery__item{ height:auto; }
.fb-gallery__plain .gallery__item img{ width:100%; height:auto; }
@media (max-width: 640px){
	.fb-gallery__plain{ grid-template-columns: 1fr; }
}

/* ---------- Thư viện ảnh trong section Khu đô thị Lavila ---------- */
.urban__gallery{ max-width: var(--container); margin: 90px auto 0; }
.urban__gallery-title{ font-size: 1.3rem; text-align:center; margin-bottom: 32px; }

/* Thư viện ảnh riêng cho từng mục (About/Vị trí/Tiện ích/Thiết kế/Mặt bằng/
   Tiến độ/Giá bán/Đơn vị phát triển/Liên hệ). Tự ẩn hoàn toàn khi mục
   chưa có ảnh nào (xem gladia_section_gallery() trong functions.php). */
.section-gallery{ max-width: var(--container); margin: 60px auto 0; }
.section-gallery-title{ font-size: 1.2rem; text-align:center; margin-bottom: 28px; }
.section-gallery-title--light{ color:#fff; }

.lightbox{ position:fixed; inset:0; background: rgba(11,37,69,.96); z-index:1200; display:none; align-items:center; justify-content:center; padding: 40px; }
.lightbox.is-open{ display:flex; }
.lightbox__content{ max-width: 1000px; width:100%; overflow: hidden; }
.lightbox__content img, .lightbox__content video{ width:100%; max-height: 82vh; object-fit:contain; }
.lightbox__close{ position:absolute; top: 28px; right: 28px; color:#fff; z-index:6; }

.lightbox__nav{
	position:absolute; top:50%; transform:translateY(-50%);
	width:52px; height:52px; border-radius:50%;
	display:flex; align-items:center; justify-content:center;
	background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.3);
	color:#fff; z-index:6; transition: background .25s var(--ease), transform .25s var(--ease);
}
.lightbox__nav svg{ width:22px; height:22px; }
.lightbox__nav:hover{ background: rgba(255,255,255,.22); }
.lightbox__nav--prev{ left: 20px; }
.lightbox__nav--next{ right: 20px; }
.lightbox__counter{
	position:absolute; bottom: 26px; left:50%; transform:translateX(-50%);
	color: rgba(255,255,255,.8); font-size:.8rem; letter-spacing:.05em; z-index:6;
}
@media (max-width: 640px){
	.lightbox__nav{ width:42px; height:42px; }
	.lightbox__nav--prev{ left:8px; }
	.lightbox__nav--next{ right:8px; }
}

.lightbox__content img.is-zoomable{ touch-action:none; user-select:none; -webkit-user-drag:none; will-change:transform; }

/* ---------- Lightbox: zoom controls ---------- */
.lightbox__zoom-controls{
	position:absolute; left:50%; bottom: 28px; transform: translateX(-50%);
	display:flex; align-items:center; gap: 2px;
	background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 999px; padding: 4px; z-index: 5;
}
.lightbox__zoom-controls[hidden]{ display:none; }
.lightbox__zoom-controls button{
	width: 36px; height:36px; border-radius:50%; color:#fff;
	display:flex; align-items:center; justify-content:center;
	font-size: 1.1rem; line-height:1; transition: background .2s var(--ease);
}
.lightbox__zoom-controls button:hover{ background: rgba(255,255,255,.16); }
.lightbox__zoom-controls #lightbox-zoom-reset{ width:auto; padding: 0 12px; font-size: .78rem; letter-spacing:.03em; }

/* ---------- Lightbox: detail panel (Mặt bằng / Thiết kế) ---------- */
.lightbox__content:has(.lightbox__panel){ max-width: 1100px; }
.lightbox__panel{ display:flex; flex-wrap:wrap; width:100%; max-height:88vh; background: var(--white); border-radius: 14px; overflow:hidden; }
.lightbox__panel .lightbox__media{ flex: 1 1 55%; min-width: 280px; background: var(--mist); max-height: 88vh; }
.lightbox__panel .lightbox__media img{ width:100%; height:100%; max-height:88vh; object-fit:contain; display:block; }
.lightbox__info{ flex: 1 1 320px; padding: 36px 40px; overflow-y:auto; max-height: 88vh; color: var(--navy); }
.lightbox__info h3{ font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 16px; }
.lightbox__specs{ list-style:none; display:flex; gap:10px; flex-wrap:wrap; margin: 0 0 18px; padding:0; }
.lightbox__specs li{ font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; color: var(--navy-3); background: var(--mist); padding: .4em .9em; border-radius: var(--radius); }
.lightbox__info p{ color:#4B5563; line-height:1.75; font-size:.98rem; white-space: pre-line; }
@media (max-width: 700px){
	.lightbox__panel{ flex-direction: column; max-height: 92vh; }
	.lightbox__panel .lightbox__media{ max-height: 40vh; }
	.lightbox__panel .lightbox__media img{ max-height: 40vh; }
	.lightbox__info{ max-height: none; padding: 26px 24px; }
}

/* ---------- Clickable media triggers ---------- */
.js-detail-trigger,
.js-lightbox-img{ cursor: pointer; position: relative; }
.js-detail-trigger:focus-visible,
.js-lightbox-img:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }
.js-detail-trigger::after,
.js-lightbox-img::after{
	content:'';
	position:absolute; inset:0;
	background: rgba(11,37,69,0);
	transition: background .3s var(--ease);
	pointer-events:none;
}
.js-detail-trigger:hover::after,
.js-lightbox-img:hover::after{ background: rgba(11,37,69,.12); }
.js-detail-trigger::before,
.js-lightbox-img::before{
	content:'';
	position:absolute; top:50%; left:50%; transform: translate(-50%,-50%) scale(.7);
	width:44px; height:44px; border-radius:50%;
	background: rgba(255,255,255,.92);
	opacity:0; transition: opacity .3s var(--ease), transform .3s var(--ease);
	pointer-events:none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
	background-repeat:no-repeat; background-position:center; background-size:20px;
	z-index:1;
}
.js-detail-trigger:hover::before,
.js-lightbox-img:hover::before{ opacity:1; transform: translate(-50%,-50%) scale(1); }

/* ---------- Contact ---------- */
.contact{ position:relative; background: var(--navy); padding: 140px 28px; overflow:hidden; }
.contact__bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.contact__scrim{ position:absolute; inset:0; background: linear-gradient(120deg, rgba(11,37,69,.96), rgba(11,37,69,.7)); }
.contact__inner{ position:relative; z-index:1; max-width: var(--container); margin:0 auto; display:grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items:start; }
.contact__text p{ color: rgba(255,255,255,.75); }
.contact__addr{ display:flex; align-items:center; gap:.6em; color: var(--gold-light); font-weight:500; }

.contact__form{ background: var(--white); padding: 44px; border-radius: var(--radius); }
.field{ position:relative; margin-bottom: 22px; }
.field input{ width:100%; padding: 16px 4px 8px; border:0; border-bottom: 1px solid var(--mist); font: inherit; background:transparent; }
.field input:focus{ outline:0; border-color: var(--gold); }
.field label{ position:absolute; left:4px; top:16px; color:#9AA3AF; transition: all .2s var(--ease); pointer-events:none; }
.field input:focus + label, .field input:not(:placeholder-shown) + label{ top:0; font-size:.72rem; letter-spacing:.05em; text-transform:uppercase; color: var(--navy-3); }
.contact__msg{ margin: 14px 0 0; font-size:.88rem; min-height: 1.2em; }
.contact__msg.is-error{ color:#B3401F; }
.contact__msg.is-success{ color: #1B7A4A; }

/* ---------- Footer ---------- */
.site-footer{ background: #081A34; color: rgba(255,255,255,.7); }
.site-footer__inner{ max-width: var(--container); margin:0 auto; padding: 90px 28px 50px; display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; }
.site-footer__brand{ max-width: 340px; }
.site-footer__brand img,
.site-footer__brand .custom-logo{
	max-height: 44px !important;
	height: auto !important;
	width: auto !important;
	max-width: 200px !important;
	object-fit: contain !important;
}
.site-footer__brand p{ margin: 18px 0; max-width: 340px; }
.site-header__logo-text--light{ font-family: var(--font-display); font-size:1.4rem; color:#fff; }
.site-footer__social{ display:flex; gap: 16px; }
.site-footer__social a{ font-size:.82rem; text-transform: uppercase; letter-spacing:.05em; color: var(--gold-light); }
.site-footer h4{ color:#fff; font-size: .8rem; text-transform: uppercase; letter-spacing:.12em; margin-bottom: 20px; font-family: var(--font-body); font-weight:600; }
.site-footer__col p, .site-footer__col li{ display:flex; align-items:center; gap:.6em; margin-bottom: 12px; font-size:.92rem; }
.site-footer__col ul{ list-style:none; margin:0; padding:0; }
.site-footer__col a:hover{ color: var(--gold-light); }
.site-footer__bottom{ border-top: 1px solid rgba(255,255,255,.1); text-align:center; padding: 22px 0; font-size: .82rem; }

/* ---------- Back to top ---------- */
.back-to-top{
	position:fixed; right: 28px; bottom: 28px; width: 44px; height:44px; border-radius:50%;
	background: var(--navy); color:#fff; display:flex; align-items:center; justify-content:center;
	transform: rotate(180deg) translateY(20px); opacity:0; visibility:hidden; z-index: 500;
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-to-top.is-visible{ opacity:1; visibility:visible; transform: rotate(180deg) translateY(0); }

/* ---------- Basic page/index ---------- */
.site-main--basic{ padding: 160px 28px 100px; }
.basic-wrap{ max-width: 760px; margin:0 auto; }
.basic-post{ margin-bottom: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--mist); }
.basic-post--single{ border-bottom: none; }
.basic-post__thumb{ margin: 20px 0 30px; border-radius: 10px; overflow: hidden; }
.basic-post__thumb img{ width:100%; height:auto; display:block; }
.basic-content{ line-height: 1.8; }
.basic-content p{ margin-bottom: 1.2em; }
.basic-content img{ max-width:100%; height:auto; border-radius: 8px; }
.basic-post__pagination{ margin-top: 30px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
	.about__inner, .location__inner, .contact__inner{ grid-template-columns: 1fr; gap: 50px; }
	.amenities__grid{ grid-template-columns: repeat(2, 1fr); }
	.design__grid, .floorplan__grid{ grid-template-columns: repeat(2, 1fr); }
	.timeline__track{ grid-template-columns: repeat(2, 1fr); }
	.site-footer__inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1480px){
	.site-header__nav{ position: fixed; top:0; right:0; bottom:0; width: min(320px, 84vw); background: var(--navy); padding: 100px 32px 32px; transform: translateX(100%); transition: transform .4s var(--ease); overflow-y:auto; overscroll-behavior: contain; }
	.site-header__nav.is-open{ transform: translateX(0); }
	.site-header__menu{ flex-direction:column; gap: 22px; }
	.site-header__hotline span{ display:none; }
	.site-header__burger{ display:flex; }
}
@media (max-width: 860px){
}
@media (max-width: 600px){
	.about, .location, .amenities, .timeline, .gallery, .contact{ padding-left: 20px; padding-right: 20px; }
	.amenities__grid{ grid-template-columns: 1fr; }
	.design__grid, .floorplan__grid{ grid-template-columns: 1fr; }
	.timeline__track{ grid-template-columns: 1fr; }
	.site-footer__inner{ grid-template-columns: 1fr; padding: 70px 20px 40px; }
	.contact__form{ padding: 28px; }
	.hero__title{ font-size: clamp(2.6rem, 13vw, 4rem); }
}

/* ==========================================================================
   Trang Tin tức (news listing + single post)
   ========================================================================== */

.site-main--news{ padding-bottom: 100px; }

.news-hero{
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
	padding: 150px 28px 70px;
	text-align: center;
}
.news-hero__inner{ max-width: 720px; margin: 0 auto; }
.news-hero .eyebrow{ justify-content: center; }
.news-hero__intro{ color: rgba(255,255,255,.72); font-size: 1.02rem; margin-top: .6em; }
.news-hero__intro p{ margin-bottom: .4em; }

.news-wrap{ max-width: var(--container); margin: 0 auto; padding: 60px 28px 0; }

/* Filter pills */
.news-filter{ display:flex; flex-wrap:wrap; gap: 10px; margin-bottom: 46px; }
.news-filter__pill{
	padding: .55em 1.3em;
	border: 1px solid var(--mist);
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 500;
	color: var(--navy);
	transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
	white-space: nowrap;
}
.news-filter__pill:hover{ border-color: var(--gold); }
.news-filter__pill.is-active{ background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Featured post */
.news-feature{
	display:grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 44px;
	align-items:center;
	margin-bottom: 60px;
	padding-bottom: 60px;
	border-bottom: 1px solid var(--mist);
}
.news-feature__media{
	display:block; position:relative; aspect-ratio: 4/3; border-radius: 6px; overflow:hidden; background: var(--mist);
}
.news-feature__media img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.news-feature:hover .news-feature__media img{ transform: scale(1.04); }
.news-feature__title{ font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .3em 0 .4em; }
.news-feature__title a:hover{ color: var(--navy-3); }
.news-feature__excerpt{ color:#5B6472; margin-bottom: 1.2em; }

/* Grid */
.news-grid{
	display:grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px;
	margin-bottom: 56px;
}
.news-card{
	display:flex;
	flex-direction:column;
	background: var(--white);
	border-radius: 6px;
	overflow:hidden;
	box-shadow: 0 2px 0 var(--mist);
	transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.news-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(11,37,69,.35); }
.news-card__thumb{ position:relative; display:block; aspect-ratio: 4/3; background: var(--mist); overflow:hidden; }
.news-card__thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__thumb img{ transform: scale(1.05); }
.news-card__placeholder{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; color: var(--gold-light); }
.news-card__placeholder svg{ width: 34px; height: 34px; }
.news-card__body{ padding: 22px 4px 4px; display:flex; flex-direction:column; flex:1; }
.news-card__tag{
	position:absolute; top: 14px; left: 14px;
	background: var(--gold); color: var(--navy);
	font-size: .68rem; font-weight: 600; letter-spacing:.04em;
	padding: .35em .9em; border-radius: 999px;
}
.news-card__tag--static{ position: static; display:inline-block; margin-bottom: .8em; }
.news-card__date{ font-size: .78rem; color:#9AA3AF; letter-spacing:.02em; }
.news-card__title{ font-size: 1.15rem; margin: .45em 0 .5em; line-height:1.4; }
.news-card__title a:hover{ color: var(--navy-3); }
.news-card__excerpt{ color:#5B6472; font-size: .92rem; line-height:1.6; margin-bottom: 1em; flex:1; }
.news-card__more{
	display:inline-flex; align-items:center; gap: .35em;
	font-size: .82rem; font-weight: 600; color: var(--gold); width: fit-content;
}
.news-card__more svg{ width:14px; height:14px; transition: transform .25s var(--ease); }
.news-card:hover .news-card__more svg, .news-feature:hover .news-card__more svg{ transform: translateX(3px); }

/* Pagination */
.news-pagination{ display:flex; justify-content:center; flex-wrap:wrap; gap: 8px; margin: 20px 0 10px; }
.news-pagination__item span, .news-pagination__item a{
	display:flex; align-items:center; justify-content:center;
	min-width: 40px; height: 40px; padding: 0 .4em;
	border: 1px solid var(--mist); border-radius: 4px;
	font-size: .85rem; font-weight: 500; color: var(--navy);
	transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.news-pagination__item a:hover{ border-color: var(--gold); }
.news-pagination__item span.current{ background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Empty state */
.news-empty{ text-align:center; padding: 70px 20px; color:#9AA3AF; }
.news-empty svg{ width: 30px; height:30px; margin-bottom: .8em; opacity:.6; }

/* Single post extras */
.single-post__back{
	display:inline-flex; align-items:center; gap:.3em;
	font-size: .82rem; font-weight: 600; color: var(--gold);
	margin-bottom: 26px;
}
.single-post__back svg{ width: 14px; height:14px; }
.single-post__meta{ display:flex; align-items:center; gap: 16px; margin-bottom: .6em; }
.single-post__meta time{ font-size: .8rem; color:#9AA3AF; }

@media (max-width: 960px){
	.news-feature{ grid-template-columns: 1fr; gap: 26px; }
	.news-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
	.news-hero{ padding: 130px 20px 50px; }
	.news-wrap{ padding: 46px 20px 0; }
	.news-grid{ grid-template-columns: 1fr; gap: 28px; }
	.news-feature{ margin-bottom: 40px; padding-bottom: 40px; }
}

/* =========================================================
   Mua bán tại Arcadia at Lavila (bố cục kiểu batdongsan.com.vn)
   ========================================================= */
.ls-section{ background: var(--white); padding: 130px 28px; }
.ls-section .amenities__head{ margin-bottom: 50px; }
.ls-wrap{ max-width: 1040px; margin: 0 auto; transition: opacity .25s var(--ease); }
.ls-wrap.is-loading{ opacity:.45; pointer-events:none; }
.ls-count{ font-size:.9rem; color:#5B6472; margin: 0 0 18px; }
.ls-count strong{ color: var(--navy); }

.ls-items{ display:flex; flex-direction:column; gap: 18px; margin-bottom: 40px; }
.ls-item{
	display:grid; grid-template-columns: 300px 1fr; gap: 0;
	background: var(--white); border: 1px solid var(--mist); border-radius: 8px; overflow:hidden;
	transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ls-item:hover{ border-color: var(--gold-light); box-shadow: 0 14px 34px -20px rgba(11,37,69,.35); }
.ls-item__media{ position:relative; display:block; background: var(--mist); min-height: 210px; overflow:hidden; }
.ls-item__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.ls-item:hover .ls-item__media img{ transform: scale(1.05); }
.ls-item__media .news-card__placeholder{ position:absolute; inset:0; }
.ls-item__tag{
	position:absolute; top:12px; left:12px; z-index:1;
	background: var(--gold); color: var(--navy); font-size:.68rem; font-weight:600;
	padding:.35em .9em; border-radius:999px;
}
.ls-item__count{
	position:absolute; bottom:12px; left:12px; z-index:1;
	background: rgba(11,37,69,.78); color: var(--white); font-size:.72rem; font-weight:500;
	padding:.3em .8em; border-radius:4px;
}
.ls-item__body{ display:flex; flex-direction:column; padding: 18px 22px 16px; min-width:0; }
.ls-item__title{
	font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height:1.45;
	text-transform: uppercase; margin: 0 0 10px; color: var(--navy);
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.ls-item__title a:hover{ color: var(--navy-3); }
.ls-item__facts{ display:flex; flex-wrap:wrap; align-items:baseline; gap: 6px 16px; margin-bottom: 8px; }
.ls-item__price{ font-size: 1.15rem; font-weight: 700; color:#C0392B; }
.ls-item__fact{ font-size:.92rem; font-weight:600; color: var(--ink); }
.ls-item__fact--muted{ font-weight:400; color:#6B7280; }
.ls-item__loc{ display:flex; align-items:center; gap:.4em; font-size:.88rem; color:#5B6472; margin: 0 0 8px; }
.ls-item__loc svg{ width:15px; height:15px; flex:none; color: var(--gold); }
.ls-item__excerpt{
	font-size:.9rem; line-height:1.6; color:#5B6472; margin: 0 0 12px;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.ls-item__foot{
	margin-top:auto; padding-top: 12px; border-top: 1px solid var(--mist);
	display:flex; align-items:center; justify-content:space-between; gap: 12px; flex-wrap:wrap;
}
.ls-agent{ display:flex; align-items:center; gap:10px; min-width:0; }
.ls-agent__avatar{
	width:36px; height:36px; border-radius:50%; background: var(--navy); color: var(--gold-light);
	display:flex; align-items:center; justify-content:center; font-weight:600; font-size:.9rem; flex:none;
}
.ls-agent__info{ display:flex; flex-direction:column; line-height:1.35; min-width:0; }
.ls-agent__info strong{ font-size:.85rem; color: var(--navy); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ls-agent__info time{ font-size:.76rem; color:#9AA3AF; }

.ls-phone{
	display:inline-flex; align-items:center; gap:.55em; padding:.6em 1.1em;
	background: var(--navy); color: var(--white); border-radius: 4px; font-size:.85rem; font-weight:600;
	transition: background .3s var(--ease);
}
.ls-phone:hover{ background: var(--navy-3); }
.ls-phone svg{ width:15px; height:15px; }
.ls-phone__act{ font-size:.72rem; font-weight:500; color: var(--gold-light); padding-left:.6em; border-left:1px solid rgba(255,255,255,.25); }
.ls-phone.is-revealed .ls-phone__act{ display:none; }

.ls-pagination .dots{ border:0; min-width:24px; }

/* Khung thông tin trên trang bài viết */
.ls-facts{ margin: 0 0 32px; padding: 22px 24px; background: var(--white); border:1px solid var(--mist); border-radius: 8px; }
.ls-facts__list{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; margin:0; }
.ls-facts__list div{ display:flex; justify-content:space-between; gap:12px; padding-bottom:10px; border-bottom:1px dashed var(--mist); }
.ls-facts__list dt{ color:#6B7280; font-size:.88rem; }
.ls-facts__list dd{ margin:0; font-weight:600; color: var(--navy); text-align:right; }
.ls-facts__contact{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:18px; }

@media (max-width: 760px){
	.ls-section{ padding: 90px 20px; }
	.ls-item{ grid-template-columns: 1fr; }
	.ls-item__media{ min-height:0; aspect-ratio: 16/10; }
	.ls-item__body{ padding: 16px 16px 14px; }
	.ls-item__foot{ flex-direction:column; align-items:stretch; }
	.ls-phone{ justify-content:center; }
	.ls-facts__list{ grid-template-columns: 1fr; }
}
