/**
 * The VF 3 model page.
 *
 * Same rules as vf2.css: every value is the reference's, and every selector is
 * scoped — here under `.vf3` — because the reference styles bare `section`,
 * `img`, `h3`, `p`, `table` and `.btn`, which on a WordPress install would reach
 * the header, the footer and every other page.
 *
 * The reference is built on Bootstrap; this site is not. Its `.container`,
 * `.row`, `.col-lg-*` and utility classes are replaced with the handful of rules
 * they actually resolve to — `.vf3-container` below is Bootstrap's container at
 * the widths this page uses, and nothing else of Bootstrap is needed.
 */

/* ===================================================================== base */

.vf3 {
	--vf3-blue: #1464f4;
	--vf3-ink: #3c3c3c;
	--vf3-cream: #fffdf5;
	--vf3-panel: rgba(20, 100, 244, 0.102);

	font-family: 'Mulish', sans-serif;
	color: var(--vf3-ink);
}

.vf3 section {
	position: relative;
	padding-top: 64px;
}

@media screen and (min-width: 769px) {
	.vf3 section {
		padding-top: 120px;
	}
}

.vf3 img {
	max-width: 100%;
	height: auto;
}

.vf3 picture {
	display: inline-block;
	width: 100%;
}

.vf3 p {
	margin: 0 0 1rem;
	font-size: 16px;
	font-weight: 400;
	line-height: 150%;
}

@media only screen and (min-width: 1200px) {
	.vf3 p {
		font-size: 18px;
	}
}

.vf3 p:last-child {
	margin-bottom: 0;
}

.vf3 ul {
	margin: 0 0 1rem;
	padding-left: 0;
}

/**
 * Bootstrap's container, at the two widths this page ever uses.
 *
 * The reference overrides Bootstrap's own ladder with a flat 1140px from 768 up,
 * and 1320px from 1400 — so that is what this is, rather than the five steps
 * Bootstrap ships.
 */
.vf3-container {
	width: 100%;
	margin: 0 auto;
	padding: 0 12px;
}

@media (min-width: 768px) {
	.vf3-container {
		max-width: 1140px;
	}
}

@media (min-width: 1400px) {
	.vf3-container {
		max-width: 1320px;
	}
}

/* --------------------------------------------------------------- headings */

.vf3 h3 {
	margin: 0 0 30px;
	font-size: 48px;
	font-weight: 600;
	line-height: 60px;
	letter-spacing: -0.96px;
	color: var(--vf3-ink);
	text-transform: none;
	width: auto;
}

.vf3 h4 {
	margin: 0 0 30px;
	font-size: 32px;
	font-weight: 600;
	line-height: 40px;
	color: var(--vf3-ink);
	text-transform: none;
	width: auto;
}

.vf3 h5 {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 600;
	line-height: 30px;
	color: var(--vf3-ink);
	text-transform: none;
	width: auto;
}

@media screen and (max-width: 768px) {
	.vf3 h3 {
		font-size: 28px;
		line-height: 35px;
	}

	.vf3 h4 {
		font-size: 20px;
		line-height: 150%;
	}

	.vf3 h5 {
		margin-bottom: 12px;
		font-size: 18px;
		line-height: 150%;
	}
}

.vf3 .sub-title {
	margin: 0 auto 30px;
	font-size: 18px;
	font-weight: 400;
	line-height: 27px;
	color: var(--vf3-ink);
}

@media screen and (max-width: 768px) {
	.vf3 .sub-title {
		font-size: 16px;
		line-height: 150%;
	}
}

.vf3 .sub-title.border-left-blue {
	padding-left: 16px;
	border-left: 4px solid #0d42bd;
}

/**
 * display:block is undoing Flatsome, not decorating.
 *
 * flatsome.css makes `.section-title` a `display:flex; flex-flow:row wrap` row
 * for its own section headings. Here the class holds a heading and a paragraph
 * that belong one under the other — and they only *looked* right, because both
 * are long enough to wrap. A short heading beside a short paragraph would have
 * sat on one line. Measured in the browser: the wrapper computed to flex.
 */
.vf3 .section-title {
	display: block;
	max-width: 904px;
	margin: 0 auto 30px;
}

.vf3 a {
	color: var(--vf3-blue);
}

/* ==================================================================== hero */

.vf3--hero section {
	padding-top: 0;
}

.vf3 .vf3-hero-img {
	display: block;
	width: 100%;
}

/* ================================================================== prices */

.vf3 .price-title {
	text-align: left;
}

@media (min-width: 992px) {
	.vf3 .price-title {
		text-align: center;
	}
}

.vf3 .price-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 24px;
}

