/* Compound project single — Step One Elite */

.ste-compound {
	--ste-navy: #00072d;
	--ste-gold: #d3a684;
	--ste-gold-dark: #b88962;
	--ste-bg: #f6f4f1;
	--ste-surface: #ffffff;
	--ste-text: #1a1a1a;
	--ste-muted: #5c6470;
	--ste-line: #e6e0d8;
	--ste-radius: 10px;
	--ste-shadow: 0 10px 28px rgba(0, 7, 45, 0.08);
	color: var(--ste-text);
	background:
		radial-gradient(1200px 480px at 10% -10%, rgba(211, 166, 132, 0.18), transparent 60%),
		linear-gradient(180deg, #faf8f5 0%, var(--ste-bg) 40%, #f3f0eb 100%);
	padding-bottom: 72px;
}

.ste-compound[dir="rtl"] {
	font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

.ste-compound__container {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

.ste-compound__header {
	padding: 28px 0 12px;
}

.ste-compound__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	color: var(--ste-muted);
	margin-bottom: 14px;
}

.ste-compound__crumbs a {
	color: var(--ste-navy);
	text-decoration: none;
}

.ste-compound__crumbs a:hover {
	color: var(--ste-gold-dark);
}

.ste-compound__title {
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
	line-height: 1.35;
	color: var(--ste-navy);
	margin: 0 0 16px;
	font-weight: 700;
}

.ste-compound__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	color: var(--ste-muted);
	font-size: 0.92rem;
}

.ste-compound__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ste-compound__meta-item::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ste-gold);
	flex: 0 0 auto;
}

.ste-compound__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: start;
	padding-top: 8px;
}

.ste-compound__main > * + * {
	margin-top: 22px;
}

.ste-compound__hero {
	margin: 0;
	border-radius: var(--ste-radius);
	overflow: hidden;
	box-shadow: var(--ste-shadow);
}

.ste-compound__hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 460px;
	object-fit: cover;
}

.ste-compound__section-title {
	margin: 0 0 14px;
	font-size: 1.35rem;
	color: var(--ste-navy);
	position: relative;
	padding-bottom: 10px;
}

.ste-compound__section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	width: 56px;
	height: 3px;
	background: linear-gradient(90deg, var(--ste-gold), transparent);
}

.ste-compound__details,
.ste-compound__amenities,
.ste-compound__gallery,
.ste-compound__faq,
.ste-compound__units,
.ste-compound__related,
.ste-compound__content,
.ste-compound__price-card,
.ste-compound__form-box {
	background: var(--ste-surface);
	border: 1px solid var(--ste-line);
	border-radius: var(--ste-radius);
	padding: 20px 22px;
	box-shadow: var(--ste-shadow);
}

.ste-compound__table {
	display: grid;
	gap: 0;
}

.ste-compound__row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ste-line);
}

.ste-compound__row:last-child {
	border-bottom: 0;
}

.ste-compound__label {
	color: var(--ste-muted);
	font-weight: 600;
}

.ste-compound__value--price {
	color: var(--ste-gold-dark);
	font-weight: 700;
	font-size: 1.1rem;
}

.ste-compound__amenities-content {
	line-height: 1.75;
	color: var(--ste-text);
}

.ste-compound__amenities-content ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}

.ste-compound__amenities-content li {
	position: relative;
	padding-inline-start: 28px;
}

.ste-compound__amenities-content li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.2em;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: rgba(211, 166, 132, 0.2);
	border: 1px solid var(--ste-gold);
}

.ste-compound__amenity-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}

.ste-compound__amenity {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ste-compound__amenity-check {
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: rgba(211, 166, 132, 0.2);
	border: 1px solid var(--ste-gold);
	position: relative;
	flex: 0 0 auto;
}

.ste-compound__amenity-check::after {
	content: "";
	position: absolute;
	inset-inline-start: 5px;
	top: 2px;
	width: 5px;
	height: 9px;
	border: solid var(--ste-navy);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.ste-compound__gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.ste-compound__gallery-item {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #eee;
}

.ste-compound__gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ste-compound__gallery-item:hover img {
	transform: scale(1.04);
}

.ste-compound__content {
	line-height: 1.85;
	font-size: 1.02rem;
}

.ste-compound__content h2,
.ste-compound__content h3 {
	color: var(--ste-navy);
	margin-top: 1.4em;
}

.ste-compound__content a {
	color: var(--ste-gold-dark);
}

.ste-compound__faq-item {
	border: 1px solid var(--ste-line);
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 8px;
	background: #fbfaf8;
}

.ste-compound__faq-item summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--ste-navy);
}

