/**
 * DBF Transport Design System
 * Colors and type use Kadence global CSS variables where possible.
 */

:root {
	--dbf-bg: #0a0c0e;
	--dbf-bg-2: #14171a;
	--dbf-surface: #1e2329;
	--dbf-text: #ffffff;
	--dbf-text-2: #c7c7c7;
	--dbf-muted: #8b8b8b;
	--dbf-accent: #c5b08a;
	--dbf-border: rgba(255, 255, 255, 0.08);
	--dbf-radius-card: 20px;
	--dbf-radius-image: 24px;
	--dbf-radius-form: 16px;
	--dbf-radius-btn: 999px;
	--dbf-max: 1280px;
	--dbf-narrow: 850px;
	--dbf-space: clamp(4.375rem, 8vw, 7.5rem);
}

/* ---------- Base ---------- */
body.dbf-site,
body.dbf-site .site,
body.dbf-site #wrapper,
body.dbf-site #inner-wrap,
body.dbf-site .content-bg,
body.dbf-site .entry-content-wrap {
	background-color: var(--dbf-bg) !important;
	color: var(--dbf-text-2);
}

/* Kadence block polish — keep premium look while content stays editable */
body.dbf-site .kb-row-layout-wrap,
body.dbf-site .kt-row-layout-inner {
	color: var(--dbf-text-2);
}

/* Desktop primary nav — slightly more space between titles */
@media (min-width: 1025px) {
	body.dbf-site #site-navigation.header-navigation .menu > .menu-item > a {
		padding-left: 1.05rem !important;
		padding-right: 1.05rem !important;
	}
}

body.dbf-site .dbf-k-hero .kt-adv-heading,
body.dbf-site .dbf-k-hero h1,
body.dbf-site .dbf-k-hero .dbf-hero-copy__title {
	font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
	line-height: 1.05 !important;
	font-weight: 800 !important;
	max-width: 14ch;
	color: #fff !important;
	margin: 0 0 1rem !important;
	font-family: Manrope, sans-serif;
}

body.dbf-site .dbf-k-hero .dbf-hero-copy {
	position: relative;
	display: grid;
	margin-bottom: 1.75rem;
}

body.dbf-site .dbf-k-hero .dbf-hero-copy__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.dbf-site .dbf-k-hero .dbf-hero-copy__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

body.dbf-site .dbf-k-hero .dbf-hero-copy__text {
	margin: 0;
	max-width: 42ch;
	color: var(--dbf-text-2) !important;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.6;
}

/*
 * Hero CTAs — primary button + deliberate secondary text link.
 * Stacked so the secondary sits under the primary.
 */
body.dbf-site .dbf-k-hero .kb-buttons-wrap {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
}

body.dbf-site .dbf-k-hero .kb-buttons-wrap > .kb-button:last-child,
body.dbf-site .dbf-k-hero .kb-buttons-wrap > .wp-block-kadence-singlebtn:last-child {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	line-height: 1.35 !important;
	font-size: 0.9375rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em;
	color: rgba(245, 240, 230, 0.92) !important;
	text-decoration: none !important;
	transform: none !important;
}

body.dbf-site .dbf-k-hero .kb-buttons-wrap > .kb-button:last-child .kt-btn-inner-text,
body.dbf-site .dbf-k-hero .kb-buttons-wrap > .wp-block-kadence-singlebtn:last-child .kt-btn-inner-text {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
}

