/*
 * Blocks added after the original theme build.
 *
 * main.css is a compiled build without its sources in this repository, so new components live here. They follow the
 * same conventions: the design tokens from main.css, rem units (1rem = 16px at a 1440px wide viewport, scaling with
 * the viewport like the rest of the site), BEM with o-/m-/a- prefixes and the breakpoints 991px and 767px.
 */

/* ==========================================================================
   Keyframes
   ========================================================================== */

@keyframes tcPulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
	70% { box-shadow: 0 0 0 0.5625rem rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes tcPulseInk {
	0% { box-shadow: 0 0 0 0 rgba(0, 39, 39, 0.45); }
	70% { box-shadow: 0 0 0 0.5625rem rgba(0, 39, 39, 0); }
	100% { box-shadow: 0 0 0 0 rgba(0, 39, 39, 0); }
}

@keyframes tcFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.u-srOnly {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Label column and body column of a 4/8 split on the 12 column grid. */
.o-split__label {
	padding: 0.625rem 2.5rem 0;
}

.o-split__body {
	padding-right: 2.5rem;
}

.o-section.-light .h-eyebrow {
	color: var(--racing-green-500);
}

/*
 * main.css styles every ul/ol as a flex column and every li as a flex row with a bullet. The lists in these blocks are
 * components, not text lists, so they start from a clean slate.
 */
.o-uspAccordion__list,
.o-processSteps__list,
.o-faq__list {
	display: block;
}

.o-statement__words,
.o-uspAccordion__list,
.o-routeCards__list,
.o-processSteps__list,
.o-faq__list {
	align-items: normal;
	align-self: auto;
}

.o-statement__words {
	flex-direction: row;
}

.o-statement__word,
.o-uspAccordion__item,
.o-faq__item {
	display: block;
}

.o-statement__word::before,
.o-routeCards__card::before,
.o-faq__item::before {
	content: none;
}

.o-routeCards__card,
.o-processSteps__step {
	align-items: stretch;
}

/* Eyebrow as a block of its own height, like the other text in a column. */
.h-eyebrow.-noMargin {
	margin-bottom: 0;
}

.o-split__label .h-eyebrow,
.o-processSteps__intro .h-eyebrow,
.o-reviews__heading .h-eyebrow,
.o-valuationForm__intro .h-eyebrow {
	display: block;
}

/* ==========================================================================
   Atoms
   ========================================================================== */

/* Label with pulsing dot */
.a-pulseLabel {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--heading-eyebrow);
	font-weight: var(--font-light);
	line-height: 1;
}

.a-pulseLabel__dot {
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--white);
	animation: tcPulse 2s infinite;
}

.a-pulseLabel.-dark .a-pulseLabel__dot {
	background: var(--racing-green-800);
	animation-name: tcPulseInk;
}

/* Small tag */
.a-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.75rem;
	border-radius: var(--border-radius-m);
	font-size: var(--paragraph-s);
	font-weight: var(--font-regular);
	line-height: 1;
	white-space: nowrap;
}

.a-chip.-dark {
	background: var(--racing-green-800);
	color: var(--white);
}

.a-chip.-outline {
	box-shadow: inset 0 0 0 1px var(--racing-green-300);
	color: var(--racing-green-800);
}

/* Slide indicator */
.a-progressDot {
	display: block;
	width: 0.5rem;
	height: 0.25rem;
	border-radius: 0.125rem;
	background: var(--white);
	opacity: 0.5;
	transition: width 0.4s, opacity 0.4s;
}

.a-progressDot.is-active {
	width: 1.75rem;
	opacity: 1;
}

/* Button with a round arrow */
.btn-animate-chars.-withArrow {
	gap: 1rem;
	padding-left: 1.5rem;
}

.btn-animate-chars__arrow {
	position: relative;
	z-index: 2;
	display: flex;
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
}

.btn-animate-chars__arrow svg {
	width: 100%;
	height: 100%;
}

.btn-animate-chars__arrow path {
	transition: transform 0.5s cubic-bezier(0.625, 0.05, 0, 1);
}

.btn-animate-chars:hover .btn-animate-chars__arrow path {
	transform: translateX(0.125rem);
}

.a-button.-white .btn-animate-chars__arrow rect {
	fill: var(--racing-green-800);
}

.a-button.-white .btn-animate-chars__arrow path {
	stroke: var(--white);
}

/* Transparent button with a light border, for use on images */
.btn-animate-chars.-outline .btn-animate-chars__bg {
	background-color: transparent;
	border-color: rgba(255, 255, 255, 0.5);
}

/* Transparent button with a grey border, for use on light backgrounds */
.btn-animate-chars.-ghost {
	color: var(--racing-green-800);
}

.btn-animate-chars.-ghost .btn-animate-chars__bg {
	background-color: transparent;
	border-color: var(--racing-green-300);
}

.btn-animate-chars.-ghost .btn-animate-chars__bg::after {
	background-color: var(--racing-green-200);
}