.ste-compound__faq-answer {
	margin-top: 10px;
	color: var(--ste-muted);
}

.ste-compound__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ste-compound__card {
	border: 1px solid var(--ste-line);
	border-radius: var(--ste-radius);
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.ste-compound__card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eae6e0;
}

.ste-compound__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ste-compound__card-loc {
	position: absolute;
	inset-inline-start: 10px;
	bottom: 10px;
	background: rgba(0, 7, 45, 0.78);
	color: #fff;
	font-size: 0.78rem;
	padding: 4px 8px;
	border-radius: 999px;
}

.ste-compound__card-body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.ste-compound__card-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.ste-compound__card-title a {
	color: var(--ste-navy);
	text-decoration: none;
}

.ste-compound__card-title a:hover {
	color: var(--ste-gold-dark);
}

.ste-compound__card-price {
	margin: 0;
	color: var(--ste-gold-dark);
	font-weight: 700;
}

.ste-compound__card-actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
}

.ste-compound__sidebar-sticky {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 16px;
}

.ste-compound__chips {
	display: grid;
	gap: 10px;
}

.ste-compound__chips--mobile {
	display: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ste-compound__chip {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--ste-surface);
	border: 1px solid var(--ste-line);
	border-radius: var(--ste-radius);
	padding: 12px 14px;
	box-shadow: var(--ste-shadow);
}

.ste-compound__chip-label {
	display: block;
	font-size: 0.8rem;
	color: var(--ste-muted);
}

.ste-compound__chip-value {
	display: block;
	font-weight: 700;
	color: var(--ste-navy);
	font-size: 1.1rem;
}

.ste-compound__price-label {
	margin: 0;
	color: var(--ste-muted);
}

.ste-compound__price-value {
	margin: 4px 0 12px;
	font-size: 1.55rem;
	font-weight: 800;
	color: var(--ste-navy);
}

.ste-compound__price-note {
	font-size: 0.9rem;
	color: var(--ste-muted);
	margin: 0 0 10px;
}

.ste-compound__price-note a {
	color: #128c7e;
	font-weight: 600;
}

.ste-compound__price-updated {
	font-size: 0.85rem;
	color: var(--ste-muted);
	margin: 0 0 14px;
}

.ste-compound__price-actions {
	display: grid;
	gap: 8px;
}

.ste-compound__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 14px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.92rem;
	border: 1px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease;
}

.ste-compound__btn:hover {
	transform: translateY(-1px);
}

.ste-compound__btn--wa {
	background: #25d366;
	color: #fff;
}

.ste-compound__btn--call {
	background: var(--ste-navy);
	color: #fff;
}

.ste-compound__btn--zoom {
	background: #fff;
	color: var(--ste-navy);
	border-color: var(--ste-gold);
}

.ste-compound__booking-note {
	margin: 14px 0 0;
	text-align: center;
	color: var(--ste-muted);
	font-size: 0.88rem;
}

.ste-compound__form-title {
	font-weight: 800;
	color: var(--ste-navy);
	margin-bottom: 12px;
	font-size: 1.15rem;
}

.ste-compound__form {
	display: grid;
	gap: 10px;
}

.ste-compound__form input[type="text"],
.ste-compound__form input[type="tel"],
.ste-compound__form textarea,
.ste-compound__form select {
	width: 100%;
	border: 1px solid var(--ste-line);
	border-radius: 8px;
	padding: 11px 12px;
	background: #fbfaf8;
	color: var(--ste-text);
	font: inherit;
}

.ste-compound__form label {
	display: grid;
	gap: 6px;
	font-size: 0.9rem;
	color: var(--ste-muted);
}

