/* =============================================
   Caroo Custom Styles
   ============================================= */

/* --- Screen Reader Only (accessibility) --- */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- Global Reset & Base --- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	overflow-x: hidden;
}

/* Clip footer wheel overflow (prevents white gap below page) */
.site-footer {
	overflow: hidden;
}

/* Lexend Exa for all text in this design */
.wp-site-blocks {
	font-family: var(--wp--preset--font-family--lexend-exa);
	letter-spacing: -0.09em;
}

/* --- Button Styles --- */
.wp-block-button .wp-block-button__link {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	letter-spacing: -0.09em;
	border-radius: 80px;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1.5;
}

.wp-block-button .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Primary (Apricot) - default */
.wp-block-button.is-style-caroo-primary .wp-block-button__link,
.wp-block-button:not([class*="is-style"]) .wp-block-button__link {
	background-color: var(--wp--preset--color--apricot-200);
	color: var(--wp--preset--color--grey-700);
}

.wp-block-button.is-style-caroo-primary .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--apricot-300);
	color: #fff;
}

/* Secondary (Blue) */
.wp-block-button.is-style-caroo-secondary .wp-block-button__link {
	background-color: var(--wp--preset--color--blue-500);
	color: #fff;
}

.wp-block-button.is-style-caroo-secondary .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--blue-600);
}

/* Outline */
.wp-block-button.is-style-caroo-outline .wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--grey-700);
	border: 2px solid var(--wp--preset--color--grey-300);
}

.wp-block-button.is-style-caroo-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--grey-700);
	background-color: var(--wp--preset--color--grey-50);
}

/* Light */
.wp-block-button.is-style-caroo-light .wp-block-button__link {
	background-color: var(--wp--preset--color--grey-100);
	color: var(--wp--preset--color--grey-700);
}

.wp-block-button.is-style-caroo-light .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--grey-200);
}

/* Button sizes via classes */
.wp-block-button.is-size-s .wp-block-button__link {
	padding: 7px 10px;
	font-size: 12px;
}

.wp-block-button.is-size-m .wp-block-button__link {
	padding: 10px 12px;
	font-size: 13px;
}

/* Header CTA — calculator icon */
.header-cta .wp-block-button__link {
	gap: 6px;
}
.header-cta .wp-block-button__link::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url('../images/icon-calculator-header.svg') no-repeat center / contain;
	flex-shrink: 0;
}

.wp-block-button.is-size-l .wp-block-button__link {
	padding: 12px 16px;
	font-size: 14px;
}

.wp-block-button.is-size-xl .wp-block-button__link {
	padding: 14px 20px;
	font-size: 14px;
}

/* Button with icon */
.wp-block-button .wp-block-button__link img,
.wp-block-button .wp-block-button__link svg {
	width: 20px;
	height: 20px;
	vertical-align: middle;
}

/* --- Header --- */
.site-header {
	padding: 16px clamp(24px, calc((100vw - 1168px) / 2), 280px);
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 96px;
	background: #fff;
	position: relative;
	z-index: 100;
	flex-wrap: nowrap;
}

.site-header .wp-block-site-logo {
	flex-shrink: 0;
	align-self: center;
	position: relative;
	top: 3px; /* nudge logo down 3px so "caroo" text baseline aligns with nav text baseline */
}

.site-header .wp-block-site-logo img {
	height: 32px;
	width: auto;
	vertical-align: bottom;
}

.site-header .header-nav-group {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 32px);
	flex-wrap: nowrap;
	white-space: nowrap;
}

.site-header .wp-block-navigation {
	gap: clamp(16px, 2vw, 32px);
}

.site-header .wp-block-navigation .wp-block-navigation__container {
	gap: clamp(16px, 2vw, 32px);
}

.site-header .wp-block-navigation a {
	display: flex;
	align-items: center;
	height: 40px;
	padding: 8px;
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: clamp(12px, 1vw, 14px);
	font-weight: 400;
	letter-spacing: -0.07em;
	color: var(--wp--preset--color--grey-900);
	text-decoration: none;
	position: relative;
	white-space: nowrap;
}

