/* Theme styles (moved out of index.html). Load BEFORE custom.css */
:root {
	--brand: #b42e2d;
	--ink: #ffffff;
	--glass: rgba(255, 255, 255, 0.14);
	--glass-line: rgba(255, 255, 255, 0.35);
}
body {
	font-family: "Outfit", system-ui, sans-serif;
	color: #212529;
}

/* ---------- Navbar ---------- */
.site-nav {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 10;
	padding: 1rem 0;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.35),
		rgba(255, 255, 255, 0)
	);
	backdrop-filter: blur(6px);
}
.site-nav img {
	height: 44px;
	width: auto;
}
.btn-contact {
	background: var(--brand);
	color: #fff;
	border: 0;
	border-radius: 50rem;
	padding: 0.45rem 1.1rem;
	font-size: 0.85rem;
}
.btn-contact:hover {
	background: #962423;
	color: #fff;
}
.circle-arrow {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	flex: none;
}
.nav-toggle {
	color: var(--brand);
	font-size: 1.6rem;
	background: none;
	border: 0;
	line-height: 1;
}

/* ===== Full-screen menu ===== */
.menu-full {
	--bs-offcanvas-height: 100vh;
	--bs-offcanvas-bg: #f8e7e7;
	--bs-offcanvas-transition: transform 0.5s cubic-bezier(0.65, 0, 0.25, 1);
	height: 100vh;
	height: 100dvh;
	max-height: none;
	border: 0;
	overflow: hidden;
}
.menu-art {
	/* the drawing is sized by width and keeps its 600:380 shape on every screen */
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: auto;
	aspect-ratio: 600 / 380;
	transform: translate(-50%, -50%);
	color: rgba(180, 46, 45, 0.3);
	pointer-events: none;
}
.menu-art path {
	vector-effect: non-scaling-stroke;
} /* lines stay 1px at any size */
@media (max-width: 767.98px) {
	/* phone: whole house sits along the bottom of the screen instead of being cropped */
	.menu-art {
		top: auto;
		bottom: 0;
		width: 150%;
		transform: translateX(-50%);
	}
}
.menu-top {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 1.5rem 1.75rem;
}
.menu-top img {
	display: block;
	height: 44px;
	width: auto;
}
.menu-close {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	display: grid;
	place-items: center;
	font-size: 0.95rem;
	background: rgba(180, 46, 45, 0.14);
	color: var(--brand);
	transition: background-color 0.2s ease;
}
.menu-close:hover {
	background: rgba(180, 46, 45, 0.26);
}

.menu-body {
	position: relative;
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0 1.75rem 3rem;
}
.menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}
.menu-list a {
	display: inline-block;
	color: var(--brand);
	text-decoration: none;
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	font-weight: 400;
	line-height: 1.5;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}
.menu-list a:hover {
	color: #8f2220;
	transform: translateX(-6px);
}

/* items slide in one after another when the menu opens */
.menu-list li {
	opacity: 0;
	transform: translateX(20px);
	transition:
		opacity 0.4s ease,
		transform 0.4s ease;
}
.menu-full.show .menu-list li {
	opacity: 1;
	transform: none;
	transition-delay: calc(var(--i, 0) * 60ms + 200ms);
}