body.dbf-site .dbf-k-hero .kb-buttons-wrap > .kb-button:last-child .kt-btn-inner-text::after,
body.dbf-site .dbf-k-hero .kb-buttons-wrap > .wp-block-kadence-singlebtn:last-child .kt-btn-inner-text::after {
	content: "→";
	display: inline-block;
	transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
	body.dbf-site .dbf-k-hero .kb-buttons-wrap > .kb-button:last-child:hover,
	body.dbf-site .dbf-k-hero .kb-buttons-wrap > .wp-block-kadence-singlebtn:last-child:hover {
		color: var(--dbf-accent, #c5b08a) !important;
		background: transparent !important;
	}

	body.dbf-site .dbf-k-hero .kb-buttons-wrap > .kb-button:last-child:hover .kt-btn-inner-text::after,
	body.dbf-site .dbf-k-hero .kb-buttons-wrap > .wp-block-kadence-singlebtn:last-child:hover .kt-btn-inner-text::after {
		transform: translateX(4px);
	}
}

/* Mobile homepage hero: per-slide focal points + stable CTA placement */
@media (max-width: 767px) {
	/* Keep CTA group at a consistent offset under the copy block */
	body.dbf-front .dbf-k-hero .dbf-hero-copy {
		min-height: 10.75rem;
		margin-bottom: 1.35rem;
	}

	body.dbf-site .dbf-k-hero .kb-buttons-wrap {
		gap: 0.7rem;
	}

	/* Slide 1 — keep near current center crop */
	body.dbf-front .dbf-k-hero .kb-bg-slide-0 {
		background-position: center center !important;
	}

	/* Slide 2 — coach + venue together */
	body.dbf-front .dbf-k-hero .kb-bg-slide-1 {
		background-position: 46% 40% !important;
	}

	/* Slide 3 — fleet + modern building; lift vehicles in frame */
	body.dbf-front .dbf-k-hero .kb-bg-slide-2 {
		background-position: 36% 64% !important;
	}

	/* Slide 4 — coach + illuminated venue; keep bus in frame */
	body.dbf-front .dbf-k-hero .kb-bg-slide-3 {
		background-position: 44% 46% !important;
	}
}

body.dbf-site .kb-info-box-wrap,
body.dbf-site .kt-info-box,
body.dbf-site [class*="kb-info-box-wrap"],
body.dbf-site [class*="kt-info-box"] {
	height: 100%;
	display: flex;
	flex-direction: column;
}

body.dbf-site .kt-blocks-info-box-link-wrap {
	border: 1px solid var(--dbf-border) !important;
	border-radius: var(--dbf-radius-card) !important;
	background: var(--dbf-surface) !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto;
	text-decoration: none !important;
	color: inherit !important;
	transition: transform 0.25s ease, border-color 0.25s ease;
	padding: 1.75rem !important;
	box-sizing: border-box;
}

body.dbf-site .kt-blocks-info-box-link-wrap:hover,
body.dbf-site .kt-blocks-info-box-link-wrap:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(197, 176, 138, 0.35) !important;
	outline: none;
}

body.dbf-site .kt-blocks-info-box-link-wrap:focus-visible {
	box-shadow: 0 0 0 2px var(--dbf-accent);
}

body.dbf-site .kt-infobox-textcontent {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto;
	height: 100%;
}

body.dbf-site .kt-blocks-info-box-title {
	margin: 0 0 0.75rem !important;
	color: #fff !important;
}

body.dbf-site .kt-blocks-info-box-text {
	margin: 0 0 1.25rem !important;
	color: var(--dbf-text-2) !important;
	flex: 1 1 auto;
}

body.dbf-site .kt-blocks-info-box-learnmore-wrap {
	margin-top: auto !important;
	padding-top: 0.5rem;
}

body.dbf-site .kt-blocks-info-box-learnmore {
	color: var(--dbf-accent) !important;
	font-family: Manrope, sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
}

/* Equal-height columns in card grids */
body.dbf-site .dbf-card-grid .kt-row-column-wrap,
body.dbf-site .dbf-service-grid .kt-row-column-wrap,
body.dbf-site .dbf-challenges-grid .kt-row-column-wrap,
body.dbf-site .dbf-process-grid .kt-row-column-wrap,
body.dbf-site .dbf-divisions .kt-row-column-wrap {
	align-items: stretch !important;
}

body.dbf-site .dbf-card-grid .wp-block-kadence-column,
body.dbf-site .dbf-service-grid .wp-block-kadence-column,
body.dbf-site .dbf-challenges-grid .wp-block-kadence-column,
body.dbf-site .dbf-process-grid .wp-block-kadence-column,
body.dbf-site .dbf-divisions .wp-block-kadence-column {
	display: flex !important;
	flex-direction: column;
	min-width: 0;
}

body.dbf-site .dbf-card-grid .kt-inside-inner-col,
body.dbf-site .dbf-service-grid .kt-inside-inner-col,
body.dbf-site .dbf-challenges-grid .kt-inside-inner-col,
body.dbf-site .dbf-process-grid .kt-inside-inner-col,
body.dbf-site .dbf-divisions .kt-inside-inner-col {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto;
	height: 100%;
}