/* Remove gap from buttons wrapper inside header */
.site-header .wp-block-buttons {
	gap: 0;
	margin: 0;
}

.site-header .wp-block-navigation a:hover::after,
.site-header .wp-block-navigation a[aria-current="page"]::after,
.site-header .wp-block-navigation .current-menu-item a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 8px;
	width: 60%;
	height: 8px;
	background: url('../images/nav-underline-active.svg') no-repeat left / contain;
}

/* Language switcher */
.lang-switcher {
	display: flex;
	align-items: center;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 14px;
	letter-spacing: -0.07em;
	color: var(--wp--preset--color--grey-900);
	cursor: pointer;
	position: relative;
}

.lang-switcher svg {
	width: 24px;
	height: 24px;
	transition: transform 0.2s;
}
.lang-switcher__dropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	margin: 8px 0 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	min-width: 64px;
	z-index: 100;
}
.lang-switcher.is-open .lang-switcher__dropdown {
	display: block;
}
.lang-switcher.is-open svg {
	transform: rotate(180deg);
}
.lang-switcher__dropdown li a {
	display: block;
	padding: 6px 16px;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 14px;
	letter-spacing: -0.07em;
	color: var(--wp--preset--color--grey-700);
	text-decoration: none;
	transition: background 0.15s;
}
.lang-switcher__dropdown li a:hover {
	background: #F0F4FF;
}

/* --- Hero --- */
.hero {
	overflow: clip;
	overflow-clip-margin: 40px;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	max-width: 1728px;
	margin: 0 auto;
	min-height: 580px;
}

/* Text column */
.hero__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	padding: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px) clamp(40px, 5vw, 72px) clamp(72px, calc((100vw - 1168px) / 2 + 72px), 352px);
	z-index: 2;
}

.hero__title {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 900;
	font-size: clamp(28px, 2.5vw, 38px);
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-700);
	margin: 0;
}

/* Highlighted words — CSS parallelogram matching Figma shape */
.hero__hl {
	position: relative;
	z-index: 1;
}
.hero__hl::before {
	content: '';
	position: absolute;
	left: -6px;
	right: -6px;
	bottom: 0;
	height: 43px;
	transform: skewX(-4deg);
	border-radius: 2px;
	z-index: -1;
}
.hero__hl--apricot::before {
	background: #FFE98C;
}
.hero__hl--blue::before {
	background: #E3F3FF;
}

.hero__subtitle {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-700);
	max-width: 420px;
	margin: 0;
}

/* Buttons */
.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: -0.09em;
	line-height: 1.5;
	border-radius: 80px;
	padding: 12px 16px;
	text-decoration: none;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}
.hero__btn:hover { opacity: 0.85; }

.hero__btn--blue {
	background: var(--wp--preset--color--blue-500);
	color: #fff;
}
.hero__btn--blue img { filter: brightness(0) invert(1); }

.hero__btn--apricot {
	background: var(--wp--preset--color--apricot-200);
	color: var(--wp--preset--color--grey-700);
}

/* Trust / reassurance line */
.hero__trust {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hero__trust-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--wp--preset--color--blue-50);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hero__trust-text {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: -0.09em;
	line-height: 1.5;
	color: var(--wp--preset--color--grey-600);
}

/* Image column — Figma photo clipped to ellipse + SVG icon overlays */
.hero__media {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: visible;
	padding-bottom: 40px;
}

.hero__img {
	width: 100%;
	max-width: none;
	height: auto;
	margin-top: -6%;
	margin-right: 0%;
	object-fit: cover;
}

/* Floating SVG icons — positioned relative to the media container */
.hero__float {
	position: absolute;
	z-index: 2;
}

.hero__float--apricot {
	width: clamp(64px, 6vw, 107px);
	height: auto;
	top: 8%;
	left: 13%;
}