@media (min-width: 992px) {
	.vf3 .price-row {
		grid-template-columns: 1fr 1fr;
	}
}

.vf3 .border-box {
	margin-bottom: 30px;
	padding: 30px;
	border: 1px solid #84a3b6;
	background-color: #fff;
}

@media screen and (max-width: 768px) {
	.vf3 .border-box {
		padding: 16px;
	}
}

.vf3 .border-box h5 {
	margin-bottom: 24px;
	font-style: italic;
	font-weight: 1000;
}

@media screen and (max-width: 768px) {
	.vf3 .border-box h5 {
		margin-bottom: 16px;
		font-size: 24px;
	}
}

.vf3 .border-box__label {
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.5;
}

.vf3 .border-box__price,
.vf3 .border-box__old {
	font-size: 28px;
	font-weight: 600;
	line-height: normal;
}

.vf3 .border-box__price span,
.vf3 .border-box__old span {
	margin-left: 4px;
	font-size: 18px;
	font-weight: 600;
}

.vf3 .border-box__old {
	font-size: 1rem;
	font-weight: 600;
	text-decoration: line-through;
}

.vf3 .border-box__old span {
	font-size: 1rem;
}

@media screen and (max-width: 768px) {
	.vf3 .border-box__price {
		font-size: 20px;
	}
}

