/* Marketing-focused blocks used only on the Cabsystems homepage. */

.home-marketing {
	--home-accent: var(--theme-base-color, #2d8fc7);
	--home-accent-dark: #1777ad;
	--home-ink: #1d2c3a;
	--home-muted: #667786;
	--home-soft: #f4f8fb;
	--home-border: #dfe8ee;
	color: var(--home-ink);
}

.home-marketing *,
.home-marketing *::before,
.home-marketing *::after {
	box-sizing: border-box;
}

.home-section-heading {
	max-width: 820px;
	margin: 0 auto clamp(32px, 4vw, 52px);
	text-align: center;
}

.home-section-heading--left {
	margin-left: 0;
	text-align: left;
}

.home-section-heading__eyebrow {
	display: block;
	margin-bottom: 12px;
	color: var(--home-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-section-heading h2 {
	margin: 0 0 16px;
	color: var(--home-ink);
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.18;
}

.home-section-heading p {
	margin: 0;
	color: var(--home-muted);
	font-size: 17px;
	line-height: 1.65;
}

.home-trust {
	position: relative;
	z-index: 2;
	background: #fff;
	border-bottom: 1px solid var(--home-border);
}

.home-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-trust__grid > .home-trust__item::before,
.home-process__grid > .home-process__step::before {
	display: none !important;
	padding: 0 !important;
	content: none !important;
}

.home-trust__item {
	position: relative;
	min-height: 124px;
	padding: 28px 26px 26px 28px;
}

.home-trust__item + .home-trust__item {
	border-left: 1px solid var(--home-border);
}

.home-trust__value,
.home-trust__label {
	display: block;
}

.home-trust__value {
	margin-bottom: 7px;
	color: var(--home-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.home-trust__label {
	color: var(--home-muted);
	font-size: 14px;
	line-height: 1.5;
}

.home-directions,
.home-experts {
	padding: clamp(64px, 8vw, 104px) 0;
}

.home-experts {
	padding-top: clamp(56px, 6vw, 76px);
	padding-bottom: 28px;
}

.home-directions {
	padding-top: clamp(56px, 6vw, 76px);
	padding-bottom: 0;
}

.home-directions .home-section-heading {
	margin-bottom: clamp(56px, 6vw, 76px);
}

.home-directions__grid,
.home-experts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.home-direction-card {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--home-border);
	box-shadow: 0 8px 24px rgba(31, 70, 99, 0.045);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-direction-card:hover {
	border-color: rgba(45, 143, 199, 0.42);
	box-shadow: 0 14px 34px rgba(31, 70, 99, 0.085);
	transform: translateY(-3px);
}

.home-direction-card__media {
	display: flex;
	height: 250px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f1f4f6;
}

.home-direction-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.home-direction-card__media--contain img {
	padding: 24px;
	object-fit: contain;
}

.home-direction-card:hover .home-direction-card__media img {
	transform: scale(1.025);
}

.home-direction-card__content {
	display: flex;
	min-height: 330px;
	padding: 30px;
	flex: 1 1 auto;
	flex-direction: column;
}

.home-direction-card__kicker {
	margin-bottom: 12px;
	color: var(--home-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.home-direction-card h3 {
	margin: 0 0 14px;
	font-size: 25px;
	line-height: 1.25;
}

.home-direction-card h3 a {
	color: var(--home-ink);
}

.home-direction-card h3 a:hover {
	color: var(--home-accent);
}

.home-direction-card p {
	margin: 0 0 26px;
	color: var(--home-muted);
	font-size: 15px;
	line-height: 1.65;
}

.home-direction-card__actions {
	display: flex;
	margin-top: auto;
	align-items: center;
	gap: 18px;
}

.home-direction-card__actions .btn {
	display: inline-flex;
	height: auto;
	min-height: 44px;
	padding: 11px 18px;
	align-items: center;
	justify-content: center;
	line-height: 1.35;
	text-align: center;
	white-space: normal;
}

.home-direction-card__more {
	color: var(--home-accent);
	font-weight: 600;
	white-space: nowrap;
}

.home-direction-card__more::after,
.home-expert-card__body > a::after {
	content: "\2192";
	margin-left: 7px;
}

.home-process {
	padding: clamp(64px, 8vw, 96px) 0;
	background: var(--home-soft);
	border-bottom: 1px solid var(--home-border);
	border-top: 1px solid var(--home-border);
}

.home-process > .maxwidth-theme {
	background: var(--home-soft) !important;
}

.home-process__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 1px solid var(--home-border);
	border-right: 1px solid var(--home-border);
}

.home-process__step {
	position: relative;
	min-height: 238px;
	margin: 0;
	padding: 32px 28px;
	background: #fff;
	border-bottom: 1px solid var(--home-border);
	border-top: 1px solid var(--home-border);
}

.home-process__step + .home-process__step {
	border-left: 1px solid var(--home-border);
}

.home-process__number {
	display: inline-flex;
	width: 44px;
	height: 44px;
	margin-bottom: 24px;
	align-items: center;
	justify-content: center;
	background: #e9f5fb;
	color: var(--home-accent);
	font-size: 14px;
	font-weight: 700;
}

.home-process__step h3 {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.35;
}

.home-process__step p {
	margin: 0;
	color: var(--home-muted);
	font-size: 14px;
	line-height: 1.6;
}

.home-expert-card {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--home-border);
}

.home-expert-card > img {
	width: 100%;
	height: 320px;
	padding: 18px;
	background: #fff;
	border-bottom: 1px solid var(--home-border);
	object-fit: contain;
	object-position: center;
}

.home-expert-card__body {
	display: flex;
	padding: 28px;
	flex: 1 1 auto;
	flex-direction: column;
}

.home-expert-card__body h3 {
	margin: 0 0 6px;
	font-size: 23px;
	line-height: 1.3;
}

.home-expert-card__role {
	display: block;
	min-height: 42px;
	margin-bottom: 16px;
	color: var(--home-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.45;
	text-transform: uppercase;
}

.home-expert-card__body p {
	margin: 0 0 22px;
	color: var(--home-muted);
	font-size: 14px;
	line-height: 1.65;
}

.home-expert-card__body > a {
	margin-top: auto;
	color: var(--home-accent);
	font-weight: 600;
}

.home-experts__footer {
	display: flex;
	margin-top: 28px;
	padding: 26px 30px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--home-ink);
	border-left: 4px solid var(--home-accent);
}

.home-experts__footer strong,
.home-experts__footer span {
	display: block;
}

.home-experts__footer strong {
	margin-bottom: 5px;
	color: #fff;
	font-size: 19px;
}

.home-experts__footer span {
	color: #c4d0d8;
}

.drag-block.container.FLOAT_BANNERS .content_wrapper_block > .maxwidth-theme {
	padding-top: 32px !important;
}

.drag-block.container.FLOAT_BANNERS .item-views.float_banners2.top {
	padding-bottom: 20px !important;
}

@media (max-width: 991px) {
	.home-trust__grid,
	.home-process__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-trust__item:nth-child(3),
	.home-process__step:nth-child(3) {
		border-left: 0;
	}

	.home-trust__item:nth-child(n + 3),
	.home-process__step:nth-child(n + 3) {
		border-top: 1px solid var(--home-border);
	}

	.home-directions__grid,
	.home-experts__grid {
		grid-template-columns: 1fr;
	}

	.home-direction-card,
	.home-expert-card {
		display: grid;
		grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
	}

	.home-direction-card__media,
	.home-expert-card > img {
		height: 100%;
		min-height: 320px;
	}

	.home-direction-card__content {
		min-height: 320px;
	}
}

@media (max-width: 600px) {
	.home-section-heading {
		text-align: left;
	}

	.home-trust__grid,
	.home-process__grid,
	.home-direction-card,
	.home-expert-card {
		grid-template-columns: 1fr;
	}

	.home-trust__item {
		min-height: 0;
		padding: 22px 18px;
	}

	.home-trust__item + .home-trust__item,
	.home-trust__item:nth-child(3),
	.home-process__step + .home-process__step,
	.home-process__step:nth-child(3) {
		border-left: 0;
		border-top: 1px solid var(--home-border);
	}

	.home-direction-card__media,
	.home-expert-card > img {
		height: 240px;
		min-height: 0;
	}

	.home-direction-card__content,
	.home-expert-card__body {
		min-height: 0;
		padding: 24px 20px;
	}

	.home-direction-card__actions,
	.home-experts__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.home-direction-card__actions .btn,
	.home-experts__footer .btn {
		width: 100%;
		text-align: center;
	}

	.home-process__step {
		min-height: 0;
		padding: 25px 22px;
	}

	.home-expert-card__role {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-direction-card,
	.home-direction-card__media img {
		transition: none;
	}
}