@media (prefers-reduced-motion: reduce) {
	.menu-list li,
	.menu-list a {
		transition: none;
		opacity: 1;
		transform: none;
	}
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: stretch;
	padding: 6rem 0 3.5rem;
	color: var(--ink);
	background-color: #3a4654;
	background-image:
		linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55)),
		var(--hero-bg, none);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat; /* image is set per page: style="--hero-bg: url('...')" on <header class="hero"> */
}
.hero .hero-fill {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hero .hero-title {
	max-width: none;
	line-height: 1.1;
}
@media (min-width: 992px) {
	.hero .hero-fill > .row {
		flex: 1; /* row setinggi container, jadi align-self-end bekerja */
	}
}

.hero h1 {
	font-weight: 300;
	line-height: 1.15;
	font-size: clamp(2.4rem, 5.5vw, 4.25rem);
	max-width: 11em;
}
.hero p.lead-sm {
	font-size: 0.95rem;
	max-width: 26rem;
	opacity: 0.95;
}

.btn-booking {
	background: #fff;
	color: var(--brand);
	border-radius: 50rem;
	padding: 0.4rem 0.45rem 0.4rem 1.4rem;
	display: inline-flex;
	align-items: center;
	gap: 2.5rem;
	font-size: 0.9rem;
	border: 0;
}
.btn-booking .circle-arrow {
	width: 40px;
	height: 40px;
	font-size: 1.1rem;
}
.btn-booking:hover {
	background: #f4f4f4;
	color: var(--brand);
}

/* ---------- Glass highlight card ---------- */
.highlight {
	max-width: 440px;
	margin-left: auto;
}
.highlight-card {
	flex: 0 0 100%;
	display: flex;
	gap: 1rem;
	padding: 0.75rem;
}
.highlight-card img {
	width: 38%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 1rem;
	background: #6b7380;
}
.highlight-card .meta {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-size: 0.85rem;
}

@media (max-width: 991.98px) {
	.hero .highlight {
		margin-top: 1.5rem;
	}
}

/* ---------- Next section start (rounded white sheet) ---------- */
.sheet {
	margin-top: -1.5rem;
	position: relative;
	z-index: 2;
	background: var(--paper, #f0f0f0);
	border-radius: 1.5rem 1.5rem 0 0;
}

@media (max-width: 991.98px) {
	.highlight {
		margin: 2.5rem 0 0;
		max-width: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}

/* ===== Navbar: fixed, turns solid after scrolling ===== */
.site-nav {
	position: fixed;
	transition:
		background-color 0.3s ease,
		padding 0.3s ease,
		box-shadow 0.3s ease,
		backdrop-filter 0.3s ease;
}
.site-nav img {
	transition: height 0.3s ease;
}
.site-nav.is-scrolled {
	background: #ffffff80;
	backdrop-filter: blur(40%);
	padding: 0.5rem 0;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.site-nav.is-scrolled img {
	height: 36px;
}

/* ===== Page-load sequence (one orchestrated moment) ===== */
@keyframes rise {
	from {
		opacity: 1;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
.hero h1,
.hero .lead-sm,
.hero .btn-booking,
.hero .highlight {
	opacity: 0;
	animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero h1 {
	animation-delay: 0.15s;
}
.hero .lead-sm {
	animation-delay: 0.35s;
}
.hero .btn-booking {
	animation-delay: 0.5s;
}
.hero .highlight {
	animation-delay: 0.7s;
}

/* ===== Button hover (answers the user's action) ===== */
.btn-booking .circle-arrow,
.btn-contact + .circle-arrow {
	transition: transform 0.25s ease;
}
.btn-booking:hover .circle-arrow {
	transform: translateX(4px);
}
.btn-contact + .circle-arrow:hover {
	transform: translate(2px, -2px);
}
.btn-contact {
	transition: background-color 0.2s ease;
}

/* ===== Highlight slider: sliding track + segmented progress ===== */
.highlight-bars {
	display: flex;
	gap: 6px;
	margin-bottom: 0.6rem;
}
.hbar {
	flex: 1;
	height: 4px;
	padding: 0;
	border: 0;
	position: relative;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
}
.hbar::after {
	content: "";
	position: absolute;
	inset: -8px 0;
} /* bigger tap area */
.hbar:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
.hbar span {
	display: block;
	width: 0;
	height: 100%;
	background: #fff;
}
.hbar.done span {
	width: 100%;
}
.hbar.run span {
	animation: fill var(--slide-time, 5s) linear forwards;
}
.highlight:hover .hbar.run span {
	animation-play-state: paused;
}
@keyframes fill {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

.highlight-viewport {
	overflow: hidden;
	touch-action: pan-y;
	background: var(--glass);
	border: 1px solid var(--glass-line);
	border-radius: 1.25rem;
	backdrop-filter: blur(10px);
}
.highlight-track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.65, 0, 0.25, 1);
}

/* ===== Respect reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
	.hero h1,
	.hero .lead-sm,
	.hero .btn-booking,
	.hero .highlight {
		opacity: 1;
		animation: none;
	}
	.hbar.run span {
		animation: none;
		width: 100%;
	}
	.highlight-track {
		transition: none;
	}
}

/* ===== About ===== */
:root {
	--paper: #f0f0f0;
	--ink-soft: #555;
}

.about {
	padding: 3.5rem 0 4rem;
	color: #111;
}
.sec-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding-inline: 0.75rem;
}
.sec-pad {
	padding-inline: 0.5rem;
}
@media (min-width: 992px) {
	.sec-inner {
		padding-inline: 0;
	}
	.sec-pad {
		padding-inline: 3rem;
	}
}

.sec-label {
	font-size: 1.5rem;
	font-weight: 300;
	color: #666;
}
.sec-heading {
	font-size: 32px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0 0 1rem;
}
.sec-intro {
	color: var(--ink-soft);
	font-size: 18px;
	line-height: 1.4;
	font-weight: 100;
	margin: 0;
}

/* images set inside the heading text */
.pill-img {
	display: inline-block;
	vertical-align: middle;
	margin-inline: 0.15em;
}
.pill-img img {
	display: block;
	width: 2.6em;
	height: 1.3em;
	object-fit: cover;
	border-radius: 50rem;
}
.pill-img.is-wide img {
	width: 5.6em;
}

/* joined stat cards */
.stat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 2.25rem 0 2rem;
}
.stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	padding: 2rem 1rem;
	text-align: center;
	background: #fff;
	border: 1px solid #111;
	border-radius: 1.75rem;
}
.stat + .stat {
	margin-left: -1px;
}
.stat-value {
	font-family: "Instrument Serif", Georgia, serif;
	font-size: clamp(2.6rem, 5vw, 4.25rem);
	line-height: 1;
	letter-spacing: -0.02em;
}
.stat-label {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin-top: 0.6rem;
}
@media (max-width: 767.98px) {
	.stat-grid {
		grid-template-columns: 1fr;
	}
	.stat {
		min-height: 180px;
	}
	.stat + .stat {
		margin-left: 0;
		margin-top: -1px;
	}
}

/* red pill button with white arrow */
.btn-more {
	display: inline-flex;
	align-items: center;
	gap: 3rem;
	background: var(--brand);
	color: #fff;
	border: 0;
	border-radius: 50rem;
	padding: 0.4rem 0.4rem 0.4rem 1.1rem;
	font-size: 0.85rem;
}
.btn-more:hover {
	background: #962423;
	color: #fff;
}
.btn-more .circle-arrow {
	background: #fff;
	color: var(--brand);
	width: 36px;
	height: 36px;
	font-size: 1.1rem;
	transition: transform 0.25s ease;
}
.btn-more:hover .circle-arrow {
	transform: translateX(4px);
}

/* ===== Floating WhatsApp / Contact ===== */
/* idle: logo + vertical tab (reads bottom to top). hover: pill slides out right to left */
.float-contact {
	position: fixed;
	right: 1rem;
	bottom: 1.5rem;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-decoration: none;
	color: #fff;
}
.fc-main {
	display: flex;
	align-items: center;
}
.fc-label {
	display: flex;
	align-items: center;
	height: 50px;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	margin-right: -26px; /* tucks under the logo */
	background: #17a017;
	border-radius: 25px 0 0 25px;
	font-size: 0.9rem;
	transition: max-width 0.4s cubic-bezier(0.65, 0, 0.25, 1);
}
.fc-text {
	padding: 0 34px 0 1.1rem;
}
.wa {
	position: relative;
	z-index: 1;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.6rem;
	background: #1faa1f;
	color: #fff;
}
.fc-tab {
	width: 50px;
	margin-top: -16px;
	padding: 14px 0 26px; /* extra padding ends up on top after the 180deg turn */
	background: #17a017;
	border-radius: 25px;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-align: center;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	transition: opacity 0.25s ease;
}
.float-contact:hover .fc-label,
.float-contact:focus-visible .fc-label {
	max-width: 12rem;
}
.float-contact:hover .fc-tab,
.float-contact:focus-visible .fc-tab {
	opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
	.fc-label,
	.fc-tab {
		transition: none;
	}
}

/* ===== Location ===== */
.location {
	background: #fff;
	padding: 3rem 0 4rem;
	color: #111;
}
.loc-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.9rem;
	color: #333;
	text-decoration: none;
	margin: 1.5rem 0 0.75rem;
}
.loc-link:hover {
	text-decoration: underline;
}
.loc-link i {
	color: var(--brand);
}

.loc-cards {
	display: grid;
	align-items: start;
	max-width: 52rem;
	margin-top: 2rem;
	grid-template-columns: 1fr 0fr;
	column-gap: 0; /* QR closed: map takes the full width */
	transition:
		grid-template-columns 0.45s cubic-bezier(0.65, 0, 0.25, 1),
		column-gap 0.45s cubic-bezier(0.65, 0, 0.25, 1);
}
.loc-cards.is-open {
	grid-template-columns: 2.1fr 1fr;
	column-gap: 0.75rem;
}
.loc-map {
	position: relative;
	height: 20rem;
	border: 1px solid #111;
	border-radius: 1.5rem;
	overflow: hidden;
	background: #e5e3df;
}
.loc-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.loc-info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none; /* map stays draggable */
	padding: 2.5rem 1rem 0.9rem;
	color: #fff;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}
.loc-name {
	font-weight: 500;
	font-size: 1.05rem;
}
.loc-addr {
	font-size: 0.85rem;
	line-height: 1.35;
	opacity: 0.95;
}

.loc-qr {
	min-width: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s ease,
		visibility 0s linear 0.45s;
}
.loc-cards.is-open .loc-qr {
	opacity: 1;
	visibility: visible;
	transition:
		opacity 0.3s ease 0.15s,
		visibility 0s;
}
.btn-more[aria-expanded="true"] .circle-arrow i {
	transform: rotate(90deg);
}
.btn-more .circle-arrow i {
	transition: transform 0.3s ease;
}
.loc-qr-box {
	border: 1px solid #111;
	border-radius: 1.25rem;
	padding: 0.75rem;
	background: #fff;
}
.loc-qr-box img {
	display: block;
	width: 100%;
	height: auto;
}
.loc-qr figcaption {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	color: #666;
}

@media (max-width: 767.98px) {
	.loc-cards,
	.loc-cards.is-open {
		grid-template-columns: 1fr;
		row-gap: 0.75rem;
		column-gap: 0;
	}
	.loc-map {
		height: 16rem;
	}
	.loc-qr {
		display: none;
		max-width: 14rem;
	}
	.loc-cards.is-open .loc-qr {
		display: block;
	}
}
@media (prefers-reduced-motion: reduce) {
	.loc-cards,
	.loc-qr,
	.btn-more .circle-arrow i {
		transition: none;
	}
}

/* ===== Site plan ===== */
.plan {
	background: var(--paper, #f0f0f0);
	padding: 3rem 0 4rem;
	color: #111;
}

.plan-viewer {
	position: relative;
	overflow: hidden;
	margin: 1rem 0 2.25rem;
	height: clamp(16rem, 36vw, 24rem);
	background: #fafafa;
	border: 1px solid var(--brand);
	border-radius: 1.5rem;
}
.plan-stage {
	position: absolute;
	inset: 0;
	transform-origin: 0 0;
	transition: transform 0.3s ease;
}
.plan-stage img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	user-select: none;
	-webkit-user-drag: none;
}
.plan-viewer.is-zoomed {
	cursor: grab;
	touch-action: none;
} /* page still scrolls on touch until zoomed in */
.plan-viewer.is-dragging {
	cursor: grabbing;
}
.plan-viewer.is-dragging .plan-stage {
	transition: none;
}

.plan-zoom {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.plan-zoom button {
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.8rem;
	background: var(--brand);
	color: #fff;
}
.plan-zoom button:hover:not(:disabled) {
	background: #962423;
}
.plan-zoom button:disabled {
	opacity: 0.4;
	cursor: default;
}

.plan-heading {
	font-size: 32px;
	font-weight: 400;
	line-height: 1.3;
	color: #444;
	margin: 0 0 0.9rem;
}
.plan-text {
	font-size: 18px;
	line-height: 1.5;
	font-weight: 100;
	color: var(--ink-soft);
	max-width: 17rem;
	margin: 0;
}

/* image card with frosted panel */
.access-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 21rem;
	padding: 1.5rem;
	color: #fff;
	border-radius: 1.5rem;
	overflow: hidden;
	background:
		linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
		var(--access-bg, none) center / cover no-repeat #3a4654;
}
.access-title {
	flex: 1;
	max-width: 9em;
	margin: 0;
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
	font-weight: 300;
	line-height: 1.3;
}
.access-panel {
	position: relative;
	width: min(100%, 22rem);
	padding: 1rem;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 1.25rem;
	backdrop-filter: blur(10px);
}
.access-intro {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	line-height: 1.35;
}
.access-list {
	list-style: none;
	margin: 0 0 0.9rem;
	padding: 0;
	font-size: 0.75rem;
}
.access-list li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.22rem 0;
}
.access-list i {
	font-size: 0.95rem;
	flex: none;
}
.access-go {
	position: absolute;
	right: 1rem;
	bottom: 3.3rem;
	width: 22px;
	height: 22px;
	font-size: 0.7rem;
	background: #fff;
	color: #222;
}
.access-btn {
	display: block;
	padding: 0.4rem;
	text-align: center;
	text-decoration: none;
	font-size: 0.8rem;
	color: #fff;
	border-radius: 50rem;
	background: rgba(255, 255, 255, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.4);
}
.access-btn:hover {
	background: rgba(255, 255, 255, 0.4);
	color: #fff;
}

@media (max-width: 767.98px) {
	.access-card {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}
	.access-title {
		max-width: none;
	}
	.access-panel {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.plan-stage {
		transition: none;
	}
}

/* ===== Units (red section) ===== */
.units {
	background: var(--brand);
	color: #fff;
	padding: 3.5rem 0 4rem;
}
.units .sec-label {
	color: rgba(255, 255, 255, 0.9);
}
.units .sec-heading {
	color: #fff;
}
.units .sec-intro {
	color: rgba(255, 255, 255, 0.92);
}

.unit-stage {
	display: grid;
	margin-top: 2.25rem;
}
.unit-panel {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.75rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition:
		opacity 0.45s ease,
		transform 0.45s ease,
		visibility 0s linear 0.45s;
}
.unit-panel.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.unit-card {
	width: min(100%, 24rem);
	background: #fff;
	border-radius: 1.25rem;
	overflow: hidden;
	color: var(--brand);
}
.unit-media {
	position: relative;
	aspect-ratio: 2.6 / 1;
	min-height: 9rem;
	background: #3a4654;
}
.unit-media > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.unit-go {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.8rem;
	text-decoration: none;
	background: var(--brand);
	color: #fff;
}
.unit-specs {
	position: absolute;
	top: 0.65rem;
	left: 0.65rem;
	max-width: 55%;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}
.unit-specs li {
	padding: 0.3rem 0.8rem;
	color: #fff;
	font-size: 0.7rem;
	line-height: 1.2;
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 1rem;
	backdrop-filter: blur(8px);
}
.unit-specs b {
	display: block;
	font-weight: 500;
}
.unit-specs small {
	display: block;
	font-size: 0.6rem;
	opacity: 0.9;
}

.unit-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 1rem;
}
.unit-name {
	font-size: 1rem;
	line-height: 1.2;
}
.unit-sub {
	font-size: 0.7rem;
}
.unit-btn {
	padding: 0.45rem 1rem;
	border-radius: 50rem;
	text-decoration: none;
	white-space: nowrap;
	font-size: 0.8rem;
	color: var(--brand);
	background: #f1d6d5;
}
.unit-btn:hover {
	background: #e9c3c2;
	color: var(--brand);
}

.unit-features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.9rem;
	max-width: 46rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.unit-features li {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.3rem 1.5rem 0.3rem 0.3rem;
	background: #fff;
	color: #222;
	border-radius: 50rem;
	font-size: 0.9rem;
}
.unit-features .ico {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.05rem;
	background: var(--brand);
	color: #fff;
}

.unit-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}
.unit-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.45);
	transition:
		width 0.3s ease,
		background-color 0.3s ease;
	position: relative;
}
.unit-dot::after {
	content: "";
	position: absolute;
	inset: -8px -4px;
} /* bigger tap area */
.unit-dot.is-active {
	width: 24px;
	background: #fff;
}
.unit-dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.unit-panel,
	.unit-dot {
		transition: none;
	}
}

