/* /tour — click-through product story (story-bar progress, edge-tap nav) */
.tour {
	position: relative; overflow: hidden;
	height: calc(100dvh - var(--header-h, 72px));
	min-height: 560px; cursor: pointer; user-select: none;
	background: var(--bg); transition: background 0.5s var(--ease);
}
.tour[data-theme="dark"] { background: linear-gradient(135deg, #1F2130, #2b2e42); }
.tour[data-theme="brand"] { background: linear-gradient(135deg, var(--coral), var(--apricot)); }

.tour__progress {
	position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 6px; z-index: 30; width: min(92vw, 560px);
}
.tour__progress span {
	flex: 1; height: 4px; border-radius: 999px; cursor: pointer;
	background: rgba(31,33,48,0.18); transition: background 0.3s;
}
.tour[data-theme="dark"] .tour__progress span,
.tour[data-theme="brand"] .tour__progress span { background: rgba(255,255,255,0.28); }
.tour__progress span.is-done { background: var(--coral); }
.tour[data-theme="brand"] .tour__progress span.is-done,
.tour[data-theme="dark"] .tour__progress span.is-done { background: #fff; }

.tour__slide {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	gap: clamp(2rem, 6vw, 7rem); padding: clamp(3.4rem, 7vh, 5rem) clamp(1.2rem, 6vw, 6rem);
	opacity: 0; transform: translateX(46px); pointer-events: none;
	transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.tour__slide.is-past { transform: translateX(-46px); }
.tour__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }

.tour__body { max-width: 620px; position: relative; z-index: 2; }
.tour__body--center { text-align: center; max-width: 900px; }
.tour__mark { width: clamp(84px, 12vh, 130px); margin-bottom: 1.6rem; }
.tour__title {
	font-family: var(--font-display, Outfit, sans-serif); font-weight: 700;
	font-size: clamp(1.8rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em;
	color: var(--text);
}
.tour[data-theme="dark"] .tour__title, .tour[data-theme="brand"] .tour__title { color: #fff; }
.tour__lead { font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: var(--text-soft); margin-top: 1.1rem; line-height: 1.5; }
.tour[data-theme="dark"] .tour__lead { color: #b9bccb; }
.tour[data-theme="brand"] .tour__lead { color: rgba(255,255,255,0.9); }
.tour__hint { margin-top: 1.4rem; color: var(--coral); font-weight: 600; font-size: 1.05rem; }
.tour__kicker {
	color: var(--coral); font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.13em; font-size: 0.95rem; margin-bottom: 0.9rem;
}
.tour__kicker--apricot { color: var(--apricot); }

.tour__visual { position: relative; z-index: 2; flex-shrink: 0; }
.tour__phone {
	height: min(62vh, 560px); width: auto; border-radius: 30px;
	border: 10px solid #101116; background: #101116;
	box-shadow: 0 50px 100px -35px rgba(31,33,48,0.55);
}
.tour__phone--tilt { transform: rotate(-4deg); }
.tour__phone--tilt-r { transform: rotate(4deg); }
.tour__qr {
	display: inline-block; background: #fff; padding: 1.1rem; border-radius: 18px;
	box-shadow: var(--sh-sm); margin-top: 1.6rem;
}
.tour__qr img { width: clamp(120px, 16vh, 170px); display: block; }
.tour__tv {
	margin: 2rem auto 0; max-width: min(78vw, 980px);
	background: #0a0a0f; padding: 10px; border-radius: 14px;
	box-shadow: 0 60px 120px -40px rgba(0,0,0,0.8);
}
.tour__tv img { width: 100%; display: block; border-radius: 6px; }
.tour__notif {
	display: flex; gap: 1rem; align-items: center; background: rgba(250,250,252,0.98);
	border-radius: 20px; padding: 1.1rem 1.3rem; max-width: 380px;
	box-shadow: 0 24px 60px -12px rgba(0,0,0,0.6); animation: tour-drop 0.6s var(--ease);
}
.tour__notif img { width: 52px; height: 52px; border-radius: 12px; }
.tour__notif strong { display: block; color: #1F2130; font-size: 1.05rem; }
.tour__notif span { color: #3c3f52; font-size: 0.98rem; }
@keyframes tour-drop { from { transform: translateY(-26px); opacity: 0; } }

.tour__collage { position: absolute; inset: 0; opacity: 0.55; }
.tour__collage img {
	position: absolute; width: clamp(130px, 17vw, 260px); aspect-ratio: 1; object-fit: cover;
	border: 8px solid #fff; border-bottom-width: 34px; border-radius: 6px;
	box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.tour__collage img:nth-child(1) { top: 9%; left: 7%; transform: rotate(-7deg); }
.tour__collage img:nth-child(2) { top: 12%; right: 9%; transform: rotate(5deg); }
.tour__collage img:nth-child(3) { bottom: 10%; left: 14%; transform: rotate(4deg); }
.tour__collage img:nth-child(4) { bottom: 8%; right: 13%; transform: rotate(-5deg); }

.tour__cards { display: flex; gap: 1.4rem; justify-content: center; margin: 1.8rem 0 1.4rem; }
.tour__cards img {
	width: clamp(180px, 22vw, 330px); border-radius: 16px;
	box-shadow: 0 30px 70px -25px rgba(31,33,48,0.45);
}
.tour__cards img:first-child { transform: rotate(-4deg) translateY(8px); }
.tour__cards img:last-child { transform: rotate(4deg) translateY(8px); }
.tour__cards img.is-featured { transform: scale(1.07); box-shadow: 0 40px 90px -25px rgba(242,107,78,0.5); }

.tour__cta { display: flex; gap: 1rem; justify-content: center; margin-top: 2.2rem; flex-wrap: wrap; }
.btn--light { background: #fff; color: var(--coral); }
.btn--light:hover { background: var(--cream, #FFF9F4); }
.btn--ghost-light { border: 2px solid rgba(255,255,255,0.7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.14); }

.tour__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 30;
	width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
	background: rgba(31,33,48,0.10); color: var(--text); font-size: 1.9rem; line-height: 1;
	transition: background 0.2s;
}
.tour[data-theme="dark"] .tour__nav, .tour[data-theme="brand"] .tour__nav {
	background: rgba(255,255,255,0.16); color: #fff;
}
.tour__nav:hover { background: rgba(242,107,78,0.25); }
.tour__nav--prev { left: 16px; }
.tour__nav--next { right: 16px; }

@media (max-width: 900px) {
	.tour__slide {
		flex-direction: column; text-align: center; gap: 1.2rem;
		justify-content: center; overflow-y: auto;
		padding: 3.2rem 1.2rem 3rem;
	}
	.tour__body { max-width: 92vw; }
	.tour__title { font-size: clamp(1.45rem, 6.4vw, 2rem); }
	.tour__lead { font-size: 1rem; margin-top: 0.7rem; }
	.tour__kicker { margin-bottom: 0.5rem; }
	.tour__mark { width: 76px; margin-bottom: 1rem; }
	.tour__phone { height: min(40vh, 360px); border-width: 7px; border-radius: 22px; }
	/* QR slide: the QR is the message — the phone returns on the next slide */
	.tour__slide--qr .tour__visual { display: none; }
	.tour__qr { margin-top: 0.9rem; padding: 0.8rem; }
	.tour__qr img { width: min(34vw, 150px); }
	.tour__tv { max-width: 94vw; margin-top: 1.2rem; }
	.tour__cards { gap: 0.7rem; margin: 1.2rem 0 1rem; }
	.tour__cards img { width: 29vw; }
	.tour__notif { max-width: 88vw; }
	.tour__nav {
		width: 42px; height: 42px; font-size: 1.5rem;
		background: rgba(31,33,48,0.14);
	}
	.tour__nav--prev { left: 8px; }
	.tour__nav--next { right: 8px; }
	.tour__collage img:nth-child(3), .tour__collage img:nth-child(4) { display: none; }
}