.ste-compound__submit {
	appearance: none;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--ste-gold), var(--ste-gold-dark));
	color: #fff;
	font-weight: 800;
	padding: 12px 16px;
	cursor: pointer;
}

.ste-compound__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.ste-compound__form-msg {
	font-size: 0.9rem;
	padding: 8px 10px;
	border-radius: 6px;
}

.ste-compound__form-msg.is-ok {
	background: #e8f7ef;
	color: #146c43;
}

.ste-compound__form-msg.is-err {
	background: #fdecec;
	color: #a11;
}

.ste-compound__hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
	height: 0 !important;
	width: 0 !important;
}

.ste-compound__cta-divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 16px 0 12px;
	color: var(--ste-muted);
	font-size: 0.85rem;
}

.ste-compound__cta-divider::before,
.ste-compound__cta-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--ste-line);
}

.ste-compound__direct-cta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.ste-compound__direct-cta a {
	text-align: center;
	padding: 10px 6px;
	border-radius: 8px;
	border: 1px solid var(--ste-line);
	color: var(--ste-navy);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 700;
}

.ste-compound__float {
	position: fixed;
	bottom: 20px;
	inset-inline-start: 16px;
	z-index: 90;
	display: grid;
	gap: 8px;
}

.ste-compound__float a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 10px 14px;
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.ste-compound__float-wa {
	background: #25d366;
}

.ste-compound__float-call {
	background: var(--ste-gold-dark);
}

.ste-compound__lightbox {
	position: fixed;
	inset: 0;
	z-index: 120;
	background: rgba(0, 7, 45, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.ste-compound__lightbox[hidden] {
	display: none !important;
}

.ste-compound__lightbox-img {
	max-width: min(960px, 100%);
	max-height: 85vh;
	object-fit: contain;
	border-radius: 8px;
}

.ste-compound__lightbox-close,
.ste-compound__zoom-close {
	position: absolute;
	top: 16px;
	inset-inline-end: 18px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	line-height: 1;
}

.ste-compound__zoom {
	position: fixed;
	inset: 0;
	z-index: 110;
	background: rgba(0, 7, 45, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ste-compound__zoom[hidden] {
	display: none !important;
}

.ste-compound__zoom-panel {
	position: relative;
	width: min(480px, 100%);
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	border-radius: 12px;
	padding: 24px 20px 20px;
	box-shadow: var(--ste-shadow);
}

.ste-compound__zoom-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--ste-navy);
	margin-bottom: 16px;
}

.ste-compound__zoom-close {
	color: var(--ste-navy);
	top: 8px;
}

.ste-compound__zoom-dates ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.ste-compound__zoom-dates li label {
	display: block;
	border: 1px solid var(--ste-line);
	border-radius: 8px;
	padding: 10px;
	cursor: pointer;
	text-align: center;
	font-size: 0.85rem;
}

.ste-compound__zoom-dates input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ste-compound__zoom-dates input:checked + label {
	border-color: var(--ste-gold);
	background: rgba(211, 166, 132, 0.15);
	color: var(--ste-navy);
	font-weight: 700;
}

.ste-compound__zoom-dates-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--ste-muted);
}

@media (max-width: 991px) {
	.ste-compound__grid {
		grid-template-columns: 1fr;
	}

	.ste-compound__sidebar-sticky {
		position: static;
	}

	.ste-compound__chips--mobile {
		display: grid;
	}

	.ste-compound__sidebar .ste-compound__chips:not(.ste-compound__chips--mobile) {
		display: none;
	}

	.ste-compound__gallery-grid,
	.ste-compound__cards,
	.ste-compound__amenity-list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.ste-compound__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.ste-compound__chips--mobile,
	.ste-compound__gallery-grid,
	.ste-compound__cards,
	.ste-compound__amenity-list,
	.ste-compound__direct-cta,
	.ste-compound__zoom-dates ul {
		grid-template-columns: 1fr;
	}

	.ste-compound__float a span {
		font-size: 0.85rem;
	}
}

/* Subtle enter motion */
.ste-compound__header,
.ste-compound__main,
.ste-compound__sidebar {
	animation: steCompoundIn 0.55s ease both;
}

.ste-compound__sidebar {
	animation-delay: 0.08s;
}

@keyframes steCompoundIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