/* ===== Spesifikasi ===== */
.spec {
	background: #d2d2d2;
	padding: 3rem 0;
	color: #222;
}
.spec-plan {
	display: block;
	width: 100%;
	max-width: 20rem;
	height: auto;
	margin-inline: auto;
}

.spec-title {
	margin: 0 0 1.5rem;
	font-size: 1.2rem;
	font-weight: 600;
	text-transform: uppercase;
}

.spec-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}
.spec-col {
	padding-right: 1.5rem;
}
.spec-col + .spec-col {
	padding-right: 0;
	padding-left: 2rem;
	border-left: 1px solid #222;
} /* divider */

.spec-group {
	margin-bottom: 1rem;
}
.spec-group h3 {
	display: flex;
	gap: 0.6rem;
	margin: 0 0 0.3rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
}
.spec-group h3::before {
	content: "\2022";
}
.spec-group ul {
	margin: 0;
	padding: 0 0 0 1.05rem;
	list-style: none;
}
.spec-group li {
	font-size: 0.75rem;
	line-height: 1.9;
	color: #444;
}

@media (max-width: 767.98px) {
	.spec-cols {
		grid-template-columns: 1fr;
	}
	.spec-col {
		padding-right: 0;
	}
	.spec-col + .spec-col {
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid #222;
		padding-top: 1rem;
	}
}