.vf3 .price-foot {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.vf3 .price-foot__note {
	margin-top: 1rem;
	font-size: 0.875em;
	color: #6c757d;
}

/**
 * The deposit button.
 *
 * Not the site's button and not Flatsome's — the reference's own `.order-now`,
 * which is a fixed 282px bar of uppercase 12px type. min-width/min-height are
 * reset because Flatsome sets them on every `.btn` it can reach.
 */
.vf3 .order-now {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 282px;
	min-width: 0;
	min-height: 0;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background-color: var(--vf3-blue);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 48px;
	letter-spacing: 1.2px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

.vf3 .order-now:hover {
	background-color: #0d4fc7;
	color: #fff;
}

@media screen and (max-width: 768px) {
	.vf3 .order-now {
		width: 100%;
	}
}

/* =================================================================== video */

.vf3 .vf3-video,
.vf3 .vf3-video video {
	width: 100%;
}

.vf3 .vf3-video video {
	display: block;
	background: #000;
}

/* ==================================================================== 360° */

.vf3 .use-360 {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: 100%;
}

/**
 * The spinner.
 *
 * Every frame is an <img> stacked in the same box and only one is shown, rather
 * than one <img> whose src changes: swapping a src re-decodes the file each time
 * and the first turn of the car stutters. The stage holds its shape with an
 * aspect-ratio so the section does not jump as the frames arrive.
 */
.vf3 .spin-360 {
	position: relative;
	width: 100%;
	max-width: 880px;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.vf3 .spin-360.is-dragging {
	cursor: grabbing;
}

.vf3 .spin-360__stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
}

.vf3 .spin-360__stage img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0;
	pointer-events: none;
}

.vf3 .spin-360__stage img.is-shown {
	opacity: 1;
}

.vf3 .spin-360__hint {
	position: absolute;
	bottom: 15px;
	left: 0;
	display: flex;
	justify-content: center;
	width: 100%;
	padding-left: 20px;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.vf3 .spin-360.is-touched .spin-360__hint {
	opacity: 0;
}

.vf3 .group-btn-color {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding-top: 10px;
	width: 100%;
}

.vf3 .group-btn-color .color-name {
	display: block;
	width: 100%;
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 150%;
	text-align: center;
}

.vf3 .group-btn-color ul.colors {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 40px;
	row-gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 767px) {
	.vf3 .group-btn-color ul.colors {
		column-gap: 20px;
	}
}

.vf3 .group-btn-color ul li {
	flex-basis: 60px;
	max-width: 60px;
	padding: 8px;
	border: 3px solid transparent;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.vf3 .group-btn-color ul li.active {
	border-color: var(--vf3-blue);
}

.vf3 .group-btn-color ul li img {
	display: block;
	width: 100%;
}

/* ================================================================== blocks */

.vf3--block-cream .homePageVF3-block,
.vf3--block-overlap .homePageVF3-block {
	background-color: var(--vf3-cream);
}

.vf3--block-cream .homePageVF3-block {
	padding-top: 60px;
	padding-bottom: 60px;
}

/**
 * The block that climbs over the one above it.
 *
 * -220px of margin and 260px of padding: the cream panel slides up over the
 * white one while its text still lands clear of the seam. On a phone the pull is
 * a percentage, because the picture it overlaps is a different shape there.
 */
.vf3--block-overlap .homePageVF3-block {
	margin-top: -220px;
	padding-top: 260px;
	padding-bottom: 60px;
}

@media screen and (max-width: 768px) {
	.vf3--block-overlap .homePageVF3-block {
		margin-top: -19%;
		padding-top: 120px;
	}
}

/* ================================================================ charging */

.vf3 .charging-split {
	display: flex;
	flex-wrap: wrap;
}

.vf3 .charging-split > div {
	flex: 1 0 50%;
}

@media screen and (max-width: 900px) {
	.vf3 .charging-split > div {
		flex: 1 0 100%;
	}
}

.vf3 .box-item-sac {
	padding: 36px;
	background-color: var(--vf3-panel);
}

@media screen and (max-width: 900px) {
	.vf3 .box-item-sac {
		margin-bottom: 30px;
	}
}

.vf3 .box-item-sac ul {
	margin: 24px 0;
	padding-left: 30px;
	font-size: 18px;
	list-style: disc;
}

.vf3 .box-item-sac ul li {
	font-size: 18px;
	font-weight: 400;
	line-height: 27px;
	color: var(--vf3-ink);
}

.vf3 .charging-map img {
	display: block;
	width: 100%;
}

/* =================================================================== specs */

/**
 * The car hangs out of the bottom of the panel.
 *
 * The section reserves 220px below itself and the picture pulls up by the same,
 * so the photograph overlaps whatever follows instead of sitting inside the blue
 * panel. Both numbers halve on a phone, as they do in the reference.
 */
.vf3 .homePageVF3-section--9 {
	z-index: 1;
	margin-bottom: 220px;
	padding: 120px 0 0;
	background-color: var(--vf3-panel);
}

.vf3 .vf3-img-border {
	display: block;
	width: 100%;
	margin-bottom: -220px;
	padding-top: 40px;
}

@media screen and (max-width: 768px) {
	.vf3 .homePageVF3-section--9 {
		margin-bottom: 150px;
		padding-top: 64px;
	}

	.vf3 .vf3-img-border {
		margin-bottom: -110px;
	}
}

.vf3 table.specifications {
	width: 100%;
	margin-bottom: 30px;
	border-collapse: collapse;
}

.vf3 table.specifications tr:first-child td {
	border-top: 1px solid #d9e1e2;
}

.vf3 table.specifications tr td {
	width: 50%;
	height: 53px;
	padding: 0 30px 0 0;
	border-bottom: 1px solid #d9e1e2;
	font-size: 18px;
	font-weight: 600;
	line-height: 150%;
}

.vf3 table.specifications tr td:last-child {
	padding: 0 0 0 30px;
	font-weight: 400;
}

@media screen and (max-width: 768px) {
	.vf3 table.specifications tr td {
		font-size: 14px;
	}

	.vf3 table.specifications tr td:last-child {
		text-align: right;
	}
}

.vf3 .group-button-vf3 {
	display: flex;
	gap: 30px;
	margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
	.vf3 .group-button-vf3 {
		flex-wrap: wrap;
	}
}

.vf3 .group-button-vf3 .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 282px;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
	height: 48px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-decoration: none;
}

.vf3 .btn-outline-vf3 {
	border: 1px solid var(--vf3-blue);
	background: #fff;
	color: var(--vf3-blue);
}

.vf3 .download-brochure {
	border: 1px solid var(--vf3-blue);
	background: var(--vf3-blue);
	color: #fff;
}

/* ============================================================== fuel tool */

.vf3 .section-fuel-compare {
	padding: 64px 0;
}

.vf3 .fuel-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
	font-size: 18px;
}

.vf3 .fuel-title {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-align: center;
	color: #1f2125;
}

@media only screen and (min-width: 768px) {
	.vf3 .fuel-title {
		font-size: 48px;
	}
}

.vf3 .compare-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px 24px;
}