/*
 * Dutch license plate input: yellow plate with the blue EU strip. The theme styles every text input inside main
 * (border, padding, height, font size), so the input selector carries the block class twice to win from it.
 */
.a-licensePlate {
	position: relative;
	display: block;
	height: 3.5rem;
	overflow: hidden;
	border-radius: var(--border-radius-m);
	background: #f1bd2a;
	box-shadow: inset 0 0 0 2px #404040;
}

.a-licensePlate::before {
	content: "";
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 2px;
	width: 1.375rem;
	border-radius: 2px 0 0 2px;
	background: url(../img/kenteken-nl.svg) center / cover no-repeat;
}

.a-licensePlate:focus-within {
	outline: 2px solid var(--racing-green-800);
	outline-offset: 2px;
}

.a-licensePlate .a-licensePlate__input {
	position: absolute;
	inset: 0 0 0 1.5rem;
	width: calc(100% - 1.5rem);
	height: 100%;
	margin: 0;
	padding: 0 1rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--racing-green-800);
	font-family: inherit;
	font-size: 1.5rem;
	font-weight: var(--font-regular);
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	outline: none;
}

.a-licensePlate .a-licensePlate__input::placeholder {
	color: rgba(0, 39, 39, 0.4);
	opacity: 1;
}

/* ==========================================================================
   Header: eyebrow and buttons
   ========================================================================== */

.o-hero__heading {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.o-hero__heading .a-pulseLabel {
	color: var(--white);
}

.o-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.6875rem;
}

/* Large style: bigger title, lighter overlay and a slow parallax on the photo */
.o-hero__video {
	object-position: var(--focus-x, 50%) 50%;
}

.o-hero.-large {
	min-height: 45rem;
	overflow: hidden;
}

.o-hero.-large .o-hero__video {
	top: -4%;
	height: 104%;
	transform: translateY(var(--hero-shift, 0px)) scale(1.06);
	will-change: transform;
}

.o-hero.-large .o-hero__overlay {
	height: 100%;
	background:
		linear-gradient(180deg, rgba(0, 39, 39, 0.35) 0%, rgba(0, 39, 39, 0) 30%),
		linear-gradient(20deg, rgba(0, 39, 39, 0.85) 0%, rgba(0, 39, 39, 0) 45%);
}

.o-hero.-large .o-hero__fade {
	height: 35%;
}

.o-hero.-large .o-hero__content {
	bottom: 3rem;
	text-shadow: 0 1px 1.5rem rgba(0, 39, 39, 0.45);
}

.o-hero.-large .o-hero__actions {
	text-shadow: none;
}

.o-hero.-large h1 {
	font-size: 5.4rem;
	line-height: 1.02;
	letter-spacing: -0.18rem;
	text-wrap: balance;
}

.o-hero__description:has(.o-hero__actions) {
	grid-column-end: -1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

/* ==========================================================================
   Valuation bar
   ========================================================================== */

.o-valuationBar {
	padding: 2.5rem 1.25rem;
	background: var(--white);
	color: var(--racing-green-800);
}

.o-valuationBar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 1.25rem;
	padding: 0 2.5rem;
}

.o-valuationBar__text {
	display: flex;
	flex: 1 1 20rem;
	flex-direction: column;
	gap: 0.5rem;
}

.o-valuationBar__title {
	margin: 0;
	font-size: var(--heading-m);
	line-height: var(--line-height-tight);
}

.o-valuationBar__description {
	margin: 0;
	color: var(--racing-green-600);
	font-size: var(--paragraph-m);
	line-height: var(--line-height-normal);
}

.o-valuationBar__form {
	display: flex;
	flex: 1 1 30rem;
	flex-wrap: wrap;
	gap: 0.75rem;
	max-width: 40rem;
}

.o-valuationBar__plate {
	flex: 1 1 15rem;
}

.o-valuationBar__button {
	flex: 0 0 auto;
	min-height: 3.5rem;
}

/* ==========================================================================
   Statement
   ========================================================================== */

.o-statement {
	padding: 9.6rem 0;
	color: var(--white);
}

.o-statement .h-eyebrow {
	color: var(--racing-green-400);
}

.o-statement__body {
	display: flex;
	flex-direction: column;
	gap: 3.5rem;
}

.o-statement__text {
	margin: 0;
	font-size: var(--heading-l);
	text-wrap: pretty;
}

.o-statement__words {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.o-statement__word {
	color: var(--racing-green-700);
	font-size: var(--heading-m);
	line-height: var(--line-height-tight);
	letter-spacing: -0.0625rem;
	transition: color 0.6s;
}

.o-statement__word.is-active {
	color: var(--white);
}

/* ==========================================================================
   USP accordion
   ========================================================================== */

.o-uspAccordion {
	padding: 8rem 0;
}

.o-uspAccordion__intro {
	margin-bottom: 6.25rem;
}

.o-uspAccordion__intro h2 {
	text-wrap: balance;
}

.o-uspAccordion__content {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem 1.25rem;
	padding: 0 3.75rem;
}

.o-uspAccordion__list {
	flex: 1 1 21.25rem;
	align-self: center;
	max-width: calc((100% - 13.75rem) / 12 * 5 + 5rem);
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--racing-green-300);
	list-style: none;
}