/* ===== Gallery (scroll-snap carousel) ===== */
.gallery {
	background: #fff;
	padding: 3rem 0 4rem;
	color: #111;
	border-top: 4px solid var(--brand);
} /* red strip on top, as in the design */
.gallery .sec-heading {
	max-width: 11em;
} /* wraps after "Dari" */

.gallery-nav {
	display: flex;
	justify-content: flex-end;
	gap: 0.6rem;
	margin: 1.25rem 0 1.5rem;
}
.gal-arrow {
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1rem;
	cursor: pointer;
	background: transparent;
	color: var(--brand);
	border: 1.5px solid var(--brand);
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}
.gal-arrow:hover:not(:disabled) {
	background: var(--brand);
	color: #fff;
}
.gal-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.gallery-track {
	--gap: 1rem;
	--per: 4;
	display: flex;
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
	display: none;
}
.gallery-item {
	position: relative;
	display: block;
	overflow: hidden;
	flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
	aspect-ratio: 181 / 292;
	scroll-snap-align: start;
	border-radius: 1.9rem;
	background: #ddd;
}
.gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.gallery-item:hover img {
	transform: scale(1.04);
}
.gallery-go {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.8rem;
	background: var(--brand);
	color: #fff;
}
.gallery-more {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}
.gallery-more .btn-more {
	min-width: 13rem;
	justify-content: space-between;
}

