:root {
	--bkf-primary: #2f6bff;
	--bkf-text: #0b1f44;
	--bkf-background: #ffffff;
	--bkf-bottom: #081a3a;
	--bkf-muted: #63758f;
	--bkf-soft: #f5f8ff;
	--bkf-border: #e2e9f5;
	--bkf-max-width: 1440px;
	--bkf-radius: 18px;
	--bkf-transition: 180ms ease;
}

.bkf-footer,
.bkf-footer * {
	box-sizing: border-box;
}

.bkf-footer {
	width: 100%;
	margin: 0;
	color: var(--bkf-text);
	background: var(--bkf-background);
	font-family: inherit;
	border-top: 0;
}

.bkf-footer__accent {
	height: 4px;
	background: linear-gradient(90deg, rgba(47,107,255,.15), var(--bkf-primary), #18b6ff, var(--bkf-primary), rgba(47,107,255,.15));
}

.bkf-footer__main {
	background:
		radial-gradient(circle at 8% 0%, rgba(47,107,255,.08), transparent 28%),
		linear-gradient(180deg, #fff 0%, #fbfdff 100%);
	padding: 58px 28px 28px;
}

.bkf-footer__inner {
	display: grid;
	grid-template-columns: minmax(320px, 1.55fr) repeat(3, minmax(145px, .72fr));
	gap: clamp(28px, 4vw, 70px);
	width: min(100%, var(--bkf-max-width));
	margin: 0 auto;
	align-items: start;
}

.bkf-footer__brand-column {
	max-width: 430px;
}

.bkf-footer__logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 250px;
	border-radius: 10px;
	text-decoration: none !important;
}

.bkf-footer__logo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 1;
	object-fit: contain;
}

.bkf-footer__description {
	max-width: 390px;
	margin-top: 18px;
	color: var(--bkf-muted);
	font-size: 14.5px;
	line-height: 1.78;
}

.bkf-footer__store-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	margin-top: 22px;
	padding: 12px 20px;
	border-radius: 12px;
	color: #fff !important;
	background: linear-gradient(135deg, #1f5cff, var(--bkf-primary));
	box-shadow: 0 10px 24px rgba(47,107,255,.22);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	transition: transform var(--bkf-transition), box-shadow var(--bkf-transition);
}

.bkf-footer__store-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(47,107,255,.28);
}

.bkf-footer__icon {
	width: 19px;
	height: 19px;
	flex: 0 0 auto;
}

.bkf-footer__heading {
	margin: 4px 0 17px;
	padding: 0;
	color: var(--bkf-text);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .01em;
	line-height: 1.3;
}

.bkf-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bkf-footer__links li {
	margin: 0 0 11px;
	padding: 0;
}

.bkf-footer__links a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	color: #526783 !important;
	font-size: 14px;
	font-weight: 550;
	line-height: 1.4;
	text-decoration: none !important;
	transition: color var(--bkf-transition), transform var(--bkf-transition);
}

.bkf-footer__links a::before {
	content: '';
	width: 0;
	height: 1.5px;
	margin-right: 0;
	border-radius: 2px;
	background: var(--bkf-primary);
	transition: width var(--bkf-transition), margin-right var(--bkf-transition);
}

.bkf-footer__links a:hover {
	color: var(--bkf-primary) !important;
	transform: translateX(2px);
}

.bkf-footer__links a:hover::before {
	width: 11px;
	margin-right: 7px;
}

.bkf-footer__trust {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: min(100%, var(--bkf-max-width));
	margin: 40px auto 0;
	padding: 17px 20px;
	border: 1px solid #e5ecf8;
	border-radius: 14px;
	background: rgba(245,248,255,.82);
}

.bkf-footer__trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	color: var(--bkf-primary);
	background: #fff;
	box-shadow: 0 5px 14px rgba(11,31,68,.07);
}

.bkf-footer__trust p {
	margin: 3px 0 0;
	color: #687b96;
	font-size: 12.5px;
	line-height: 1.65;
}

.bkf-footer__bottom {
	color: rgba(255,255,255,.72);
	background: var(--bkf-bottom);
}

.bkf-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(100%, var(--bkf-max-width));
	min-height: 64px;
	margin: 0 auto;
	padding: 16px 28px;
}

.bkf-footer__bottom p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
}

.bkf-footer a:focus-visible {
	outline: 3px solid rgba(47,107,255,.32);
	outline-offset: 3px;
}

@media (max-width: 1000px) {
	.bkf-footer__inner {
		grid-template-columns: minmax(280px, 1.35fr) repeat(2, minmax(150px, .8fr));
	}
	.bkf-footer__column:last-child {
		grid-column: 2 / 4;
	}
}

@media (max-width: 720px) {
	.bkf-footer__main {
		padding: 42px 20px 22px;
	}
	.bkf-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 34px 24px;
	}
	.bkf-footer__brand-column {
		grid-column: 1 / -1;
		max-width: none;
	}
	.bkf-footer__description {
		max-width: 530px;
	}
	.bkf-footer__column:last-child {
		grid-column: auto;
	}
	.bkf-footer__trust {
		margin-top: 32px;
	}
	.bkf-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 17px 20px;
	}
}

@media (max-width: 480px) {
	.bkf-footer__inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.bkf-footer__brand-column,
	.bkf-footer__column:last-child {
		grid-column: auto;
	}
	.bkf-footer__logo-link {
		max-width: 218px;
	}
	.bkf-footer__trust {
		gap: 10px;
		padding: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bkf-footer *,
	.bkf-footer *::before,
	.bkf-footer *::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* Premium Account bridge fix: remove the small Astra/Elementor strip before the footer. */
body.single-premium_accounts .bkf-footer {
	position: relative;
	z-index: 2;
	margin-top: -16px !important;
}