.o-uspAccordion__item {
	position: relative;
	padding: 2rem 0;
	border-top: 1px solid var(--racing-green-300);
}

.o-uspAccordion__item::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 0;
	height: 1px;
	border-radius: 0;
	background: var(--racing-green-800);
	transition: width 0.5s;
}

.o-uspAccordion__item.is-active::before {
	width: 100%;
}

.o-uspAccordion__toggle {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.o-uspAccordion__number {
	flex: 0 0 3.5rem;
	color: var(--racing-green-500);
	font-size: var(--paragraph-m);
	line-height: 2.6125rem;
}

.o-uspAccordion__title {
	color: var(--racing-green-400);
	font-size: var(--heading-m);
	line-height: 2.6125rem;
	letter-spacing: -0.0625rem;
	transition: color 0.4s;
}

.o-uspAccordion__item.is-active .o-uspAccordion__title {
	color: var(--racing-green-800);
}

.o-uspAccordion__panel {
	max-height: 0;
	margin-top: 0.75rem;
	padding-left: 4.75rem;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.5s, opacity 0.5s;
}

.o-uspAccordion__item.is-active .o-uspAccordion__panel {
	max-height: 7.5rem;
	opacity: 1;
}

.o-uspAccordion__text {
	margin: 0;
	color: var(--racing-green-600);
	font-size: var(--paragraph-m);
	line-height: var(--line-height-normal);
}

.o-uspAccordion__media {
	position: relative;
	flex: 1 1 21.25rem;
	max-width: calc((100% - 13.75rem) / 12 * 6 + 6.25rem);
	min-height: 41.4rem;
	margin-left: auto;
	overflow: hidden;
	border-radius: var(--border-radius-m);
	background: var(--racing-green-800);
}

.o-uspAccordion__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% var(--focus-y, 50%);
	opacity: 0;
	transition: opacity 0.8s, transform 6s ease-out;
}

.o-uspAccordion__image.is-active {
	opacity: 1;
	transform: scale(1.06);
}

.o-uspAccordion__dots {
	position: absolute;
	bottom: 1.25rem;
	left: 1.25rem;
	display: flex;
	gap: 0.375rem;
}

/* ==========================================================================
   Route cards
   ========================================================================== */

.o-routeCards {
	padding: 9.6rem 1.25rem;
	color: var(--white);
}

.o-routeCards__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 2.5rem 1.25rem;
	padding: 0 2.5rem;
}

.o-routeCards__title {
	flex: 1 1 35rem;
	max-width: calc((100% - 13.75rem) / 12 * 7 + 7.5rem);
	font-size: var(--heading-xl);
	letter-spacing: -0.135rem;
	text-wrap: balance;
}

/* Specific enough to keep its bottom margin against `.o-section p:last-child` from main.css. */
.o-routeCards p.o-routeCards__description {
	flex: 0 1 26.6875rem;
	margin: 0 0 0.375rem auto;
	color: var(--racing-green-300);
	font-size: var(--paragraph-l);
	line-height: var(--line-height-normal);
}

.o-routeCards__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
	gap: 1.25rem;
	margin: 6.25rem 0 0;
	padding: 0;
	list-style: none;
}

.o-routeCards__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 3rem;
	min-height: 26.25rem;
	padding: 1.75rem;
	border-radius: var(--border-radius-m);
	background: var(--white);
	color: var(--racing-green-800);
}

.o-routeCards__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.o-routeCards__number {
	color: var(--racing-green-500);
	font-size: var(--paragraph-s);
	line-height: 1;
}

.o-routeCards__body {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.o-routeCards__cardTitle {
	font-size: var(--heading-m);
	line-height: 2.6125rem;
}

.o-routeCards__text {
	margin: 0;
	color: var(--racing-green-600);
	font-size: var(--paragraph-m);
	line-height: var(--line-height-normal);
}

.o-routeCards__route {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin: 0.625rem 0 0;
}

.o-routeCards__arrow {
	color: var(--racing-green-500);
	font-size: var(--paragraph-s);
	line-height: 1;
}

/* ==========================================================================
   Process steps
   ========================================================================== */

.o-processSteps {
	padding: 8rem 0;
}

.o-processSteps__intro {
	position: sticky;
	top: 7.5rem;
	display: flex;
	flex-direction: column;
	align-self: start;
	gap: 1.75rem;
	padding: 0 2.5rem;
}

.o-processSteps__intro .btn-animate-chars {
	align-self: flex-start;
}

.o-processSteps__description {
	margin: 0;
	color: var(--racing-green-600);
	font-size: var(--paragraph-l);
	line-height: var(--line-height-normal);
}

.o-processSteps__counter {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0;
	color: var(--racing-green-500);
	font-size: var(--paragraph-m);
	line-height: 1;
}

.o-processSteps__current {
	color: var(--racing-green-800);
	font-size: var(--heading-xl);
	line-height: 1;
	letter-spacing: -0.135rem;
}

.o-processSteps__timeline {
	position: relative;
	padding: 0 2.5rem 0 4.5rem;
}

.o-processSteps__line {
	position: absolute;
	top: 0.75rem;
	bottom: 0.75rem;
	left: 2.4375rem;
	width: 1px;
	background: var(--racing-green-300);
}

.o-processSteps__progress {
	display: block;
	height: 100%;
	background: var(--racing-green-800);
	transform: scaleY(var(--progress, 0));
	transform-origin: top;
	transition: transform 0.25s linear;
}

.o-processSteps__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.o-processSteps__step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 38.75rem;
	padding-bottom: 8rem;
	opacity: 0.35;
	transition: opacity 0.5s;
}