.hero__float--blue {
	width: clamp(60px, 5.5vw, 101px);
	height: auto;
	bottom: 0%;
	right: 46%;
	z-index: 3;
}

/* Hero responsive */
@media (max-width: 1024px) {
	.hero__img {
		max-width: 360px;
	}

	.hero__float {
		display: none;
	}

	.hero__buttons {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	/* Hero container */
	.hero {
		overflow: hidden;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.hero__media {
		display: none;
	}

	.hero__text {
		padding: 32px 24px 80px;
		background-image: linear-gradient(rgba(240,244,255,0.82), rgba(230,238,255,0.65)), url('../images/hero-photo.webp');
		background-size: cover;
		background-position: center right;
	}

	/* Title (H1) */
	.hero__title {
		font-weight: 900;
		font-size: 30px;
		line-height: 1.7em;
		letter-spacing: -0.09em;
		color: #3C4666;
		text-align: left;
	}

	/* Subtitle */
	.hero__subtitle {
		font-size: 18px;
		font-weight: 400;
		line-height: 1.7;
		color: #3C4666;
		margin-top: 16px;
	}

	.hero__btn {
		display: inline-flex;
		width: auto;
		justify-content: center;
		padding: 12px 16px;
		border-radius: 80px;
		font-size: 14px;
		font-weight: 700;
	}

	.hero__btn--blue {
		background: #3472A9;
		color: #fff;
	}
	.hero__btn--blue img {
		filter: brightness(0) invert(1);
	}

	.hero__btn--apricot {
		background: #FFBA41;
		color: #3C4666;
	}

	/* Trust line */
	.hero__trust-text {
		font-size: 12px;
		color: #4C5575;
	}

	.hero__trust-icon {
		width: 32px;
		height: 32px;
		background: #E3F3FF;
		border-radius: 80px;
		padding: 8px;
	}

	/* Hide floating icons */
	.hero__float--apricot,
	.hero__float--blue {
		display: none;
	}

	/* Hide desktop nav, show only burger */
	.site-header .wp-block-navigation {
		display: none !important;
	}
	.site-header .header-nav-group .wp-block-buttons {
		display: none !important;
	}
	/* Lang switcher: show on mobile, fixed top-right */
	.site-header .lang-switcher {
		position: fixed;
		top: 0;
		right: 16px;
		height: 72px;
		display: flex;
		align-items: center;
		z-index: 200;
	}
}

/* --- Reassurance Section --- */
.reassurance {
	padding: 0;
}

.reassurance__heading {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 0 24px;
	margin-bottom: 0;
}

.reassurance__heading h2 {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: clamp(1.75rem, 1.5rem + 1vw, 2.125rem);
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-700);
	margin: 0;
}

.reassurance__heading p {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-800);
	max-width: 601px;
	margin: 0;
}

.reassurance__cards {
	display: flex;
	gap: 24px;
	padding: 40px clamp(24px, calc((100vw - 1168px) / 2), 280px) 0;
}

.reassurance__card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	padding: 16px 16px 24px;
	background: #fff;
	border-radius: 40px;
}

.reassurance__icon {
	width: 48px;
	height: 48px;
}

.reassurance__title {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.09em;
	line-height: 1.5;
	color: var(--wp--preset--color--grey-700);
	margin: 0;
}

.reassurance__desc {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-500);
	margin: -4px 0 0;
}

/* Reassurance responsive */
@media (max-width: 1024px) {
	.reassurance__cards {
		flex-direction: column;
		align-items: stretch;
	}

	.reassurance__card {
		max-width: 100%;
		width: 100%;
	}
}

/* --- Benefits Cards --- */
.benefits {
	padding: 0 clamp(24px, calc((100vw - 1168px) / 2), 280px) 80px;
}

.benefits__cards {
	display: flex;
	gap: 24px;
}

.benefits__card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 16px 16px 24px;
	background: #fff;
	border-radius: 40px;
}

.benefits__icon {
	width: 48px;
	height: 48px;
}