/* Service overview: one grid of 6 → 3 / 2 / 1 across breakpoints */
@media (min-width: 1025px) {
	body.dbf-site .dbf-service-grid .kt-row-column-wrap.kt-has-6-columns,
	body.dbf-site .dbf-services-overview .kt-row-column-wrap.kt-has-6-columns {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/*
 * Tablet portrait (721–1024): one standard card rhythm —
 * 2 equal columns, equal heights, shared padding.
 * (Overrides Kadence tab-layout-row stacking + service-only 2-col.)
 */
@media (min-width: 721px) and (max-width: 1024px) {
	body.dbf-site .dbf-card-grid .kt-row-column-wrap,
	body.dbf-site .dbf-service-grid .kt-row-column-wrap,
	body.dbf-site .dbf-challenges-grid .kt-row-column-wrap,
	body.dbf-site .dbf-process-grid .kt-row-column-wrap,
	body.dbf-site .dbf-divisions .kt-row-column-wrap,
	body.dbf-site .dbf-services-overview .kt-row-column-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: stretch !important;
		grid-auto-rows: 1fr;
		row-gap: 1.25rem !important;
		column-gap: 1.25rem !important;
	}

	body.dbf-site .dbf-card-grid .wp-block-kadence-column,
	body.dbf-site .dbf-service-grid .wp-block-kadence-column,
	body.dbf-site .dbf-challenges-grid .wp-block-kadence-column,
	body.dbf-site .dbf-process-grid .wp-block-kadence-column,
	body.dbf-site .dbf-divisions .wp-block-kadence-column,
	body.dbf-site .dbf-services-overview .wp-block-kadence-column {
		display: flex !important;
		flex-direction: column;
		height: 100%;
		min-width: 0;
	}

	body.dbf-site .dbf-card-grid .kt-inside-inner-col,
	body.dbf-site .dbf-service-grid .kt-inside-inner-col,
	body.dbf-site .dbf-challenges-grid .kt-inside-inner-col,
	body.dbf-site .dbf-process-grid .kt-inside-inner-col,
	body.dbf-site .dbf-divisions .kt-inside-inner-col,
	body.dbf-site .dbf-services-overview .kt-inside-inner-col {
		display: flex !important;
		flex-direction: column !important;
		flex: 1 1 auto;
		height: 100% !important;
	}

	body.dbf-site .dbf-card-grid .kt-row-column-wrap.kt-tab-layout-row > .wp-block-kadence-column > .kt-inside-inner-col,
	body.dbf-site .dbf-service-grid .kt-row-column-wrap.kt-tab-layout-row > .wp-block-kadence-column > .kt-inside-inner-col,
	body.dbf-site .dbf-challenges-grid .kt-row-column-wrap.kt-tab-layout-row > .wp-block-kadence-column > .kt-inside-inner-col,
	body.dbf-site .dbf-process-grid .kt-row-column-wrap.kt-tab-layout-row > .wp-block-kadence-column > .kt-inside-inner-col,
	body.dbf-site .dbf-divisions .kt-row-column-wrap.kt-tab-layout-row > .wp-block-kadence-column > .kt-inside-inner-col,
	body.dbf-site .dbf-services-overview .kt-row-column-wrap.kt-tab-layout-row > .wp-block-kadence-column > .kt-inside-inner-col {
		height: 100% !important;
	}

	body.dbf-site .dbf-card-grid .kb-info-box-wrap,
	body.dbf-site .dbf-service-grid .kb-info-box-wrap,
	body.dbf-site .dbf-challenges-grid .kb-info-box-wrap,
	body.dbf-site .dbf-process-grid .kb-info-box-wrap,
	body.dbf-site .dbf-divisions .kb-info-box-wrap,
	body.dbf-site .dbf-services-overview .kb-info-box-wrap,
	body.dbf-site .dbf-card-grid .kt-blocks-info-box-link-wrap,
	body.dbf-site .dbf-service-grid .kt-blocks-info-box-link-wrap,
	body.dbf-site .dbf-challenges-grid .kt-blocks-info-box-link-wrap,
	body.dbf-site .dbf-process-grid .kt-blocks-info-box-link-wrap,
	body.dbf-site .dbf-divisions .kt-blocks-info-box-link-wrap,
	body.dbf-site .dbf-services-overview .kt-blocks-info-box-link-wrap {
		height: 100% !important;
		padding: 1.5rem !important;
		box-sizing: border-box;
	}

	body.dbf-site .dbf-process-grid .kt-blocks-info-box-link-wrap {
		padding: 1.5rem 1.35rem !important;
	}

	/* Plain process step cards (no info-box) */
	body.dbf-site .kt-row-column-wrap.kt-has-5-columns .kt-inside-inner-col:not(:has(.kt-blocks-info-box-link-wrap)) {
		height: 100% !important;
		padding: 1.5rem 1.35rem !important;
	}
}

@media (max-width: 720px) {
	body.dbf-site .dbf-service-grid .kt-row-column-wrap,
	body.dbf-site .dbf-card-grid .kt-row-column-wrap,
	body.dbf-site .dbf-challenges-grid .kt-row-column-wrap,
	body.dbf-site .dbf-process-grid .kt-row-column-wrap,
	body.dbf-site .dbf-divisions .kt-row-column-wrap,
	body.dbf-site .dbf-services-overview .kt-row-column-wrap {
		grid-template-columns: 1fr !important;
	}
}

body.dbf-site .dbf-services-intro .kt-adv-heading[data-kb-block] {
	max-width: 48ch;
	margin-left: auto;
	margin-right: auto;
}

body.dbf-site .dbf-services-viewall .kb-buttons-wrap {
	justify-content: center;
}

body.dbf-site .kt-accordion-wrap {
	border-color: var(--dbf-border);
}

body.dbf-site .kt-blocks-accordion-header {
	color: #fff !important;
	font-family: Manrope, sans-serif;
}

body.dbf-site .kt-accordion-panel-inner,
body.dbf-site .kt-accordion-panel-inner p {
	color: var(--dbf-text-2);
}

body.dbf-site .kb-form,
body.dbf-site .kb-form input,
body.dbf-site .kb-form select,
body.dbf-site .kb-form textarea {
	border-radius: 12px;
}

body.dbf-site .wp-block-latest-posts.is-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	padding: 0 1.25rem 4rem;
	max-width: var(--dbf-max);
	margin-inline: auto;
	list-style: none;
}