.o-processSteps__step::before {
	content: "";
	position: absolute;
	top: 0.375rem;
	left: -2.5rem;
	width: 0.8125rem;
	height: 0.8125rem;
	border-radius: 50%;
	background: var(--racing-green-100);
	box-shadow: 0 0 0 1px var(--racing-green-800), 0 0 0 0.375rem var(--racing-green-100);
	transition: background 0.5s;
}

.o-processSteps__step.is-active {
	opacity: 1;
}

.o-processSteps__step.is-active::before {
	background: var(--racing-green-800);
}

.o-processSteps__label {
	color: var(--racing-green-500);
	font-size: var(--paragraph-m);
	line-height: 1;
}

.o-processSteps__title {
	font-size: var(--heading-m);
	line-height: 2.6125rem;
	text-wrap: balance;
}

.o-processSteps__text {
	margin: 0;
	color: var(--racing-green-600);
	font-size: var(--paragraph-l);
	line-height: var(--line-height-normal);
}

.o-processSteps__image {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 0.75rem;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: 50% var(--focus-y, 50%);
	border-radius: var(--border-radius-m);
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.o-reviews {
	padding-top: 7rem;
}

.o-reviews__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1.25rem;
	padding: 0 3.75rem 2.5rem;
	color: var(--white);
}

.o-reviews__heading {
	display: flex;
	flex: 1 1 18.75rem;
	flex-direction: column;
	gap: 1.5rem;
}

.o-reviews__heading .h-eyebrow {
	color: var(--racing-green-400);
}

.o-reviews__arrows {
	display: flex;
	gap: 0.6875rem;
}

.o-reviews__arrow {
	width: 3rem;
	height: 3rem;
	padding: 0;
	color: var(--white);
}

.o-reviews__arrow.a-button.-iconWhite {
	color: var(--racing-green-800);
}

.o-reviews__arrow svg path {
	stroke: currentColor;
}

.o-reviews__arrow.-prev svg {
	transform: rotate(180deg);
}

/* The arrow covers 30% of the theme's slider icon; at this size it matches the 16px arrow glyph of the design. */
.o-reviews__arrow.a-button svg {
	position: relative;
	z-index: 1;
	width: 2.4375rem;
	height: 2.4375rem;
}

.o-reviews__stage {
	position: relative;
	height: 32.4rem;
}

.o-reviews__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.o-reviews__card {
	position: absolute;
	bottom: 1.9375rem;
	left: 50%;
	width: min(27.5rem, calc(100% - 2.5rem));
	padding: 2.25rem 2.25rem 1.75rem;
	border-radius: var(--border-radius-m);
	background: var(--racing-green-800);
	color: var(--white);
	transform: translateX(-50%);
}

.o-reviews__review {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 0;
}

.o-reviews__review[hidden] {
	display: none;
}

.o-reviews__review.is-active {
	animation: tcFadeIn 0.4s;
}

.o-reviews__quote {
	min-height: 6.25rem;
	margin: 0;
	padding-bottom: 0.25rem;
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: -0.03125rem;
}

/* Resets the figcaption style of main.css (border, inset, smaller text). */
.o-reviews .o-reviews__author {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0;
	padding: 0 5rem 0 0;
	border: 0;
	font-size: inherit;
	line-height: inherit;
}

.o-reviews__name {
	font-size: var(--paragraph-m);
	line-height: var(--line-height-normal);
}

.o-reviews__meta {
	color: var(--racing-green-400);
	font-size: var(--paragraph-s);
	line-height: var(--line-height-normal);
}

.o-reviews__dots {
	position: absolute;
	right: 2.25rem;
	bottom: 2.1rem;
	display: flex;
	gap: 0.375rem;
}

/* ==========================================================================
   Valuation form
   ========================================================================== */

.o-valuationForm {
	border-top: 1px solid var(--racing-green-300);
}

.o-valuationForm__grid {
	align-items: stretch;
}