.vf3 .compare-box .col-left {
	display: flex;
	flex: 1 1 100%;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.vf3 .compare-box .col-right {
	flex: 1 1 100%;
}

@media only screen and (min-width: 768px) {
	.vf3 .compare-box .col-left {
		flex: 0 1 41.6667%;
		align-items: flex-start;
	}

	.vf3 .compare-box .col-right {
		flex: 0 1 50%;
	}
}

.vf3 .compare-box .input-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.vf3 .compare-box .input-group > label {
	flex: 1 0 calc(66% - 20px);
	margin: 0;
	font-weight: 700;
}

.vf3 .compare-box .input-group > label span {
	color: var(--vf3-blue);
}

.vf3 .custom-radio-input-group {
	display: flex;
	gap: 8px;
}

.vf3 .custom-radio-input-group label {
	display: flex;
	flex: 1 0 auto;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	color: #979797;
	cursor: pointer;
}

.vf3 .custom-radio-input-group label:has(input:checked) {
	color: #1f2125;
}

.vf3 .custom-radio-input-group input {
	width: 16px;
	margin: 0;
	accent-color: var(--vf3-blue);
}

.vf3 .custom-input-group {
	display: flex;
	flex: 0 1 33%;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	padding: 12px 8px;
	border: 1px solid #d9e1e2;
	border-radius: 4px;
}

.vf3 .custom-input-group input {
	display: inline-flex;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
	font-size: 16px;
	text-align: right;
}

.vf3 .custom-input-group input:focus {
	outline: none;
	box-shadow: none;
}

.vf3 .custom-input-group span {
	color: #979797;
}

.vf3 .custom-input-group input:not(:placeholder-shown) + span {
	color: #1f2125;
}

.vf3 .custom-input-group.is-invalid {
	border-color: #dc3545;
}

.vf3 .fuel-error {
	margin: 0;
	min-height: 1.2em;
	font-size: 14px;
	color: #dc3545;
}

.vf3 .disclaimer {
	font-size: 14px;
	font-weight: 400;
	color: #707070;
}

.vf3 .fuel-go {
	min-width: 165px;
	min-height: 0;
	max-height: 40px;
	padding: 0 40px;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(90deg, #1464f4 0, #3062ec);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 40px;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.35s ease;
}

.vf3 .fuel-go:hover {
	opacity: 0.8;
}

.vf3 .results {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px 32px;
	border-radius: 4px;
	background: #e6eeef;
	font-weight: 600;
}

/**
 * The car sits above the panel, not in it.
 *
 * -60px of margin lifts the whole header row out of the box; on a phone the two
 * halves stack in reverse so the picture is still on top.
 */
.vf3 .results .head {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: space-between;
	margin-top: -60px;
}

@media only screen and (min-width: 768px) {
	.vf3 .results .head {
		flex-direction: row;
		align-items: flex-end;
	}
}

.vf3 .results .head-text {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.75rem;
	font-weight: 600;
}

.vf3 .results .head-text .leaf {
	width: 48px;
	height: auto;
}

.vf3 .results .head .xe {
	max-width: 220px;
}

.vf3 .results .item {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.vf3 .results .item.is-shown {
	display: flex;
}

.vf3 .results .item .money {
	font-variant-numeric: tabular-nums;
}

.vf3 .results-caption {
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	color: #6c757d;
}

.vf3 .results-notes {
	display: none;
	margin-top: 16px;
}

.vf3 .results-notes.is-shown {
	display: block;
}

.vf3 .results-notes ul {
	margin: 0;
	padding-left: 16px;
	list-style: disc;
}

/* ==================================================================== lead */

.vf3 .section-lead-common {
	padding: 60px 0;
	background: #f7f9f9;
}

.vf3 .section-lead-common .section-content {
	max-width: 660px;
	margin: 0 auto;
	text-align: center;
}

.vf3 .lead-title {
	display: inline-flex;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #d9e1e2;
	font-size: 20px;
	font-style: italic;
	font-weight: 900;
	line-height: normal;
	text-transform: uppercase;
	color: var(--vf3-ink);
}

@media screen and (min-width: 769px) {
	.vf3 .lead-title {
		font-size: 36px;
	}
}

.vf3 .lead-intro {
	max-width: 435px;
	margin: 0 auto 30px;
	font-size: 16px;
}

/* Contact Form 7 dressed as the reference's form. */
.vf3 .section-lead-common .wpcf7 {
	max-width: 435px;
	margin: 0 auto;
	text-align: left;
}

.vf3 .section-lead-common .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 12px;
}

.vf3 .section-lead-common input[type="text"],
.vf3 .section-lead-common input[type="email"],
.vf3 .section-lead-common input[type="tel"],
.vf3 .section-lead-common textarea {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 7px 16px;
	border: 1px solid #d9e1e2;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 150%;
	color: var(--vf3-ink);
}

.vf3 .section-lead-common textarea {
	height: auto;
	min-height: 96px;
}

.vf3 .section-lead-common input[type="submit"] {
	width: 100%;
	min-height: 48px;
	margin: 0;
	border: none;
	border-radius: 3px;
	background-color: var(--vf3-blue);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.vf3-lead-warning {
	max-width: 435px;
	margin: 0 auto;
	padding: 16px;
	background: #fff3f3;
	color: #c52d2d;
}

/* ========================================================= reduced motion */

@media (prefers-reduced-motion: reduce) {
	.vf3 .group-btn-color ul li,
	.vf3 .spin-360__hint,
	.vf3 .fuel-go {
		transition: none;
	}
}