@media (max-width: 991.98px) {
	.gallery-track {
		--per: 2;
	}
}
@media (max-width: 575.98px) {
	.gallery-track {
		--per: 1.25;
	}
}
@media (prefers-reduced-motion: reduce) {
	.gallery-item img,
	.gal-arrow {
		transition: none;
	}
}

/* ===== Footer ===== */
.site-footer {
	background: #231f1c;
	color: #fff;
	padding: 2.25rem 0 1.25rem;
	border-radius: 1.5rem 1.5rem 0 0;
}
.foot-grid {
	display: grid;
	align-items: start;
	column-gap: 3rem;
	grid-template-columns: 1fr 8rem 11rem 2rem;
}
.foot-brand img {
	display: block;
	width: 9.5rem;
	max-width: 100%;
	height: auto;
}
.site-footer h4 {
	margin: 0 0 0.9rem;
	font-size: 1rem;
	font-weight: 400;
	color: #fff;
}
.foot-menu ul,
.foot-social {
	list-style: none;
	margin: 0;
	padding: 0;
}
.foot-menu li {
	padding: 0.32rem 0;
}
.site-footer a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-size: 0.78rem;
	font-weight: 300;
}
.site-footer a:hover {
	color: #fff;
}
.foot-contact a {
	display: block;
	margin-bottom: 0.7rem;
}
.foot-contact address {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 300;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.75);
}