.o-valuationForm__aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 3rem;
	padding: 5rem 2.5rem 2rem;
}

.o-valuationForm__intro {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.o-valuationForm__description {
	margin: 0;
	color: var(--racing-green-600);
	font-size: var(--paragraph-l);
	line-height: var(--line-height-normal);
}

.o-valuationForm__contact {
	display: flex;
	flex-direction: column;
}

.o-valuationForm__portrait {
	position: relative;
	display: block;
	width: 6.1875rem;
	height: 8.68rem;
}

.o-valuationForm__portraitImage {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 31.25rem;
}

.o-valuationForm__status {
	position: absolute;
	right: 0.25rem;
	bottom: 0.875rem;
	width: 0.875rem;
	height: 0.875rem;
	border-radius: 50%;
	background: var(--racing-green-800);
	box-shadow: 0 0 0 3px var(--racing-green-100);
	animation: tcPulseInk 2s infinite;
}

.o-valuationForm__contactTitle,
.o-valuationForm__contactText {
	margin: 0;
	font-size: var(--paragraph-l);
	line-height: var(--line-height-normal);
}

.o-valuationForm__contactTitle {
	padding-top: 1.568rem;
	font-weight: var(--font-regular);
}

.o-valuationForm__contactText {
	max-width: 18.125rem;
}

.o-valuationForm__whatsapp {
	align-self: flex-start;
	margin-top: 2.0625rem;
}

.o-valuationForm__main {
	min-width: 0;
	padding-right: 2.5rem;
}

.o-valuationForm__panel {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	min-height: 100%;
	padding: 5rem 2.5rem;
	border-right: 1px solid var(--racing-green-300);
	border-left: 1px solid var(--racing-green-300);
}

.o-valuationForm__panel:has(.o-valuationForm__success) .o-valuationForm__footnote {
	display: none;
}

.o-valuationForm__footnote {
	margin: 0;
	color: var(--racing-green-500);
	font-size: var(--paragraph-s);
	line-height: var(--line-height-normal);
}

/* Confirmation after sending */
.o-valuationForm__success {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.625rem;
}

.o-valuationForm__success .a-pulseLabel {
	color: var(--racing-green-500);
}

.o-valuationForm__success h3 {
	font-size: var(--heading-l);
}

.o-valuationForm__success p {
	max-width: 38.75rem;
	margin: 0;
	color: var(--racing-green-600);
	font-size: var(--paragraph-l);
	line-height: var(--line-height-normal);
}

/* Floating button to the form */
.o-floatingCta {
	position: fixed;
	bottom: 1.25rem;
	left: 50%;
	z-index: 40;
	width: max-content;
	max-width: calc(100% - 2.5rem);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 7.5rem);
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s;
}

.o-floatingCta.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.o-floatingCta__link {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	height: 3.75rem;
	padding: 0 0.5rem 0 1.25rem;
	border-radius: var(--border-radius-m);
	background: var(--white);
	color: var(--racing-green-800);
	box-shadow: 0 1.25rem 3.125rem rgba(0, 39, 39, 0.35), inset 0 0 0 1px var(--racing-green-300);
}

.o-floatingCta__label {
	gap: 0.625rem;
	color: var(--racing-green-600);
	font-size: var(--paragraph-s);
	line-height: var(--line-height-normal);
	white-space: nowrap;
}

.o-floatingCta__button {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	height: 2.75rem;
	padding: 0 0.75rem 0 1.125rem;
	border-radius: var(--border-radius-m);
	background: var(--racing-green-800);
	color: var(--white);
	font-size: var(--paragraph-m);
	font-weight: var(--font-regular);
	white-space: nowrap;
	transition: background-color 0.3s;
}

.o-floatingCta__link:hover .o-floatingCta__button {
	background: var(--racing-green-700);
}

.o-floatingCta__button .btn-animate-chars__arrow {
	width: 1.375rem;
	height: 1.375rem;
}

/* ==========================================================================
   Gravity Forms in the valuation form
   ========================================================================== */

/* The form reuses the contact form styling of .o-contact__row, without its spacing; the panel provides that. */
.o-valuationForm__form.o-contact__row {
	padding: 0;
	border-top: 0;
}

.o-valuationForm__form .gform_fields {
	row-gap: 1.7rem;
}

/* Every field is required except the ones marked "(optioneel)", so the required marker adds nothing. */
.o-valuationForm__form .gfield_required {
	display: none;
}

.o-valuationForm__form .ginput_container input,
.o-valuationForm__form .ginput_container textarea {
	font-weight: var(--font-regular);
}

/* Step indicator */
.o-valuationForm__form .gf_page_steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0 0 2.5rem;
	padding: 0;
	border: 0;
}

.o-valuationForm__form .gf_step {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding-top: 0.75rem;
	border-top: 2px solid var(--racing-green-300);
	color: var(--racing-green-500);
	font-size: var(--paragraph-s);
	font-weight: var(--font-light);
	line-height: var(--line-height-normal);
	opacity: 1;
	transition: border-color 0.4s, color 0.4s;
}

