/* Property Single Page Styles */

/* ── Reset / Base ──────────────────────────────── */
.ke-property-single * {
	box-sizing: border-box;
}

/* ── Hero ──────────────────────────────────────── */
.ke-hero {
	background: #1a1a1a;
	padding: 64px 0 56px;
	position: relative;
}

.ke-hero__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.ke-hero__ref {
	display: inline-block;
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #999;
	border: 1px solid #444;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 16px;
}

.ke-hero__title {
	font-family: Brin, sans-serif;
	font-size: 44px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 16px;
	line-height: 1.15;
}

.ke-hero__price {
	font-family: Montserrat, sans-serif;
	font-size: 30px;
	font-weight: 700;
	color: #C9A84C;
	margin: 0 0 24px;
}

.ke-hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.ke-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	padding: 6px 14px;
	border-radius: 100px;
}

.ke-pill--status {
	background: rgba(201,168,76,0.2);
	border-color: #C9A84C;
	color: #C9A84C;
}

.ke-hero__location {
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	color: rgba(255,255,255,0.55);
	margin: 0;
}

/* ── Responsive Hero ───────────────────────────── */
@media (max-width: 768px) {
	.ke-hero__inner {
		padding: 0 20px;
	}
	.ke-hero__title {
		font-size: 28px;
	}
	.ke-hero__price {
		font-size: 22px;
	}
}

/* ── Carousel ──────────────────────────────────── */
.ke-carousel {
	position: relative;
	width: 100%;
	height: 520px;
	overflow: hidden;
	background: #111;
}

.ke-carousel__track-wrap {
	width: 100%;
	height: 100%;
}

.ke-carousel__track {
	width: 100%;
	height: 100%;
	position: relative;
}

.ke-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.ke-carousel__slide.is-active {
	opacity: 1;
}

.ke-carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ke-carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.5);
	border: none;
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background 0.2s;
}

.ke-carousel__btn:hover {
	background: rgba(0,0,0,0.8);
}

.ke-carousel__btn--prev { left: 20px; }
.ke-carousel__btn--next { right: 20px; }

.ke-carousel__dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.ke-carousel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}

.ke-carousel__dot.is-active {
	background: #C9A84C;
	transform: scale(1.3);
}

@media (max-width: 768px) {
	.ke-carousel {
		height: 260px;
	}
}

/* ── Tab Nav ───────────────────────────────────── */
.ke-tabs-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px 80px;
}

.ke-tab-nav {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #e5e5e5;
	margin-bottom: 48px;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 50;
	padding-top: 8px;
}

.ke-tab-nav__item {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #999;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 14px 24px;
	cursor: pointer;
	margin-bottom: -2px;
	transition: color 0.2s, border-color 0.2s;
}

.ke-tab-nav__item:hover {
	color: #333;
}

.ke-tab-nav__item.is-active {
	color: #1a1a1a;
	border-bottom-color: #C9A84C;
}

.ke-tab-nav__item--hidden {
	display: none;
}

/* ── Tab Panels ────────────────────────────────── */
.ke-tab-panel {
	display: none;
}

.ke-tab-panel.is-active {
	display: block;
}

/* ── Overview Layout ───────────────────────────── */
.ke-overview {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 48px;
	align-items: start;
}

.ke-overview__desc {
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	line-height: 1.75;
	color: #333;
}

.ke-overview__desc p:first-child { margin-top: 0; }

.ke-overview__card {
	background: #f9f9f9;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 28px;
}

.ke-overview__card-title {
	font-family: Brin, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e5e5;
}

.ke-details-list {
	margin: 0;
	padding: 0;
}

.ke-details-list__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	gap: 12px;
}

.ke-details-list__row:last-child {
	border-bottom: none;
}

.ke-details-list dt {
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #999;
	flex-shrink: 0;
}

.ke-details-list dd {
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #1a1a1a;
	margin: 0;
	text-align: right;
}

@media (max-width: 900px) {
	.ke-tabs-wrap { padding: 0 20px 60px; }
	.ke-overview { grid-template-columns: 1fr; }
	.ke-tab-nav__item { padding: 12px 14px; font-size: 11px; }
}

/* ── Section Title ─────────────────────────────── */
.ke-section-title {
	font-family: Brin, sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 28px;
}

/* ── Amenities ─────────────────────────────────── */
.ke-amenities-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 24px;
}

.ke-amenity-tag {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #333;
	background: #f5f5f5;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 10px 14px;
	display: block;
}

.ke-amenities-other {
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	color: #666;
	margin-top: 16px;
}

.ke-empty-state {
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	color: #999;
	font-style: italic;
}

/* ── Payment Plan ──────────────────────────────── */
.ke-payment-bar {
	display: flex;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ke-payment-bar__segment {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: filter 0.2s;
}

.ke-payment-bar__segment:hover { filter: brightness(1.1); }

.ke-payment-bar__label {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.ke-payment-legend {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
}

.ke-payment-legend__item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ke-payment-legend__dot {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	flex-shrink: 0;
}

.ke-payment-legend__name {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	color: #555;
}

.ke-payment-legend__pct {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #1a1a1a;
}

/* ── Floor Plans ───────────────────────────────── */
.ke-floorplans-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 28px;
}

.ke-floorplan-item {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e5e5;
	transition: box-shadow 0.2s;
}

.ke-floorplan-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.ke-floorplan-item img {
	width: 100%;
	height: auto;
	display: block;
}

/* ── Buttons ───────────────────────────────────── */
.ke-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	padding: 12px 24px;
	border-radius: 6px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ke-btn--outline {
	color: #1a1a1a;
	border-color: #1a1a1a;
	background: transparent;
}

.ke-btn--outline:hover { background: #1a1a1a; color: #fff; }

.ke-btn--light {
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,255,255,0.3);
	color: #fff;
}

.ke-btn--light:hover { background: rgba(255,255,255,0.2); }

.ke-btn--gold {
	background: #C9A84C;
	border-color: #C9A84C;
	color: #1a1a1a;
}

.ke-btn--gold:hover { background: #b8963e; border-color: #b8963e; }

/* ── CTA Footer ────────────────────────────────── */
.ke-cta {
	background: #1a1a1a;
	padding: 60px 0;
}

.ke-cta__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.ke-cta__heading {
	font-family: Brin, sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 8px;
}

.ke-cta__sub {
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	color: rgba(255,255,255,0.5);
	margin: 0;
}

.ke-cta__right {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.ke-cta__inner { flex-direction: column; align-items: flex-start; padding: 0 20px; }
	.ke-floorplans-grid { grid-template-columns: 1fr; }
	.ke-amenities-grid { grid-template-columns: repeat(2, 1fr); }
}