.benefits__text {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.benefits__title {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	text-align: center;
	color: var(--wp--preset--color--grey-700);
	margin: 0;
}

.benefits__desc {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	text-align: center;
	color: var(--wp--preset--color--grey-500);
	margin: 0;
}

@media (max-width: 1024px) {
	.benefits__cards {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.benefits__card {
		max-width: 100%;
		width: auto;
	}
}

/* --- Section Headings Block --- */
.block-heading {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.block-heading h2 {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: clamp(1.75rem, 1.5rem + 1vw, 2.125rem);
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-700);
}

.block-heading p {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-800);
	max-width: 601px;
}

/* --- Contact Means (small cards row) --- */
.contact-means {
	display: flex;
	gap: 24px;
	padding: 40px 280px 0;
}

.contact-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	padding: 24px;
	background: var(--wp--preset--color--blue-25);
	border-radius: 16px;
}

.contact-card .card-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-card h3 {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.09em;
	line-height: 1.5;
	margin: 0;
}

.contact-card p {
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-600);
}

/* --- Split Screen (Buy/Sell) --- */
.split-screen {
	display: flex;
	gap: 40px;
	padding: 0 280px;
}

.split-card {
	flex: 1;
	border-radius: 24px;
	padding: 48px 40px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	position: relative;
	overflow: hidden;
}

.split-card.sell {
	background: var(--wp--preset--color--apricot-25);
}

.split-card.buy {
	background: var(--wp--preset--color--blue-25);
}

.split-card h3 {
	font-size: clamp(1.625rem, 1.5rem + 0.5vw, 1.875rem);
}

.split-card .features-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.split-card .feature-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.split-card .feature-item .check-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Pack (combined offer) */
.pack-card {
	background: linear-gradient(135deg, var(--wp--preset--color--apricot-25) 0%, var(--wp--preset--color--blue-25) 100%);
	border-radius: 24px;
	padding: 48px 40px;
	margin: 0 280px;
	display: flex;
	gap: 40px;
	align-items: center;
}

/* --- Vehicle Carousel --- */
.vehicle-carousel-section {
	position: relative;
	width: 100%;
	height: 870px;
	overflow: hidden;
}

.vehicle-carousel-section .section-title {
	position: absolute;
	top: 0;
	left: 280px;
	background: #fff;
	border-radius: 0 0 8px 8px;
	padding: 16px 24px;
	z-index: 2;
}

.vehicle-carousel {
	position: absolute;
	top: 155px;
	left: 280px;
	width: 1168px;
	height: 640px;
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.vehicle-carousel::-webkit-scrollbar {
	display: none;
}

.vehicle-card {
	flex: 0 0 370px;
	scroll-snap-align: start;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
}

.vehicle-card .card-image {
	height: 240px;
	overflow: hidden;
}

.vehicle-card .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vehicle-card .card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.vehicle-card .card-body h4 {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -0.09em;
	margin: 0;
}

.vehicle-card .card-specs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.vehicle-card .spec-badge {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 12px;
	letter-spacing: -0.09em;
	padding: 4px 10px;
	border-radius: 80px;
	background: var(--wp--preset--color--grey-50);
	color: var(--wp--preset--color--grey-600);
}

.vehicle-card .card-price {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 22px;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-900);
	margin-top: auto;
}

/* --- Testimonials --- */
.testimonials-section {
	padding: 120px 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}

.testimonials-section.bg-blue {
	background: var(--wp--preset--color--blue-25);
}

.testimonials-section.bg-grey {
	background: var(--wp--preset--color--grey-50);
}

.testimonials-grid {
	display: flex;
	gap: 40px;
	width: 100%;
}

.testimonial-card {
	flex: 1;
	background: #fff;
	border-radius: 16px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.testimonial-card .stars {
	display: flex;
	gap: 4px;
	color: var(--wp--preset--color--apricot-200);
}

.testimonial-card .quote {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-700);
	flex: 1;
}

.testimonial-card .author {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-800);
}

/* FAQ Testimonials (vertical list) */
.testimonials-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 1032px;
}

