/*
 * Voor maneges. Builds on the home page CSS (steps, perk list, duo photos) and
 * the shared components (band, section head, accordion, carousel, devices).
 */

/* ------------------------------------------------------------------- Hero */

.vm-hero {
	padding-block: 8px 24px;
}

.vm-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.vm-hero__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.vm-hero__text > .eyebrow {
	margin-bottom: -10px;
}

.vm-hero__title {
	font-size: clamp(46px, calc(46px + 38 * (100vw - 390px) / 1050), 84px);
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.vm-hero__text .lead {
	max-width: 500px;
	margin: 0;
}

.vm-hero__media {
	position: relative;
}

.vm-hero__a {
	overflow: clip;
	height: 240px;
	border-radius: 28px;
}

.vm-hero__a img,
.vm-hero__b img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vm-hero__b {
	display: none;
}

.vm-badge {
	position: absolute;
	bottom: -22px;
	left: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	box-sizing: border-box;
	width: 104px;
	height: 104px;
	padding: 12px;
	border-radius: 50%;
	background: var(--rbnl-peach-2);
	box-shadow: 0 10px 30px rgba(33, 30, 100, 0.12);
	color: var(--rbnl-ink);
	text-align: center;
	text-decoration: none;
	transform: rotate(-8deg);
	transition:
		transform 0.5s var(--rbnl-ease),
		box-shadow 0.5s var(--rbnl-ease),
		background-color 0.4s var(--rbnl-ease);
}

.vm-badge__text {
	font-family: var(--rbnl-font-heading);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.15;
}

.vm-badge__go {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	max-height: 0;
	overflow: hidden;
	border-radius: 50%;
	background: var(--rbnl-ink);
	color: var(--rbnl-white);
	opacity: 0;
	transform: translateY(6px);
	transition:
		max-height 0.45s var(--rbnl-ease),
		opacity 0.35s var(--rbnl-ease),
		transform 0.45s var(--rbnl-ease);
}

.vm-badge:hover,
.vm-badge:focus-visible {
	transform: rotate(0deg) scale(1.1);
	background: #f6b98a;
	box-shadow: 0 22px 44px rgba(33, 30, 100, 0.22);
	color: var(--rbnl-ink);
}

.vm-badge:hover .vm-badge__go,
.vm-badge:focus-visible .vm-badge__go {
	max-height: 30px;
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------ Fresh look */

.vm-fresh__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.vm-fresh__text {
	display: flex;
	flex-direction: column;
	gap: 26px;
	max-width: 1120px;
}

.vm-fresh__text > .eyebrow {
	margin-bottom: 0;
}

.vm-fresh__statement {
	color: var(--rbnl-ink);
	font-size: clamp(28px, calc(28px + 20 * (100vw - 390px) / 1050), 48px);
	font-weight: 500;
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-wrap: pretty;
}

.vm-fresh__photos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.vm-fresh__photo {
	overflow: clip;
	height: 170px;
	border-radius: 24px;
}

.vm-fresh__photo:nth-child(3) {
	display: none;
}

.vm-fresh__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------------------------------ Perks */

.vm-perks__grid {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.vm-perks__intro {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.vm-perks__boxes {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.vm-box {
	padding: 20px 20px 8px;
	border-radius: 28px;
}

.vm-box--white {
	background: var(--rbnl-white);
	box-shadow: 0 24px 50px rgba(33, 30, 100, 0.08);
}

.vm-box--peach {
	background: var(--rbnl-peach);
}

.vm-box__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	padding: 0 4px 6px;
}

.vm-box__label {
	font-size: 22px;
	line-height: 1.2;
}

.vm-box--peach .vm-box__label {
	color: var(--rbnl-orange-dark);
}

.vm-box__tag {
	color: var(--rbnl-text);
	font-size: 14px;
}

.vm-box .perk-list {
	margin: 0;
}

.vm-box--white .perk-li__tick {
	background: var(--rbnl-ink);
}

.vm-box--peach .perk-li {
	border-bottom-color: rgba(166, 74, 7, 0.18);
}

/* ---------------------------------------------------------------- Product */

.vm-product {
	overflow: clip;
	padding-block: var(--rbnl-section-pad);
}

.vm-product__inner {
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.vm-product__head {
	max-width: 760px;
}

.vm-device {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.vm-device__media {
	position: relative;
	height: 300px;
}

.vm-device__bg {
	position: absolute;
	inset: 0;
	overflow: clip;
	border-radius: 28px;
	background: var(--rbnl-peach);
}

.vm-device__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * The second picture: a square photo that lies over the background photo, a little
 * crooked, with a white edge. It straightens and lifts when the visual is hovered.
 * On touch screens (no hover) it floats gently instead.
 */
.vm-device__shot {
	position: absolute;
	right: 14px;
	bottom: -26px;
	box-sizing: border-box;
	width: min(150px, 44%);
	aspect-ratio: 1 / 1;
	overflow: clip;
	border: 6px solid var(--rbnl-white);
	border-radius: 24px;
	background: var(--rbnl-peach);
	box-shadow: 0 18px 36px rgba(33, 30, 100, 0.2);
	transform: rotate(-5deg);
}

.vm-device--app .vm-device__shot {
	right: auto;
	left: 14px;
	transform: rotate(5deg);
}

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

@media (prefers-reduced-motion: no-preference) {
	.vm-device__shot {
		transition:
			transform 0.55s var(--rbnl-ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)),
			box-shadow 0.55s var(--rbnl-ease);
	}

	.vm-device__media:hover .vm-device__shot {
		box-shadow: 0 28px 50px rgba(33, 30, 100, 0.28);
		transform: translateY(-12px) rotate(0deg) scale(1.07);
	}

	@keyframes rbnl-shot-float {
		0%,
		100% {
			translate: 0 0;
		}

		50% {
			translate: 0 -7px;
		}
	}

	@media (hover: none) {
		.vm-device__shot {
			animation: rbnl-shot-float 5s ease-in-out infinite;
		}

		.vm-device--app .vm-device__shot {
			animation-delay: 2.5s;
		}
	}
}

.vm-device__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
	padding-top: 24px;
}

.vm-device__eyebrow {
	margin: 0;
	color: var(--rbnl-ink);
	font-size: 15px;
	font-weight: 600;
}

.vm-device--app .vm-device__eyebrow {
	color: var(--rbnl-orange-dark);
}

.vm-device__title {
	margin: -8px 0 0;
	font-size: clamp(32px, calc(32px + 12 * (100vw - 390px) / 1050), 44px);
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.vm-device__text .lead {
	max-width: 520px;
	margin: 0;
}

.vm-bullets {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: 0;
	column-gap: 28px;
	list-style: none;
}

.vm-bullets li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 4px;
	border-bottom: 1px solid var(--rbnl-line);
	color: var(--rbnl-ink);
	font-family: var(--rbnl-font-heading);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
}

.vm-bullets__tick {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--rbnl-ink);
	color: var(--rbnl-white);
}

.vm-device--app .vm-bullets__tick {
	background: var(--rbnl-orange);
}

.vm-device--app .vm-bullets {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ----------------------------------------------------------------- Pricing */

.vm-pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
	gap: 16px;
}

.vm-price {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 28px;
	border-radius: 32px;
	background: var(--rbnl-white);
	transition:
		transform var(--rbnl-dur) var(--rbnl-ease),
		box-shadow var(--rbnl-dur) var(--rbnl-ease);
}

.vm-price:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(33, 30, 100, 0.1);
}

.vm-price__label {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 0;
}

.vm-price__amount {
	margin: 0;
	color: var(--rbnl-ink);
	font-family: var(--rbnl-font-heading);
	font-size: clamp(40px, calc(40px + 16 * (100vw - 390px) / 1050), 56px);
	font-weight: 600;
	line-height: 1;
}

.vm-price__amount span {
	font-size: 20px;
	font-weight: 500;
}

.vm-price__text {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}

.vm-price .btn {
	margin-top: auto;
}

.vm-pricing__note {
	margin: 0;
	color: var(--rbnl-mute);
	font-size: 14px;
}

/* ---------------------------------------------------------------- Maneges */

.vm-maneges__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.vm-maneges__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vm-mcard {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	color: var(--rbnl-ink);
	text-decoration: none;
	transition: transform var(--rbnl-dur) var(--rbnl-ease);
}

.vm-mcard:hover,
.vm-mcard:focus-visible {
	transform: translateY(-6px);
}

.vm-mcard__media {
	display: block;
	height: 300px;
	overflow: clip;
	border-radius: 28px;
	background: var(--rbnl-sand);
}

.vm-mcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vm-mcard__body {
	display: flex;
	flex-direction: column;
}

.vm-mcard__name {
	font-family: var(--rbnl-font-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.vm-mcard__place {
	color: var(--rbnl-mute);
}

.vm-mcard__ph {
	flex: 0 0 auto;
	height: 300px;
	min-height: 0;
	padding: 30px;
	border-radius: 28px;
}

.vm-mcard__ph .mcard-ph__title {
	font-size: clamp(28px, calc(28px + 6 * (100vw - 390px) / 1050), 34px);
}

.mcard-ph.vm-mcard:hover {
	transform: translateY(-6px);
}

/* -------------------------------------------------------------------- FAQ */

.vm-faq__grid {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* ------------------------------------------------------------------- Demo */

.vm-demo__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
	gap: 40px 56px;
	align-items: start;
}

.vm-demo__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.vm-demo__img {
	width: 100%;
	height: 300px;
	border-radius: 28px;
	object-fit: cover;
}

.vm-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px;
	border-radius: 28px;
	background: var(--rbnl-white);
}

.vm-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 16px;
}

.vm-form .fin {
	min-height: 52px;
	background: var(--rbnl-cream);
}

.vm-form textarea.fin {
	min-height: 0;
}

.vm-form .btn {
	min-height: 56px;
	font-size: 17px;
}

.vm-form__note {
	margin: 0;
	color: var(--rbnl-mute);
	font-size: 14px;
}

/* -------------------------------------------------------------- Desktop */

@media (min-width: 1024px) {
	.vm-hero {
		padding-block: 80px 72px;
	}

	.vm-hero__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 56px;
		align-items: center;
	}

	.vm-hero__text {
		gap: 26px;
	}

	.vm-hero__media {
		height: 580px;
	}

	.vm-hero__a {
		position: absolute;
		top: 0;
		right: 0;
		width: 80%;
		height: 450px;
		border-radius: 36px;
	}

	.vm-hero__b {
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		width: 54%;
		height: 270px;
		overflow: clip;
		border: 8px solid var(--rbnl-cream);
		border-radius: 30px;
	}

	.vm-badge {
		right: 24px;
		bottom: 30px;
		left: auto;
		width: 140px;
		height: 140px;
		padding: 16px;
	}

	.vm-badge__text {
		font-size: 15px;
	}

	.vm-fresh__inner {
		gap: 56px;
	}

	.vm-fresh__photos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.vm-fresh__photo {
		height: 320px;
		border-radius: 30px;
	}

	.vm-fresh__photo:nth-child(3) {
		display: block;
	}

	.vm-perks__grid {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 64px;
		align-items: start;
	}

	.vm-perks__intro {
		gap: 22px;
	}

	.vm-box {
		padding: 24px 28px 10px;
		border-radius: 32px;
	}

	.vm-product__inner {
		gap: 44px;
	}

	.vm-device {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 72px;
		align-items: center;
	}

	.vm-device--app {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}

	.vm-device--app .vm-device__media {
		order: 2;
	}

	.vm-device__text {
		padding-top: 0;
	}

	.vm-device__media {
		height: 560px;
	}

	.vm-device__bg {
		border-radius: 40px;
	}

	.vm-device__shot {
		right: -24px;
		bottom: -36px;
		width: min(250px, 44%);
		border-width: 8px;
		border-radius: 32px;
	}

	.vm-device--app .vm-device__shot {
		right: auto;
		left: -24px;
	}

	.vm-price {
		padding: 40px;
	}

	.vm-faq__grid {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 64px;
		align-items: start;
	}

	.vm-form {
		padding: 40px;
		border-radius: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vm-badge,
	.vm-badge__go,
	.vm-price,
	.vm-mcard {
		transition: none;
	}
}

/* Demo form: thank-you state after sending. */
.vm-form--done {
	align-items: flex-start;
	gap: 14px;
}

.vm-form--done p {
	margin: 0;
}

.vm-form__tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--rbnl-peach);
	color: var(--rbnl-orange);
}

.vm-form__done-title {
	margin: 0;
	font-size: var(--rbnl-fs-h3-lg);
}

.vm-form[hidden] {
	display: none;
}

.vm-form__redirect {
	color: var(--rbnl-mute);
	font-size: 14px;
}