body.dbf-site .wp-block-latest-posts li {
	background: var(--dbf-surface);
	border: 1px solid var(--dbf-border);
	border-radius: var(--dbf-radius-card);
	padding: 1.5rem;
}

@media (max-width: 720px) {
	body.dbf-site .wp-block-latest-posts.is-grid {
		grid-template-columns: 1fr;
	}
}

body.dbf-site a {
	color: var(--dbf-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

body.dbf-site a:hover {
	color: #d4c09a;
}

body.dbf-site h1,
body.dbf-site h2,
body.dbf-site h3,
body.dbf-site h4,
body.dbf-site h5,
body.dbf-site h6,
body.dbf-site .entry-title {
	color: var(--dbf-text);
	letter-spacing: -0.02em;
}

body.dbf-site ::selection {
	background: rgba(197, 176, 138, 0.35);
	color: #fff;
}

/* Focus */
body.dbf-site :focus-visible {
	outline: 2px solid var(--dbf-accent);
	outline-offset: 3px;
}

/* ---------- Sections ---------- */
.dbf-section {
	padding-block: var(--dbf-space);
	position: relative;
}

.dbf-section--alt {
	background: var(--dbf-bg-2);
}

.dbf-container {
	width: min(100% - 2.5rem, var(--dbf-max));
	margin-inline: auto;
}

.dbf-container--narrow {
	width: min(100% - 2.5rem, var(--dbf-narrow));
}

.dbf-section-label {
	display: inline-block;
	font-family: Manrope, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dbf-accent);
	margin-bottom: 1rem;
}

.dbf-section-intro {
	max-width: 700px;
	color: var(--dbf-text-2);
	font-size: 1.0625rem;
	line-height: 1.7;
	margin-top: 1rem;
}

.dbf-section-head {
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.dbf-section-head--center {
	text-align: center;
	margin-inline: auto;
}

.dbf-section-head--center .dbf-section-intro {
	margin-inline: auto;
}

/* ---------- Hero ---------- */
.dbf-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	align-items: center;
	overflow: hidden;
	color: var(--dbf-text);
	isolation: isolate;
}

.dbf-hero--landing,
.dbf-hero--service {
	min-height: min(78vh, 720px);
}

.dbf-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.dbf-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.4s ease;
	background-size: cover;
	background-position: center;
	background-color: #1a1a1a;
}

.dbf-hero__slide.is-active {
	opacity: 1;
}