/* --- FAQ Accordion --- */
.faq-section {
	padding: 80px 280px;
}

.faq-section details {
	border-bottom: 1px solid var(--wp--preset--color--grey-50);
	padding: 20px 0;
}

.faq-section details summary {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-800);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
}

.faq-section details summary::-webkit-details-marker {
	display: none;
}

.faq-section details summary::after {
	content: '+';
	font-size: 24px;
	font-weight: 300;
	color: var(--wp--preset--color--grey-400);
	transition: transform 0.3s ease;
}

.faq-section details[open] summary::after {
	content: '−';
	transform: rotate(180deg);
}

.faq-section details .wp-block-details__content,
.faq-section details > *:not(summary) {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-600);
	padding: 0 0 16px;
}

/* FAQ open/close transitions are handled by faq-accordion.js */

/* --- Contact Info Section --- */
.contact-info-section {
	position: relative;
	padding: 120px 280px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 40px;
}

.contact-info-section .contact-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.contact-info-section .contact-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-info-section .contact-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(236, 243, 255, 0) 16%, rgba(236, 243, 255, 1) 50%);
}

.contact-info-section .contact-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding-left: 32px;
}

/* --- Footer --- */
.site-footer {
	background: var(--wp--preset--color--grey-800);
	padding-top: 80px;
}

.footer-links {
	display: flex;
	gap: 32px;
	padding: 16px 280px;
	overflow: hidden;
}

.footer-logo {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 32px;
}

.footer-logo img {
	width: 96px;
	height: auto;
}
.footer-social {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}
.footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.7;
	transition: opacity 0.2s;
}
.footer-social a:hover {
	opacity: 1;
}

.footer-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-column .footer-heading {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 18.5px;
	letter-spacing: -0.09em;
	line-height: 1.5;
	color: var(--wp--preset--color--grey-400);
	margin: 0;
}

.footer-column ul {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	display: flex;
	flex-direction: column;
}

.footer-column ul li a {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 14px;
	letter-spacing: -0.09em;
	line-height: 1.5;
	color: #CFD6F9;
	text-decoration: none;
	padding: 8px 0;
	display: block;
	transition: color 0.2s;
}

.footer-column ul li a:hover {
	color: #fff;
}

.footer-wheel {
	position: absolute;
	left: -133px;
	top: 47px;
	width: 265px;
	height: 263px;
	opacity: 0.5;
}

.footer-legal {
	background: var(--wp--preset--color--grey-900);
	padding: 24px 280px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-legal-links {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-legal a,
.footer-legal span {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 14px;
	letter-spacing: -0.09em;
	line-height: 1.5;
	color: #B3BBDF;
	text-decoration: none;
}

.footer-legal .separator {
	color: var(--wp--preset--color--grey-700);
}

.footer-legal a:hover {
	color: #fff;
}

/* --- Comparison Table --- */
.comparison-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 16px;
	overflow: hidden;
	font-family: var(--wp--preset--font-family--lexend-exa);
	letter-spacing: -0.09em;
}

.comparison-table th,
.comparison-table td {
	padding: 16px 24px;
	text-align: left;
	font-size: 14px;
}

.comparison-table thead th {
	background: var(--wp--preset--color--grey-800);
	color: #fff;
	font-weight: 700;
}

.comparison-table tbody tr:nth-child(even) {
	background: var(--wp--preset--color--grey-50);
}

.comparison-table tbody td {
	color: var(--wp--preset--color--grey-700);
}

/* --- Mobile Navigation Overlay --- */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	z-index: 200;
	position: fixed;
	top: 0;
	left: 16px;
	height: 72px;
	justify-content: center;
}

.mobile-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--wp--preset--color--grey-900);
	transition: all 0.3s ease;
}

.mobile-nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: #fff;
	z-index: 150;
	flex-direction: column;
	padding: 96px 24px 24px;
}

.mobile-nav-overlay.is-open {
	display: flex;
}