.o-valuationForm__form .gf_step_active,
.o-valuationForm__form .gf_step_completed {
	border-top-color: var(--racing-green-800);
	color: var(--racing-green-800);
}

.o-valuationForm__form .gf_step .gf_step_number {
	all: unset;
	color: var(--racing-green-500);
}

.o-valuationForm__form .gf_step .gf_step_number::before {
	content: "0";
}

.o-valuationForm__form .gf_step .gf_step_number::after {
	display: none;
}

.o-valuationForm__form .gf_step .gf_step_label {
	all: unset;
}

/* Step headings */
.o-valuationForm__form .gfield--type-section {
	margin: 0;
	padding: 0;
	border: 0;
}

.o-valuationForm__form .gsection_title {
	margin: 0 0 0.25rem;
	color: var(--racing-green-800);
	font-size: var(--heading-m);
	font-weight: var(--font-light);
	line-height: 2.6125rem;
	letter-spacing: -0.0625rem;
}

/*
 * License plate field of the RDW plugin, in the style of the plate in the valuation bar. The plugin sets its own plate
 * font, colours and a low resolution strip image with !important, so overriding them needs !important as well.
 */
.o-valuationForm__form .tc-license .ginput_container input {
	width: min(26.6rem, 100%) !important;
	height: 3.5rem;
	margin: 0;
	padding: 0 1rem 0 2.375rem !important;
	border: 2px solid #404040 !important;
	border-radius: var(--border-radius-m) !important;
	background: #f1bd2a url(../img/kenteken-nl.svg) no-repeat 0 0 / 1.25rem 100% !important;
	color: var(--racing-green-800) !important;
	font-family: var(--font-primary) !important;
	font-size: 1.5rem !important;
	font-weight: var(--font-regular) !important;
	line-height: 1 !important;
	letter-spacing: 0.06em;
	text-align: left !important;
	text-transform: uppercase;
}

.o-valuationForm__form .tc-license .ginput_container input::placeholder {
	color: rgba(0, 39, 39, 0.4);
	opacity: 1;
}

.o-valuationForm__form .tc-license .ginput_container input:focus {
	outline: 2px solid var(--racing-green-800);
	outline-offset: 2px;
}

.o-valuationForm__form .gfield--type-textarea textarea {
	height: 10rem;
	min-height: 10rem;
}

/* Choices as pills */
.o-valuationForm__form .tc-pills .gfield_radio {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.o-valuationForm__form .tc-pills .gform-field-label--type-inline::before {
	display: none;
}

.o-valuationForm__form .tc-pills .gchoice {
	position: relative;
	display: block;
	margin: 0;
}

.o-valuationForm__form .tc-pills .gfield-choice-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.o-valuationForm__form .tc-pills .gform-field-label--type-inline {
	display: flex;
	align-items: center;
	height: 2.75rem;
	margin: 0;
	padding: 0 1rem;
	border-radius: var(--border-radius-m);
	background: var(--white);
	color: var(--racing-green-800);
	font-size: var(--paragraph-m);
	font-weight: var(--font-regular);
	transition: background-color 0.3s, color 0.3s;
}

.o-valuationForm__form .tc-pills .gfield-choice-input:checked + .gform-field-label--type-inline {
	background: var(--racing-green-800);
	color: var(--white);
}

.o-valuationForm__form .tc-pills .gfield-choice-input:focus-visible + .gform-field-label--type-inline {
	outline: 2px solid var(--racing-green-800);
	outline-offset: 2px;
}

/* Previous and next buttons */
.o-valuationForm__form .gform_page_footer,
.o-valuationForm__form .gform_footer {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin: 2.5rem 0 0;
	padding: 0;
}

.o-valuationForm__form .gform_page_footer .gform_previous_button.button {
	flex: 0 0 auto;
	width: auto !important;
	height: 3.25rem !important;
	padding: 0 1.25rem !important;
	border-radius: var(--border-radius-s) !important;
	background: none !important;
	box-shadow: inset 0 0 0 1px var(--racing-green-300) !important;
	color: var(--racing-green-800) !important;
	font-size: var(--paragraph-m) !important;
	font-weight: var(--font-regular) !important;
}

.o-valuationForm__form .gform_page_footer .gform_next_button.button,
.o-valuationForm__form .gform_page_footer .gform_button,
.o-valuationForm__form .gform_footer .gform_button {
	flex: 1;
	width: auto !important;
	height: 3.25rem;
	font-weight: var(--font-regular);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.o-faq {
	padding: 8rem 0;
	border-top: 1px solid var(--racing-green-300);
}

.o-faq__list {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--racing-green-300);
	list-style: none;
}

.o-faq__item {
	border-top: 1px solid var(--racing-green-300);
}

.o-faq__heading {
	font-size: inherit;
	letter-spacing: 0;
}

.o-faq__question {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	width: 100%;
	padding: 1.75rem 0;
	border: 0;
	background: none;
	color: var(--racing-green-800);
	font-family: inherit;
	font-size: var(--heading-s);
	font-weight: var(--font-light);
	line-height: 1.2;
	letter-spacing: -0.03125rem;
	text-align: left;
	cursor: pointer;
}

.o-faq__question > span:first-child {
	flex: 1;
}

/* Plus and minus drawn with two bars, sized and placed like the 36px text glyph in the design. */
.o-faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 0.9375rem;
	height: 2.25rem;
	margin-right: 0.125rem;
}