.dbf-hero__slide--1 {
	background-image:
		linear-gradient(135deg, #1a1a1a 0%, #2a2520 45%, #111 100%);
}

.dbf-hero__slide--2 {
	background-image:
		linear-gradient(160deg, #161616 0%, #242018 50%, #0e0e0e 100%);
}

.dbf-hero__slide--3 {
	background-image:
		linear-gradient(200deg, #121212 0%, #1e2228 55%, #0c0c0c 100%);
}

.dbf-hero__slide--4 {
	background-image:
		linear-gradient(180deg, #0f1218 0%, #1a1814 60%, #090909 100%);
}

.dbf-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(17, 17, 17, 0.55) 0%, rgba(17, 17, 17, 0.72) 45%, rgba(17, 17, 17, 0.92) 100%);
}

.dbf-hero__content {
	width: min(100% - 2.5rem, var(--dbf-max));
	margin-inline: auto;
	padding-block: 7rem 5rem;
}

.dbf-hero__title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.05;
	font-weight: 800;
	max-width: 14ch;
	margin: 0 0 1.25rem;
	color: #fff;
}

.dbf-hero__title span {
	display: block;
}

.dbf-hero__text {
	max-width: 650px;
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.7;
	color: var(--dbf-text-2);
	margin: 0 0 2rem;
}

.dbf-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
}

.dbf-hero__dots {
	display: flex;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

.dbf-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.28);
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}

.dbf-hero__dot[aria-current="true"] {
	background: var(--dbf-accent);
	transform: scale(1.25);
}

.dbf-scroll-indicator {
	position: absolute;
	left: 50%;
	bottom: 1.75rem;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--dbf-muted);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	animation: dbf-scroll-pulse 2.2s ease-in-out infinite;
}

.dbf-scroll-indicator::after {
	content: "";
	width: 1px;
	height: 36px;
	background: linear-gradient(to bottom, var(--dbf-accent), transparent);
}

@keyframes dbf-scroll-pulse {
	0%, 100% { opacity: 0.45; transform: translate(-50%, 0); }
	50% { opacity: 1; transform: translate(-50%, 6px); }
}

/* ---------- Buttons ---------- */
.dbf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.85rem 1.75rem;
	border-radius: var(--dbf-radius-btn);
	font-family: Manrope, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
	cursor: pointer;
}

.dbf-btn--primary {
	background: var(--dbf-accent);
	color: #111 !important;
	border-color: var(--dbf-accent);
}

.dbf-btn--primary:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
	color: #111 !important;
}

.dbf-btn--secondary {
	background: transparent;
	color: var(--dbf-accent) !important;
	border-color: var(--dbf-accent);
}

.dbf-btn--secondary:hover {
	background: var(--dbf-accent);
	color: #111 !important;
	transform: translateY(-2px);
}

.dbf-btn--ghost {
	background: transparent;
	color: var(--dbf-text) !important;
	border-color: var(--dbf-border);
}

.dbf-btn--ghost:hover {
	border-color: var(--dbf-accent);
	color: var(--dbf-accent) !important;
}

/* ---------- Cards ---------- */
.dbf-grid {
	display: grid;
	gap: 1.5rem;
}

.dbf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dbf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dbf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.dbf-card {
	background: var(--dbf-surface);
	border: 1px solid var(--dbf-border);
	border-radius: var(--dbf-radius-card);
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.dbf-card:hover {
	transform: translateY(-4px);
	border-color: rgba(197, 176, 138, 0.35);
}

.dbf-card__media {
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(145deg, #242424 0%, #1a1814 50%, #121212 100%);
	background-size: cover;
	background-position: center;
}

.dbf-card__body {
	padding: 1.5rem 1.5rem 1.75rem;
}

.dbf-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	color: #fff;
}

.dbf-card__text {
	margin: 0 0 1.25rem;
	color: var(--dbf-text-2);
	font-size: 0.975rem;
	line-height: 1.65;
}

.dbf-card--feature {
	padding: 1.75rem;
}

.dbf-card--feature .dbf-icon {
	width: 40px;
	height: 40px;
	margin-bottom: 1.25rem;
	color: var(--dbf-accent);
}

.dbf-card--feature h3 {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
}

.dbf-card--feature p {
	margin: 0;
	color: var(--dbf-text-2);
	font-size: 0.95rem;
	line-height: 1.65;
}

.dbf-split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.dbf-split__media {
	min-height: 360px;
	border-radius: var(--dbf-radius-image);
	border: 1px solid var(--dbf-border);
	background:
		linear-gradient(160deg, #222 0%, #1a1712 45%, #101010 100%);
}

.dbf-division-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
	padding: 2rem;
	border-radius: var(--dbf-radius-image);
	border: 1px solid var(--dbf-border);
	overflow: hidden;
	text-decoration: none !important;
	color: #fff !important;
	isolation: isolate;
}

.dbf-division-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(17,17,17,0.15), rgba(17,17,17,0.88));
}

