.tour {
	background: var(--color-surface-light);
	padding: 90px 0 120px;
}

.tour__heading {
	max-width: 720px;
	margin: 0 auto 32px;
	font-family: var(--font-heading);
	font-size: 28px;
	font-weight: var(--font-weight-h2);
	line-height: 1.3;
	text-align: center;
	color: var(--color-bg-alt);
}

.tour__frame {
	position: relative;
	aspect-ratio: 2.4 / 1;
	border-radius: 28px;
	border: 1px solid var(--color-border);
	overflow: hidden;
	background: var(--color-card);
}

.tour__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Remove this block once assets/videos/tour-preview.mp4 exists */
.tour__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
}

.tour__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: none;
}

.tour__placeholder span {
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 700;
	color: var(--color-muted-warm);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tour__cta {
	position: absolute;
	left: 50%;
	bottom: 32px;
	transform: translateX(-190%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 36px;
	border: none;
	border-radius: var(--radius-pill);
	background: var(--color-bg-alt);
	color: var(--color-accent-light);
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
	cursor: pointer;
}

.tour__cta:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Modal */

.tour-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.tour-modal[hidden] {
	display: none;
}

.tour-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(23, 8, 7, 0.8);
}

.tour-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1000px;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 16px;
	overflow: hidden;
}

.tour-modal__video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.tour-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.tour-modal__close:hover {
	background: rgba(0, 0, 0, 0.75);
}

/* Breakpoints: 1440 / 1280 / 1024 / 768 / 380 */

@media (max-width: 1024px) {
	.tour {
		padding: 64px 0 80px;
	}

	.tour__heading {
		font-size: 24px;
	}
}

@media (max-width: 768px) {
	.tour__frame {
		aspect-ratio: 4 / 3;
		border-radius: 20px;
	}

	.tour__heading {
		font-size: 20px;
	}

	.tour__cta {
		padding: 14px 24px;
		font-size: 13px;
		bottom: 20px;
	}
}