.foot-social {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.foot-social a {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 18px;
	background: var(--brand);
	color: #fff;
}
.foot-social a:hover {
	background: #d23a39;
	color: #fff;
}

.foot-copy {
	margin-top: 2rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 0.7rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 991.98px) {
	.foot-grid {
		grid-template-columns: 1fr 1fr;
		row-gap: 2rem;
	}
	.foot-brand {
		grid-column: 1 / -1;
	}
	.foot-social {
		grid-column: 1 / -1;
		flex-direction: row;
	}
}

/* ================ ABOUT PAGE ==================== */
/* ===== About stats: Bootstrap grid ===== */
.stat-rows {
	margin: 2.25rem 0 2rem;
}
.stat-rows .stat {
	height: 100%;
	min-height: 190px;
	padding: 1.5rem 0.75rem;
}
.stat-rows .stat-value {
	font-size: clamp(2rem, 4vw, 3.5rem);
	white-space: nowrap;
}
.stat-rows .stat-label {
	font-size: 0.8rem;
}
@media (min-width: 992px) {
	.stat-row + .stat-row {
		margin-top: -1px;
	}
	.stat-row > div + div .stat {
		margin-left: -1px;
	}
}

/* ===== story (only what Bootstrap can't do) ===== */
.story-card {
	min-height: 20rem;
	background:
		linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
		var(--story-bg, none) center / cover no-repeat #3a4654;
}
.story-panel {
	padding: 1.5rem 1.75rem;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 1.25rem;
	backdrop-filter: blur(1px);
}
.story-title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 300;
	line-height: 1.3;
}
.story-text {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 300;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.8);
}

/* ===== About: visi/misi ===== */
.vm {
	background: var(--brand);
	color: #fff;
}
.vm .sec-label,
.vm .sec-heading {
	color: #fff;
}
.vm-card {
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 1.5rem;
}
.vm-title {
	margin: 0 0 0.9rem;
	font-size: 32px;
	font-weight: 300;
}
.vm-text {
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 100;
	color: rgba(255, 255, 255, 0.92);
}
.vm-list {
	padding-left: 1.1rem;
}

/* ===== About: values ===== */
.values {
	min-height: 30rem;
	color: #fff;
	background:
		linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
		var(--values-bg, none) center / cover no-repeat #3a4654;
}

.vm .sec-label,
.vm .sec-heading,
.values .sec-label,
.values .sec-heading {
	margin: 0;
	line-height: 1.4;
	color: #fff;
	font-weight: 100;
	font-size: 32px;
}
.vm .sec-heading,
.values .sec-heading {
	margin-bottom: 1.5rem; /* space before the cards */
}
.value-card {
	padding: 1rem;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 1.25rem;
	backdrop-filter: blur(1px);
}
.value-icon {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 1rem;
	color: var(--brand);
}
.value-title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 400;
}
.value-text {
	margin: 0;
	font-size: 0.7rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.75);
}

/* ===== About: FAQ ===== */
.faq {
	background: var(--paper, #f0f0f0);
	color: #111;
}
.faq .sec-label,
.faq .sec-heading {
	margin: 0;
	line-height: 1.4;
}
.faq .sec-heading {
	margin-bottom: 2.5rem;
}
.faq-item {
	border-bottom: 1px solid #777;
}
.faq-q {
	padding: 0.9rem 0;
	background: none;
	border: 0;
	text-align: left;
	font-size: 1.05rem;
	font-weight: 300;
	color: #111;
}
.faq-q i {
	flex: none;
	margin-left: 1rem;
	font-size: 1rem;
	transition: transform 0.3s ease;
}
.faq-q:not(.collapsed) i {
	transform: rotate(45deg); /* + becomes x when open */
}
.faq-a {
	margin: 0;
	padding-bottom: 0.9rem;
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--ink-soft);
}