.dbf-division-card--mobility {
	background:
		linear-gradient(180deg, rgba(17,17,17,0.2), rgba(17,17,17,0.9)),
		linear-gradient(135deg, #2a241c, #121212);
}

.dbf-division-card--freight {
	background:
		linear-gradient(180deg, rgba(17,17,17,0.2), rgba(17,17,17,0.9)),
		linear-gradient(145deg, #1c222a, #101010);
}

.dbf-division-card h3 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: #fff;
}

.dbf-division-card p {
	margin: 0 0 1.5rem;
	color: var(--dbf-text-2);
	max-width: 36ch;
}

/* ---------- Timeline ---------- */
.dbf-timeline {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
	counter-reset: dbf-step;
}

.dbf-timeline__step {
	position: relative;
	padding: 1.5rem 1.25rem;
	background: var(--dbf-surface);
	border: 1px solid var(--dbf-border);
	border-radius: var(--dbf-radius-card);
}

.dbf-timeline__step::before {
	counter-increment: dbf-step;
	content: "0" counter(dbf-step);
	display: block;
	font-family: Manrope, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--dbf-accent);
	margin-bottom: 1rem;
}

.dbf-timeline__step h3 {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
}

.dbf-timeline__step p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--dbf-text-2);
	line-height: 1.6;
}

/* ---------- FAQ ---------- */
.dbf-faq details {
	border-bottom: 1px solid var(--dbf-border);
	padding: 1.15rem 0;
}

.dbf-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
	font-family: Manrope, sans-serif;
	font-weight: 600;
	color: #fff;
	font-size: 1.05rem;
}

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

.dbf-faq summary::after {
	content: "+";
	color: var(--dbf-accent);
	font-size: 1.25rem;
	line-height: 1;
}

.dbf-faq details[open] summary::after {
	content: "–";
}

.dbf-faq details p {
	margin: 0.9rem 0 0;
	color: var(--dbf-text-2);
	max-width: 70ch;
	line-height: 1.7;
}

/* ---------- CTA ---------- */
.dbf-cta {
	padding-block: var(--dbf-space);
	background:
		radial-gradient(ellipse at top, rgba(197, 176, 138, 0.12), transparent 55%),
		var(--dbf-bg-2);
	border-block: 1px solid var(--dbf-border);
	text-align: center;
}

.dbf-cta h2 {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4vw, 3rem);
}

.dbf-cta p {
	margin: 0 auto 2rem;
	max-width: 42ch;
	color: var(--dbf-text-2);
}

.dbf-cta__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.875rem;
}

/* ---------- Coverage ---------- */
.dbf-coverage {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.dbf-coverage__map {
	aspect-ratio: 4 / 3;
	border-radius: var(--dbf-radius-image);
	border: 1px solid var(--dbf-border);
	background:
		radial-gradient(circle at 45% 40%, rgba(197, 176, 138, 0.18), transparent 28%),
		radial-gradient(circle at 58% 48%, rgba(197, 176, 138, 0.08), transparent 35%),
		linear-gradient(160deg, #1c1c1c, #121212);
	position: relative;
	overflow: hidden;
}

.dbf-coverage__map::before {
	content: "Belgium · Europe";
	position: absolute;
	inset: auto 1.5rem 1.5rem auto;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dbf-muted);
}

.dbf-coverage__map-svg {
	width: 70%;
	height: auto;
	margin: 12% auto 0;
	display: block;
	opacity: 0.55;
}

/* ---------- Forms ---------- */
.dbf-form {
	display: grid;
	gap: 1rem;
	background: var(--dbf-surface);
	border: 1px solid var(--dbf-border);
	border-radius: var(--dbf-radius-form);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.dbf-form label {
	display: grid;
	gap: 0.45rem;
	font-size: 0.875rem;
	color: var(--dbf-text-2);
	font-family: Manrope, sans-serif;
	font-weight: 500;
}

.dbf-form input,
.dbf-form select,
.dbf-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	border: 1px solid var(--dbf-border);
	background: #171717;
	color: #fff;
	font: inherit;
}

.dbf-form textarea {
	min-height: 140px;
	resize: vertical;
}

.dbf-form input:focus,
.dbf-form select:focus,
.dbf-form textarea:focus {
	border-color: var(--dbf-accent);
	outline: none;
}

.dbf-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.dbf-form__note {
	font-size: 0.8rem;
	color: var(--dbf-muted);
	margin: 0;
}

/* ---------- Article cards ---------- */
.dbf-article-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none !important;
	color: inherit !important;
}

.dbf-article-card .dbf-card__meta {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dbf-accent);
	margin-bottom: 0.65rem;
}