.o-faq__icon::before,
.o-faq__icon::after {
	content: "";
	position: absolute;
	top: calc(50% + 0.25rem);
	left: 0;
	width: 100%;
	height: 2px;
	margin-top: -1px;
	background: var(--racing-green-700);
	transition: transform 0.3s;
}

.o-faq__icon::after {
	transform: rotate(90deg);
}

.o-faq__item.is-open .o-faq__icon::after {
	transform: rotate(0deg);
}

.o-faq__answer {
	max-width: 45rem;
	padding: 0 3.75rem 2rem 0;
}

.o-faq__answer p {
	margin: 0;
	color: var(--racing-green-600);
	font-size: var(--paragraph-l);
	line-height: var(--line-height-normal);
}

/* ==========================================================================
   Image with CTA card
   ========================================================================== */

.o-showroomCta {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(56.25rem, 100vh);
	padding: 3.75rem;
	overflow: hidden;
}

.o-showroomCta__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.o-showroomCta__card {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	width: min(29.75rem, 100%);
	padding: 4.5rem 2.25rem 2.25rem;
	border-radius: var(--border-radius-m);
	background: var(--white);
	color: var(--racing-green-800);
}

.o-showroomCta__text {
	font-size: var(--heading-m);
	line-height: var(--line-height-tight);
	letter-spacing: -0.0625rem;
}

.o-showroomCta__arrow {
	display: flex;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
}

.o-showroomCta__arrow svg {
	width: 100%;
	height: 100%;
}

.o-showroomCta__arrow rect {
	fill: var(--racing-green-800);
}

.o-showroomCta__arrow path {
	stroke: var(--racing-green-100);
	transition: transform 0.5s cubic-bezier(0.625, 0.05, 0, 1);
}

.o-showroomCta__card:hover .o-showroomCta__arrow path {
	transform: translateX(0.125rem);
}

/* ==========================================================================
   Tablet
   ========================================================================== */