/* ===== About: CTA banner ===== */
.cta {
	min-height: 14rem;
	padding: 2rem 1rem;
	color: #fff;
	border-radius: 1.5rem;
	background:
		linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
		var(--cta-bg, none) center / cover no-repeat #3a4654;
}
.cta-title {
	margin: 0 0 0.5rem;
	font-size: 64px;
	font-weight: 300;
	line-height: 1.15;
}
.cta-text {
	margin: 0 0 1.25rem;
	font-size: 23px;
	line-height: 1.35;
}
.cta .circle-arrow {
	width: 38px;
	height: 38px;
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.faq-q i {
		transition: none;
	}
}

/* ==================== UNIT PAGE ======================= */
/* ===== Unit page ===== */
.unit-page {
	background: #fff;
	color: #111;
	padding: 6rem 0 1.5rem; /* clears the fixed navbar */
}
.unit-crumb {
	font-size: 13px;
	color: #777;
}
.unit-h1 {
	margin: 0.1rem 0 0.2rem;
	font-size: 32px;
	font-weight: 300;
}
.unit-meta {
	font-size: 14px;
	line-height: 1.4;
	color: #777;
}
.unit-h2 {
	margin: 0;
	font-size: 32px;
	font-weight: 300;
}

.unit-box {
	padding: 1rem 1.1rem;
	border: 1px solid #999;
	border-radius: 1.25rem;
	background: #fff;
}
.unit-box-title {
	margin: 0 0 0.6rem;
	font-size: 32px;
	font-weight: 300;
}
.unit-box-text {
	font-size: 18px;
	line-height: 1.45;
	color: #555;
	margin: 0 0 0.9rem;
	font-weight: 100;
}

.btn-wa {
	min-width: 11rem;
	padding: 0.55rem 1rem;
	font-size: 0.7rem;
	color: #fff;
	background: #17a017;
	border-radius: 50rem;
}
.btn-wa:hover {
	color: #fff;
	background: #128a12;
}

.unit-fac {
	font-size: 0.72rem;
}
.unit-fac i {
	color: var(--brand);
}
.unit-link {
	font-size: 0.72rem;
	color: var(--brand);
}

.unit-acc {
	padding: 0;
}
.unit-acc-btn {
	padding: 0.75rem 1.1rem;
	background: none;
	border: 0;
	text-align: left;
	font-size: 0.95rem;
	font-weight: 300;
	color: #222;
}
.unit-acc-btn i {
	color: #888;
	transition: transform 0.3s ease;
}
.unit-acc-btn:not(.collapsed) i {
	transform: rotate(180deg);
}
.unit-acc-body {
	margin: 0 1.1rem;
	padding: 0.7rem 0 1rem;
	border-top: 1px solid #bbb;
}
.unit-acc-sub {
	margin-bottom: 0.5rem;
	font-size: 18px;
	font-weight: 100;
}

/* right panel */
.unit-right {
	position: relative;
}
.unit-tabs {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 3;
}
.unit-tab {
	padding: 0.3rem 0.85rem;
	font-size: 0.7rem;
	color: #fff;
	background: rgba(0, 0, 0, 0.45);
	border: 0;
	border-radius: 50rem;
	backdrop-filter: blur(6px);
}
.unit-tab.is-active {
	background: var(--brand);
}

.unit-main {
	min-height: 16rem;
	background: #d9d9d9;
	border-radius: 1.5rem;
	overflow: hidden;
}
.unit-main > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.unit-360 {
	position: absolute;
	top: 1rem;
	right: 1rem;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
	color: #fff;
	background: rgba(60, 60, 60, 0.85);
	border-radius: 50rem;
}
.unit-arrows {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
}
.unit-arrows .circle-arrow {
	width: 28px;
	height: 28px;
	font-size: 0.8rem;
}

.unit-thumb {
	display: block;
	width: 100%;
	padding: 0;
	aspect-ratio: 1.3 / 1;
	overflow: hidden;
	background: #d9d9d9;
	border: 2px solid transparent;
	border-radius: 1.1rem;
}
.unit-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.unit-thumb.is-active {
	border-color: var(--brand);
}
.unit-caption {
	font-size: 15px;
	color: #777;
}