/* ---------- Footer polish ---------- */
body.dbf-site .site-footer {
	background: var(--dbf-bg-2) !important;
	color: var(--dbf-text-2);
	border-top: 1px solid var(--dbf-border);
}

body.dbf-site .site-footer a {
	color: var(--dbf-text-2);
	text-decoration: none;
}

body.dbf-site .site-footer a:hover {
	color: var(--dbf-accent);
}

/* Footer social icons under Legal */
body.dbf-site .dbf-footer-social {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 30px;
}

body.dbf-site .dbf-footer-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--dbf-accent) !important;
	line-height: 0;
	transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

body.dbf-site .dbf-footer-social__link:hover,
body.dbf-site .dbf-footer-social__link:focus-visible {
	color: #fff !important;
	opacity: 1;
	transform: translateY(-1px);
	outline: none;
}

body.dbf-site .dbf-footer-social__icon {
	display: block;
	width: 22px;
	height: 22px;
}

/* Nudge Mobility / Company / Legal slightly right for air after brand */
body.dbf-site .kb-row-layout-iddbf1804_1af72d > .kt-row-column-wrap.kt-has-4-columns {
	grid-template-columns: minmax(0, 1.22fr) repeat(3, minmax(0, 0.93fr)) !important;
	column-gap: clamp(1.75rem, 3.25vw, 3rem) !important;
}

@media (max-width: 767px) {
	body.dbf-site .kb-row-layout-iddbf1804_1af72d > .kt-row-column-wrap.kt-has-4-columns {
		grid-template-columns: minmax(0, 1fr) !important;
		column-gap: 1.5rem !important;
	}
}

body.dbf-site .footer-html-inner,
body.dbf-site .site-bottom-footer-wrap {
	color: var(--dbf-muted);
}

.dbf-footer-brand {
	display: grid;
	gap: 1rem;
	max-width: 28ch;
}

.dbf-footer-brand strong {
	color: #fff;
	font-family: Manrope, sans-serif;
	font-size: 1.25rem;
}

.dbf-lang {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dbf-muted);
}

.dbf-lang span[aria-current="true"] {
	color: var(--dbf-accent);
}

.dbf-lang a {
	color: var(--dbf-muted) !important;
	opacity: 0.55;
}

.dbf-lang a:hover,
.dbf-lang a:focus-visible {
	color: var(--dbf-accent) !important;
	opacity: 1;
}

.dbf-placeholder-note {
	margin-top: 0.75rem;
	font-size: 0.75rem;
	color: var(--dbf-muted);
	font-style: italic;
}

.dbf-related {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.dbf-chip {
	display: inline-flex;
	padding: 0.55rem 1rem;
	border-radius: var(--dbf-radius-btn);
	border: 1px solid var(--dbf-border);
	color: var(--dbf-text-2) !important;
	text-decoration: none !important;
	font-size: 0.875rem;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.dbf-chip:hover {
	border-color: var(--dbf-accent);
	color: var(--dbf-accent) !important;
}

.dbf-list {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.dbf-list li {
	position: relative;
	padding-left: 1.25rem;
	color: var(--dbf-text-2);
}

.dbf-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dbf-accent);
}

/* Hide default page titles on front templates that use custom heroes */
body.dbf-site.page .entry-hero:not(.dbf-keep-title),
body.dbf-site.page-template-default .entry-hero {
	display: none;
}

body.dbf-site .content-area {
	margin: 0;
}

body.dbf-site .entry-content-wrap {
	padding: 0 !important;
	max-width: none !important;
}

body.dbf-site .entry-content > *:first-child {
	margin-top: 0;
}

/*
 * Sticky header readability.
 * Apply blur/background on the sticky row itself — never on .site-header-wrap.
 * backdrop-filter on a parent creates a containing block and breaks position:fixed.
 */
body.dbf-front .kadence-sticky-header > .site-header-row-container-inner,
body.dbf-site .kadence-sticky-header > .site-header-row-container-inner {
	transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

body.dbf-front.dbf-scrolled .kadence-sticky-header > .site-header-row-container-inner,
body.dbf-site.dbf-scrolled .kadence-sticky-header > .site-header-row-container-inner,
body.dbf-site .kadence-sticky-header.item-is-fixed.item-is-stuck > .site-header-row-container-inner {
	background: rgba(17, 17, 17, 0.92) !important;
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--dbf-border);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.dbf-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dbf-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dbf-split,
	.dbf-coverage { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.dbf-grid--2,
	.dbf-grid--3,
	.dbf-grid--4 { grid-template-columns: 1fr; }
	.dbf-timeline { grid-template-columns: 1fr; }
	.dbf-form__row { grid-template-columns: 1fr; }
	.dbf-hero__actions .dbf-btn,
	.dbf-cta__actions .dbf-btn { width: 100%; }
	.dbf-scroll-indicator { display: none; }
}

/*
 * Phone + tablet (≤1024): dark drawer, white links, Request a Quote CTA.
 * Phone only (<768): open as a panel below the hamburger.
 * Tablet keeps Kadence’s side drawer layout.
 */
.dbf-mobile-menu-cta {
	display: none;
}

/* Desktop menu only: tighter radius on Request a Quote (still soft, not pill). */
@media (min-width: 1181px) {
	body.dbf-site #main-header .header-button {
		border-radius: 8px !important;
	}
}

/* Tablet landscape (desktop header still shows up to ~1180): hide Quote from the top bar. */
@media (max-width: 1180px) {
	body.dbf-site #main-header .site-header-item[data-section="kadence_customizer_header_button"],
	body.dbf-site #main-header .site-header-item[data-section="header_button"],
	body.dbf-site #main-header .header-button-wrap {
		display: none !important;
	}
}