@media screen and (max-width: 991px) {
	/* 6vw like the design: 50px at 834px. */
	.o-hero.-large h1 {
		font-size: 3.125rem;
	}

	/*
	 * Below 992px rem no longer scales, so the headings take the minimum of the design's clamp() sizes:
	 * 27px, 30px, 32px, 36px and 42px at 834px.
	 */
	.o-valuationBar__title,
	.o-showroomCta__text {
		font-size: 1.6875rem;
	}

	.o-statement__word,
	.o-uspAccordion__title,
	.o-processSteps__title {
		font-size: 1.875rem;
		line-height: 1.1;
	}

	.o-statement__text {
		font-size: 2rem;
	}

	.o-uspAccordion__intro h2,
	.o-processSteps__intro h2,
	.o-reviews__heading h2,
	.o-valuationForm__intro h2 {
		font-size: 2.25rem;
	}

	.o-routeCards__title {
		font-size: 2.625rem;
	}

	/* The card would cover the car: the photo ends just below the top of the card. */
	.o-reviews__stage {
		height: 37.5rem;
	}

	.o-reviews__image {
		bottom: auto;
		height: 23rem;
		object-position: 50% 100%;
	}

	/* The 12 column grid already insets its items; columns stack and need no padding of their own. */
	.o-split__label,
	.o-split__body {
		padding: 0;
	}

	.o-uspAccordion__intro {
		margin-bottom: 3.75rem;
	}

	.o-valuationBar {
		padding-right: var(--grid-gap);
		padding-left: var(--grid-gap);
	}

	.o-valuationBar__inner {
		padding: 0;
	}

	.o-uspAccordion__content {
		padding: 0 var(--grid-gap);
	}

	.o-routeCards {
		padding-right: var(--grid-gap);
		padding-left: var(--grid-gap);
	}

	.o-routeCards__intro {
		padding: 0;
	}

	.o-reviews__header {
		padding: 0 var(--grid-gap) 2.5rem;
	}

	/* List and photo stay side by side, like the design; the narrower list needs room for longer texts. */
	.o-uspAccordion__content {
		flex-wrap: nowrap;
	}

	.o-uspAccordion__list,
	.o-uspAccordion__media {
		flex: 1 1 0;
		max-width: none;
	}

	.o-uspAccordion__media {
		min-height: 34rem;
	}

	.o-uspAccordion__item.is-active .o-uspAccordion__panel {
		max-height: 12rem;
	}

	.o-routeCards__title {
		max-width: none;
	}

	.o-routeCards p.o-routeCards__description {
		margin-left: 0;
	}

	/* Intro and timeline stay side by side, like the design; the intro keeps following the steps. */
	.o-processSteps__intro {
		padding: 0;
	}

	.o-processSteps__timeline {
		padding-right: 0;
	}

	.o-processSteps__step {
		padding-bottom: 5rem;
	}

	.o-valuationForm__aside {
		padding: 5rem 0 0;
	}

	.o-valuationForm__main {
		padding-right: 0;
	}

	.o-valuationForm__panel {
		padding: 3.75rem 0 5rem;
		border: 0;
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media screen and (max-width: 767px) {
	/* The design's minimum of 46px. */
	.o-hero.-large h1 {
		font-size: 3.75rem;
	}

	/* The theme keeps 6rem free below the text for the optional scroll link. */
	.o-hero.-large .o-hero__content.-full {
		bottom: 4rem;
	}

	.o-hero.-large .o-hero__content.-full:not(:has(.underline-link)) {
		padding-bottom: 0;
	}

	.o-hero__actions {
		justify-content: flex-start;
	}

	.o-uspAccordion__content {
		flex-wrap: wrap;
	}

	.o-uspAccordion__list,
	.o-uspAccordion__media {
		flex-basis: 100%;
	}

	.o-uspAccordion__media {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	/* The design's minimum heading sizes: 27px, 30px, 32px, 36px and 40px (rem is about 12.3px here). */
	.o-valuationBar__title,
	.o-showroomCta__text,
	.o-faq__question {
		font-size: 2.1875rem;
	}

	.o-statement__word,
	.o-uspAccordion__title,
	.o-processSteps__title {
		font-size: 2.4375rem;
	}

	.o-statement__text {
		font-size: 2.625rem;
	}

	.o-uspAccordion__intro h2,
	.o-processSteps__intro h2,
	.o-reviews__heading h2,
	.o-valuationForm__intro h2 {
		font-size: 2.9375rem;
	}

	.o-routeCards__title {
		font-size: 3.25rem;
	}

	/* The card titles are 38px at every width in the design. */
	.o-routeCards__cardTitle {
		font-size: 3.0625rem;
	}

	/* rem shrinks on phones; plates and arrows keep the design's size and a comfortable tap target. */
	.a-licensePlate {
		height: 4.5rem;
	}

	.a-licensePlate::before {
		width: 1.75rem;
	}

	.a-licensePlate .a-licensePlate__input {
		inset: 0 0 0 1.875rem;
		width: calc(100% - 1.875rem);
		font-size: 2rem;
	}

	.o-valuationForm__form .tc-license .ginput_container input {
		height: 4.5rem;
		padding-left: 3rem !important;
		background-size: 1.625rem 100% !important;
		font-size: 2rem !important;
	}

	.o-reviews__arrow {
		width: 3.5rem;
		height: 3.5rem;
	}

	.o-valuationBar__form,
	.o-valuationBar__button {
		flex-basis: 100%;
	}

	.o-valuationBar__button {
		justify-content: center;
	}

	.o-statement,
	.o-routeCards {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

	.o-uspAccordion,
	.o-processSteps,
	.o-faq {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}

	.o-uspAccordion__panel {
		padding-left: 0;
	}

	.o-uspAccordion__number {
		flex-basis: 2.5rem;
	}

	.o-routeCards__list {
		margin-top: 3.75rem;
	}

	.o-routeCards__card {
		min-height: 0;
	}

	.o-processSteps__intro {
		position: static;
		margin-bottom: 3.75rem;
	}

	.o-processSteps__timeline {
		padding-left: 3.5rem;
	}

	.o-processSteps__line {
		left: 1.4375rem;
	}

	.o-processSteps__step {
		padding-bottom: 4.5rem;
	}

	.o-reviews {
		padding-top: 5rem;
	}

	.o-reviews__stage {
		height: 35.75rem;
	}

	.o-reviews__image {
		height: 21.5rem;
	}

	.o-valuationForm__form .gf_step .gf_step_label {
		display: none;
	}

	.o-valuationForm__form .gf_step_active .gf_step_label {
		display: inline;
	}

	.o-faq__answer {
		padding-right: 0;
	}

	.o-showroomCta {
		min-height: 45rem;
		padding: var(--grid-gap);
	}

	.o-showroomCta__card {
		padding: 2.5rem 1.5rem 1.5rem;
	}

	.o-floatingCta__label {
		display: none;
	}

	.o-floatingCta__link {
		padding-left: 0.5rem;
	}
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.a-pulseLabel__dot,
	.o-valuationForm__status {
		animation: none;
	}

	.o-uspAccordion__image,
	.o-uspAccordion__image.is-active {
		transform: none;
	}

	.o-floatingCta,
	.o-processSteps__progress {
		transition: none;
	}
}