.mobile-nav-overlay a {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.09em;
	color: var(--wp--preset--color--grey-900);
	text-decoration: none;
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--grey-50);
}

/* --- Responsive --- */

/* Responsive padding — adapt all sections using 280px to viewport */
@media (max-width: 1440px) {
	.footer-links,
	.footer-legal,
	.contact-means,
	.split-screen,
	.pack-card,
	.faq-section,
	.testimonials-section,
	.contact-info-section,
	.vehicle-carousel-section .section-title,
	.block-heading {
		padding-left: max(24px, calc((100vw - 1168px) / 2));
		padding-right: max(24px, calc((100vw - 1168px) / 2));
	}

	.vehicle-carousel {
		left: max(24px, calc((100vw - 1168px) / 2));
		width: calc(100vw - max(48px, 100vw - 1168px));
	}

	.vehicle-carousel-section .section-title {
		left: max(24px, calc((100vw - 1168px) / 2));
	}
}

@media (max-width: 1024px) {
	.split-screen,
	[style*="padding:0 280px"],
	[style*="padding: 0 280px"] {
		flex-direction: column;
		padding-left: 16px;
		padding-right: 16px;
	}

	.testimonials-grid {
		flex-direction: column;
		gap: 24px;
	}

	.pack-card,
	[style*="padding:0 280px;display:flex;justify-content:center"] {
		flex-direction: column;
		padding-left: 16px;
		padding-right: 16px;
	}

	.site-header {
		padding: 16px 16px;
		height: 72px;
		justify-content: center;
		background: #fff;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 100;
		transition: transform 0.3s ease;
	}
	.site-header.header--hidden {
		transform: translateY(-100%);
	}
	.mobile-menu-toggle {
		transition: transform 0.3s ease;
	}
	.mobile-menu-toggle.header--hidden {
		transform: translateY(-100%);
	}
	/* Offset body content for fixed header */
	.wp-block-template-part:first-child {
		margin-bottom: 72px;
	}

	/* Hide desktop CTA button on mobile */
	.site-header .header-cta {
		display: none !important;
	}

	.mobile-menu-toggle {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}

	.contact-means {
		flex-direction: column;
		padding: 40px 16px 0;
	}

	.vehicle-carousel-section {
		height: auto;
		min-height: 600px;
	}

	.vehicle-carousel-section .section-title {
		position: relative;
		left: 0;
		padding: 16px 24px;
	}

	.vehicle-carousel {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		padding: 0 16px;
	}

	.vehicle-card {
		flex: 0 0 280px;
	}

	.testimonials-section,
	.faq-section,
	.contact-info-section {
		padding: 60px 16px;
	}

	.footer-legal {
		flex-direction: column;
		gap: 16px;
		padding: 16px;
		text-align: left;
		align-items: stretch;
	}

	.footer-legal-links {
		flex-direction: column;
		gap: 8px;
		align-items: flex-start;
	}

	.footer-legal .separator {
		display: none;
	}

	.footer-legal > p {
		text-align: center;
	}

	.footer-wheel {
		display: none;
	}

	.site-footer {
		padding-top: 40px;
	}

	.footer-links {
		padding: 16px;
		gap: 32px;
	}

	.footer-column .footer-heading {
		font-size: 18.5px;
	}

	.footer-column ul li a {
		padding: 4px 0;
	}

	/* Fix all inline 280px paddings */
	[style*="280px"] {
		padding-left: 16px;
		padding-right: 16px;
	}

	[style*="left:280px"],
	[style*="left: 280px"] {
		left: 16px;
	}

	.block-heading h2 {
		font-size: 28px;
	}

	.reassurance__cards {
		padding-left: 16px;
		padding-right: 16px;
	}

	.benefits {
		padding-left: 16px;
		padding-right: 16px;
	}

	.block-heading {
		padding-left: 16px;
		padding-right: 16px;
	}

	/* ── Full-width mobile blocks ── */
	.hero__subtitle {
		max-width: 100%;
		width: 100%;
	}

	/* ALL sections full width padding */
	.sell-mandat, .sell-rachat, .sell-compare, .sell-hero,
	.testi, .contact, .contact-centered, .faq-section,
	.faq, .sell-faq, .buy-faq {
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Contact section mobile: white bg, no background image */
	.contact {
		background-image: none;
		background: #fff;
		justify-content: center;
	}

	/* Contact means: stacked vertically, each card full width */
	.contact__means {
		display: flex;
		flex-direction: column;
		gap: 16px;
		width: 100%;
	}
	.contact__card {
		width: 100%;
		max-width: 100%;
	}

	/* Contact heading mobile */
	.contact__heading h2 {
		font-size: 26px;
		text-align: center;
	}
	.contact__heading p {
		text-align: center;
		font-size: 16px;
	}
	.contact__inner {
		padding-left: 0;
		width: 100%;
	}

	/* Contact agency map */
	.contact__agency-map {
		height: 133px;
	}
	.contact__agency {
		width: 100%;
		max-width: 100%;
	}
	.contact__agency-cols {
		flex-direction: column;
	}

	/* Reassurance cards full width */
	.reassurance__card {
		max-width: 100%;
		width: 100%;
	}

	.reassurance__cards {
		padding: 0 16px;
	}

	/* Benefits cards 2x2 grid */
	.benefits__card {
		max-width: 100%;
		width: auto;
	}

	/* Testimonials cards full width */
	.testi__card {
		max-width: 100%;
		width: 100%;
	}

	/* Footer: stack columns vertically */
	.footer-links {
		flex-direction: column;
		padding: 16px;
	}
	.site-footer .wp-block-group.is-layout-flex {
		flex-direction: column;
		gap: 24px;
	}
	.site-footer .footer-column,
	.site-footer .footer-logo {
		width: 100%;
	}

	/* Remove ALL max-width constraints on cards */
	.reassurance__card,
	.benefits__card,
	.testi__card,
	.contact__card,
	.contact__agency,
	.sell-compare__table-wrap {
		max-width: 100%;
		width: 100%;
	}

	/* All card border-radius 40px on mobile */
	.reassurance__card,
	.benefits__card,
	.testi__card,
	.contact__card {
		border-radius: 40px;
	}
}

/* --- Utility --- */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

/* Skip to content */
.skip-to-content {
	position: absolute;
	top: -100%;
	left: 16px;
	z-index: 999;
	padding: 12px 24px;
	background: var(--wp--preset--color--grey-900);
	color: #fff;
	border-radius: 0 0 8px 8px;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-size: 14px;
	letter-spacing: -0.09em;
	text-decoration: none;
}

.skip-to-content:focus {
	top: 0;
}

/* --- Contact Shared Styles (used by both contact-section and contact-section-centered) --- */
.contact__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding-left: 32px;
}
.contact__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	align-self: stretch;
}
.contact__heading h2 {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 34px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	text-align: center;
	color: #3C4666;
	margin: 0;
}
.contact__heading p {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	text-align: center;
	color: #22293E;
	max-width: 601px;
	margin: 0;
}
.contact__means {
	display: flex;
	gap: 24px;
}
.contact__card {
	width: 214px;
	background: #fff;
	border-radius: 40px;
	padding: 16px 16px 24px;
	box-shadow: 8px 16px 48px -24px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.contact__card-content {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: 12px;
}
.contact__card-text {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	text-align: center;
}
.contact__card-title {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #3C4666;
}
.contact__card-sub {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #646D90;
}
.contact__card-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	padding: 7px 10px;
	border: 1px solid #B3BBDF;
	border-radius: 80px;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #3C4666;
	text-decoration: none;
	transition: background 0.2s;
	white-space: nowrap;
}
.contact__card-btn:hover {
	background: #ECF3FF;
}
.contact__agency {
	width: 690px;
	max-width: 100%;
	background: #fff;
	border-radius: 40px;
	padding: 24px;
	box-shadow: 8px 16px 48px -24px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.contact__agency-cols {
	display: flex;
	gap: 16px;
}
.contact__agency-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.contact__agency-label {
	display: flex;
	align-items: center;
	gap: 8px;
}
.contact__agency-label img {
	width: 24px;
	height: 24px;
}
.contact__agency-label span {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #3C4666;
}
.contact__agency-address {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: #646D90;
	margin: 0;
}
.contact__hours {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.contact__hours-row {
	display: flex;
	gap: 8px;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #646D90;
}
.contact__hours-row span:first-child {
	flex: 1;
}
.contact__agency-map {
	width: 100%;
	height: 246px;
	border-radius: 24px;
	display: block;
}
@media (max-width: 1024px) {
	.contact__means {
		display: flex;
		flex-direction: column;
		gap: 16px;
		width: 100%;
	}
	.contact__inner {
		padding-left: 0;
	}
	.contact__heading h2 {
		font-size: 26px;
		text-align: center;
	}
	.contact__heading p {
		text-align: center;
		font-size: 16px;
	}
	.contact__card {
		width: 100%;
		max-width: 100%;
	}
	.contact__agency {
		width: 100%;
		max-width: 100%;
	}
	.contact__agency-cols {
		flex-direction: column;
	}
	.contact__agency-map {
		height: 133px;
	}
}

/* --- Hook Section (shared between sell and buy pages) --- */
.sell-hook {
	background: #ECF3FF;
	padding: 80px 348px;
	display: flex;
	align-items: center;
}
.sell-hook__cols {
	display: flex;
	align-items: center;
	gap: 19px;
	max-width: 1032px;
	margin: 0 auto;
}
.sell-hook__cols h2 {
	flex: 1;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 34px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #3C4666;
	margin: 0;
}
.sell-hook__cols p {
	flex: 1;
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #646D90;
	margin: 0;
}
@media (max-width: 1440px) {
	.sell-hook {
		padding-left: max(24px, calc((100vw - 1032px) / 2));
		padding-right: max(24px, calc((100vw - 1032px) / 2));
	}
}
@media (max-width: 1024px) {
	.sell-hook {
		padding: 48px 24px;
	}
	.sell-hook__cols {
		flex-direction: column;
		gap: 16px;
	}
	.sell-hook__cols h2 {
		font-size: 24px;
	}
	.sell-hook__cols p {
		font-size: 16px;
	}
}

/* --- Page (content/legal pages) --- */
/* Push footer to bottom on short pages */
.page-hero + .page-content {
	flex: 1;
}
main:has(.page-hero) {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - 96px);
}

.page-hero {
	display: flex;
	justify-content: flex-start;
	padding: 80px 348px;
	background: #fff;
}
.page-hero h1 {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 38px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #3C4666;
	text-align: left;
	margin: 0;
}
.page-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 348px 80px;
	gap: 32px;
}
.page-content .wp-block-post-content {
	max-width: 1028px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 32px;
	text-align: left;
}
.page-content .wp-block-post-content h2 {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 700;
	font-size: 30px;
	line-height: 1.5;
	letter-spacing: -0.09em;
	color: #3C4666;
	margin: 0;
}
.page-content .wp-block-post-content p {
	font-family: var(--wp--preset--font-family--lexend-exa);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.7;
	letter-spacing: -0.09em;
	color: #646D90;
	margin: -16px 0 0;
}
.page-content .wp-block-post-content h2 + p {
	margin-top: -8px;
}

@media (max-width: 1440px) {
	.page-hero,
	.page-content {
		padding-left: max(24px, calc((100vw - 1028px) / 2));
		padding-right: max(24px, calc((100vw - 1028px) / 2));
	}
}
@media (max-width: 1024px) {
	.page-hero {
		padding: 48px 24px;
	}
	.page-hero h1 {
		font-size: 28px;
	}
	.page-content {
		padding: 0 24px 60px;
	}
	.page-content .wp-block-post-content h2 {
		font-size: 22px;
	}
	.page-content .wp-block-post-content p {
		font-size: 16px;
	}
}