@media (max-width: 1024px) {
	/* Safety: header bar Quote is not in the builder; hide if re-added. */
	body.dbf-site #mobile-header .site-header-item[data-section="kadence_customizer_header_button"],
	body.dbf-site #mobile-header .site-header-item[data-section="header_button"],
	body.dbf-site #mobile-header .header-button-wrap {
		display: none !important;
	}

	body.dbf-site #mobile-header .site-branding .site-title,
	body.dbf-site #mobile-header .site-branding .site-title.vs-md-false {
		display: block !important;
		color: #ffffff;
	}

	body.dbf-site #mobile-drawer .drawer-inner {
		background: rgba(17, 17, 17, 0.97) !important;
		color: #ffffff !important;
	}

	body.dbf-site #mobile-drawer .drawer-header .drawer-toggle {
		color: #ffffff;
	}

	body.dbf-site #mobile-drawer .drawer-content {
		display: flex;
		flex-direction: column;
	}

	body.dbf-site #mobile-drawer .mobile-navigation a {
		padding-top: 0.7em;
		padding-bottom: 0.7em;
		color: #ffffff !important;
	}

	body.dbf-site #mobile-drawer .mobile-navigation a:hover,
	body.dbf-site #mobile-drawer .mobile-navigation a:focus,
	body.dbf-site #mobile-drawer .mobile-navigation .current-menu-item > a,
	body.dbf-site #mobile-drawer .mobile-navigation .current_page_item > a {
		color: var(--dbf-accent, #c5b08a) !important;
	}

	body.dbf-site #mobile-drawer .dbf-mobile-menu-cta {
		display: block;
		margin-top: 1.25rem;
		padding-top: 1.1rem;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	body.dbf-site #mobile-drawer .dbf-mobile-menu-cta__btn {
		display: flex !important;
		justify-content: center;
		align-items: center;
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
}

@media (max-width: 767px) {
	body.dbf-site #mobile-drawer .drawer-overlay {
		top: var(--dbf-mobile-nav-top, 4.5rem);
		background-color: rgba(0, 0, 0, 0.35);
	}

	body.dbf-site #mobile-drawer .drawer-inner {
		top: calc(var(--dbf-mobile-nav-top, 4.5rem) + 0.5rem) !important;
		right: var(--dbf-mobile-nav-right, 0.75rem) !important;
		left: auto !important;
		bottom: auto !important;
		width: min(18.5rem, calc(100vw - 1.5rem));
		max-width: calc(100vw - 1.5rem);
		max-height: calc(100dvh - var(--dbf-mobile-nav-top, 4.5rem) - 1.5rem);
		transform: translateY(-0.65rem) !important;
		opacity: 0;
		border-radius: 14px;
		border: 1px solid var(--dbf-border, rgba(255, 255, 255, 0.1));
		box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	body.dbf-site #mobile-drawer.active .drawer-inner {
		transform: translateY(0) !important;
		opacity: 1;
	}

	body.dbf-site #mobile-drawer .drawer-header {
		min-height: 0;
		padding: 0.65rem 0.85rem 0;
	}

	body.dbf-site #mobile-drawer .drawer-header .drawer-toggle {
		font-size: 20px;
		padding: 0.35em 0.15em;
	}

	body.dbf-site #mobile-drawer .drawer-content {
		padding: 0.35rem 1.15rem 1.15rem;
		min-height: 0;
	}
}