.unit-map {
	min-height: 360px;
	border-radius: 1.5rem;
	overflow: hidden;
	background: #e5e3df;
	position: relative;
}
.unit-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* desktop: independent scroll areas */
@media (min-width: 992px) {
	.unit-page {
		padding-bottom: 0;
	}
	.unit-scroll {
		height: calc(100vh - 7rem);
		overflow-y: auto;
		scrollbar-width: none;
	}
	.unit-scroll::-webkit-scrollbar {
		display: none;
	}
	.unit-snap {
		scroll-snap-type: y mandatory;
		overscroll-behavior: contain;
	}
	.unit-pane {
		height: 100%;
		scroll-snap-align: start;
		padding-bottom: 0.5rem;
	}
}
/* mobile: normal stacked page, panes stack too */
@media (max-width: 991.98px) {
	.unit-tabs {
		display: none !important;
	}
	.unit-pane + .unit-pane {
		margin-top: 1.5rem;
	}
	.unit-main,
	.unit-map {
		min-height: 15rem;
	}
}

/* ===== Unit: akses mudah + pilih blok ===== */
.access-item {
	font-size: 0.85rem;
	color: #444;
}
.access-ico {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 0.7rem;
	background: var(--brand);
	color: #fff;
}

.unit-select {
	appearance: none;
	-webkit-appearance: none;
	padding: 0.85rem 2.5rem 0.85rem 1.1rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 300;
	color: #555;
	background: #fff;
	border: 1px solid #999;
	border-radius: 1.25rem;
}
.unit-select:focus {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}
.unit-select-ico {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	pointer-events: none; /* clicks pass through to the select */
}
.unit-hint {
	font-size: 0.7rem;
	color: #777;
}

/* ===========EDIT PEN============= */
.edit-pen {
	position: absolute;
	left: 1.25rem;
	bottom: 1.25rem;
	z-index: 5;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--brand);
	box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}
.edit-pen:hover {
	background: var(--brand);
	color: #fff;
}

.units .edit-pen {
	bottom: 1.5rem;
	left: 1.5rem;
}

.edit-pen--box,
.unit-head .edit-pen {
	left: auto;
	right: 0.6rem;
	top: 0.6rem;
	bottom: auto;
	width: 32px;
	height: 32px;
}

/* Pilih Blok */
.unit-select {
	color: #111;
}
.unit-select:required:invalid {
	color: #6c757d;
}
.unit-select option {
	color: #111;
	background: #fff;
}
.unit-select option[value=""] {
	color: #6c757d;
}
.unit-select option:disabled {
	background: #b42e2d;
	color: #fff;
}

/* UNIT */

#unitMap {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.unit-ov-img {
	position: absolute;
	max-width: none !important;
	pointer-events: none;
	transform-origin: center;
}
.unit-pin {
	color: #d93025;
	font-size: 36px;
	line-height: 1;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.45));
}
.unit-ov-handle {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: #b42e2d;
	font-size: 1.1rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
	cursor: move;
}
.unit-ov-toggle {
	position: absolute;
	left: 0.75rem;
	bottom: 1.5rem;
	z-index: 1001;
}
.unit-ov-panel {
	position: absolute;
	left: 0.75rem;
	bottom: 1.5rem;
	z-index: 1001;
	width: min(18rem, calc(100% - 1.5rem));
	padding: 0.85rem;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 0.75rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.unit-lot {
	position: absolute;
	z-index: 2;
	transform: translate(-50%, -50%);
	width: var(--dot, 8px);
	height: var(--dot, 8px);
	border-radius: 50%;
	border: 1px solid #fff;
	pointer-events: auto;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font:
		700 8px/1 Arial,
		sans-serif;
	white-space: nowrap; /* keep "A/13" on one line */
	overflow: visible; /* don't cut the text off */
	text-shadow:
		0 0 2px #000,
		0 0 2px #000;
}

.unit-legend {
	background: rgba(255, 255, 255, 0.92);
	padding: 8px 10px;
	border-radius: 8px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
	font:
		500 12px/1.3 Arial,
		sans-serif;
	color: #212529;
}
.unit-legend-title {
	font-weight: 700;
	margin-bottom: 4px;
}
.unit-legend-row {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 3px;
	white-space: nowrap;
}
.unit-legend-row i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
	flex: none;
}

.leaflet-control-zoom a {
	border: 1px solid rgba(0, 0, 0, 0.25);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
	margin-bottom: 2px;
	border-radius: 4px !important;
}

.unit-legend--side {
	position: absolute;
	right: 56px; /* just left of the zoom buttons (they are ~34px wide + 10px margin) */
	bottom: 24px; /* same height as the bottom of the zoom buttons */
	z-index: 1000;
	width: max-content;
}

.site-map {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.plan-viewer--map {
	position: relative;
	overflow: hidden;
	height: clamp(20rem, 48vw, 34rem);
}
.unit-legend--side {
	position: absolute;
	right: 56px;
	bottom: 24px;
	z-index: 1000;
	width: max-content;
}
