/* Apri In Franchising page */

.bfz-franchising-page {
	position: relative;
	overflow: hidden;
	background: #f7f8fb;
	color: var(--bfz-text);
	padding-bottom: 0;
}

.bfz-franchising-page .container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.bfz-franchising-hero {
	position: relative;
	overflow: hidden;
	padding: 0;
	background: none;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	min-height: clamp(440px, 62vw, 640px);
	display: flex;
	align-items: center;
}

.bfz-franchising-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(340deg, rgba(12, 77, 152, 0.82), rgba(0, 107, 169, 0.55));
	pointer-events: none;
	z-index: 1;
}

.bfz-franchising-hero-copy-wrapper {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	align-items: center;
}

.bfz-franchising-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 40px);
	max-width: 620px;
}

.bfz-franchising-kicker,
.bfz-franchising-section-kicker {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	color: var(--bfz-blue-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 8px 20px rgba(17, 38, 72, 0.08);
}

.bfz-franchising-hero-title {
	margin: 0;
	max-width: 11ch;
	color: var(--bfz-white);
	font-size: clamp(2.4rem, 5.2vw, 4.85rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	font-weight: 900;
}

.bfz-franchising-hero-desc {
	margin: 4px 0 0;
	max-width: 44ch;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(1rem, 1.45vw, 1.22rem);
	line-height: 1.5;
}

.bfz-franchising-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.bfz-franchising-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bfz-franchising-btn:hover,
.bfz-franchising-btn:focus-visible {
	transform: translateY(-1px);
	text-decoration: none;
}

.bfz-franchising-btn--primary {
	background: var(--bfz-yellow);
	color: var(--bfz-blue-dark);
	box-shadow: 0 14px 28px rgba(220, 178, 0, 0.24);
}

.bfz-franchising-btn--ghost {
	background: var(--bfz-blue);
	color: var(--bfz-yellow);
	border: 1px solid rgba(0, 107, 169, 0.16);
}

.bfz-franchising-services {
	position: relative;
	z-index: 1;
	margin-top: 0;
	padding: clamp(34px, 4vw, 54px) 0 clamp(54px, 6vw, 86px);
}

.bfz-franchising-cta-cards {
	position: relative;
	padding: clamp(54px, 6vw, 86px) 0;
	background: #f7f8fb;
}

.bfz-franchising-cta-head {
	max-width: 900px;
	margin: 0 auto clamp(32px, 4vw, 48px);
	text-align: center;
}

.bfz-franchising-cta-head h2 {
	margin: 0;
	color: var(--bfz-blue);
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
	line-height: 1.12;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.bfz-franchising-cta-head h2 .bfz-highlight {
	color: var(--bfz-yellow);
}

.bfz-franchising-cta-head p {
	margin: 14px auto 0;
	max-width: 72ch;
	color: rgba(31, 42, 68, 0.84);
	font-size: 1rem;
	line-height: 1.7;
}

.bfz-franchising-cta-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.bfz-franchising-cta-card {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(26, 47, 88, 0.1);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	display: flex;
	flex-direction: column;
}

.bfz-franchising-cta-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(26, 47, 88, 0.14);
}

.bfz-franchising-cta-card-image {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	background: linear-gradient(135deg, #e0f0ff 0%, #d4e8ff 100%);
}

.bfz-franchising-cta-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bfz-franchising-cta-card h3 {
	margin: 20px 20px 12px;
	color: var(--bfz-blue);
	font-size: 1.1rem;
	line-height: 1.28;
	font-weight: 900;
	text-transform: uppercase;
}

.bfz-franchising-cta-card p {
	margin: 0 20px 20px;
	color: rgba(31, 42, 68, 0.8);
	font-size: 0.96rem;
	line-height: 1.6;
	flex-grow: 1;
}

.bfz-franchising-section-head {
	max-width: 900px;
	margin: 0 auto clamp(22px, 3vw, 32px);
	text-align: center;
}

.bfz-franchising-section-head--compact {
	margin-bottom: clamp(20px, 2.8vw, 28px);
}

.bfz-franchising-section-title {
	margin: 14px 0 0;
	color: var(--bfz-blue);
	font-size: clamp(1.55rem, 3vw, 2.6rem);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.bfz-franchising-section-desc {
	margin: 14px auto 0;
	max-width: 68ch;
	color: rgba(31, 42, 68, 0.84);
	font-size: 1rem;
	line-height: 1.6;
}

.bfz-franchising-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.bfz-franchising-card {
	position: relative;
	padding: 22px 20px 20px;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	border: 1px solid rgba(0, 107, 169, 0.1);
	box-shadow: 0 18px 36px rgba(26, 47, 88, 0.08);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bfz-franchising-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 48px rgba(26, 47, 88, 0.12);
}

.bfz-franchising-card-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--bfz-yellow);
	color: var(--bfz-blue-dark);
	font-size: 0.95rem;
	font-weight: 900;
	letter-spacing: 0.04em;
}

.bfz-franchising-card h3 {
	margin: 14px 0 8px;
	color: var(--bfz-blue-dark);
	font-size: 1.06rem;
	line-height: 1.25;
	font-weight: 900;
	text-transform: uppercase;
}

.bfz-franchising-card p {
	margin: 0;
	color: rgba(31, 42, 68, 0.82);
	font-size: 0.98rem;
	line-height: 1.6;
}

.bfz-franchising-steps {
	position: relative;
	padding: clamp(42px, 5vw, 64px) 0 clamp(52px, 5vw, 82px);
	background: #f7f8fb;
}

.bfz-franchising-fade {
	position: relative;
	height: 120px;
	background: linear-gradient(180deg, #f7f8fb 0%, #0c4d98 100%);
	pointer-events: none;
}

.bfz-franchising-timeline {
	position: relative;
	--bfz-timeline-gap: clamp(14px, 2vw, 24px);
	--bfz-timeline-dot-size: 68px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--bfz-timeline-gap);
	padding-top: 12px;
}

.bfz-franchising-timeline::before {
	content: "";
	position: absolute;
	left: calc((100% - (var(--bfz-timeline-gap) * 3)) / 8);
	right: calc((100% - (var(--bfz-timeline-gap) * 3)) / 8);
	top: calc(var(--bfz-timeline-dot-size) / 2);
	border-top: 2px dashed rgba(0, 107, 169, 0.48);
}

.bfz-franchising-step {
	position: relative;
	padding-top: 78px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 320px;
	margin: 0 auto;
}

.bfz-franchising-step-dot {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: var(--bfz-timeline-dot-size);
	height: var(--bfz-timeline-dot-size);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bfz-blue);
	color: var(--bfz-white);
	font-size: 1.15rem;
	font-weight: 900;
	box-shadow: 0 12px 28px rgba(0, 107, 169, 0.24);
}

.bfz-franchising-step h3 {
	margin: 0 0 8px;
	color: var(--bfz-blue-dark);
	font-size: 1rem;
	line-height: 1.25;
	font-weight: 900;
}

.bfz-franchising-step p {
	margin: 0;
	color: rgba(31, 42, 68, 0.8);
	line-height: 1.6;
	font-size: 0.96rem;
}

.bfz-franchising-contact {
	position: relative;
	padding: clamp(70px, 9vw, 120px) 0 clamp(70px, 9vw, 120px);
	overflow: hidden;
	background: #0c4d98;
}

.bfz-franchising-contact-card {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	gap: clamp(22px, 4vw, 56px);
	align-items: start;
	padding: clamp(26px, 4vw, 40px);
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 32px 64px rgba(17, 38, 72, 0.28), 0 8px 16px rgba(17, 38, 72, 0.12);
}

.bfz-franchising-contact-copy h2 {
	margin: 14px 0 10px;
	color: var(--bfz-blue-dark);
}

.bfz-franchising-contact-copy .bfz-franchising-section-kicker {
	background: rgba(0, 107, 169, 0.12);
	color: var(--bfz-blue-dark);
	box-shadow: none;
	border: 1px solid rgba(0, 107, 169, 0.2);
}

.bfz-franchising-contact-copy p {
	margin: 0;
	color: rgba(31, 42, 68, 0.8);
	font-size: 1rem;
	line-height: 1.7;
	max-width: 34ch;
}

.bfz-franchising-contact .bfz-franchising-contact-copy {
	padding: clamp(24px, 3vw, 32px);
	border-radius: 22px;
	background: rgba(0, 107, 169, 0.08);
	border: 1px solid rgba(0, 107, 169, 0.12);
	box-shadow: inset 0 2px 8px rgba(0, 107, 169, 0.08);
}

.bfz-franchising-contact .bfz-franchising-contact-copy h2 {
	color: var(--bfz-blue-dark);
	font-size: clamp(1.5rem, 2.5vw, 2.35rem);
	line-height: 1.08;
	text-transform: uppercase;
}

.bfz-cf7-wrap {
	display: block;
	color: var(--bfz-text);
	padding: clamp(18px, 2vw, 24px);
	border-radius: 20px;
	background: rgba(0, 107, 169, 0.04);
	border: 1px solid rgba(0, 107, 169, 0.08);
}

.bfz-cf7-wrap .wpcf7,
.bfz-cf7-wrap form {
	display: block;
}

.bfz-cf7-wrap label {
	display: block;
	margin-bottom: 8px;
	color: var(--bfz-blue-dark);
	font-size: 0.84rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bfz-cf7-wrap .wpcf7-form-control-wrap {
	margin-bottom: 18px;
}

.bfz-cf7-wrap .wpcf7-form-control-wrap:last-of-type {
	margin-bottom: 0;
}

.bfz-cf7-wrap input[type="text"],
.bfz-cf7-wrap input[type="email"],
.bfz-cf7-wrap input[type="tel"],
.bfz-cf7-wrap input[type="url"],
.bfz-cf7-wrap input[type="date"],
.bfz-cf7-wrap input[type="file"],
.bfz-cf7-wrap textarea,
.bfz-cf7-wrap select {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid rgba(0, 107, 169, 0.2);
	border-radius: 14px;
	background: #ffffff;
	color: var(--bfz-text);
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 107, 169, 0.06);
}

.bfz-cf7-wrap textarea {
	min-height: 140px;
	resize: vertical;
}

.bfz-cf7-wrap input[type="text"]:focus,
.bfz-cf7-wrap input[type="email"]:focus,
.bfz-cf7-wrap input[type="tel"]:focus,
.bfz-cf7-wrap input[type="url"]:focus,
.bfz-cf7-wrap input[type="date"]:focus,
.bfz-cf7-wrap input[type="file"]:focus,
.bfz-cf7-wrap textarea:focus,
.bfz-cf7-wrap select:focus {
	outline: none;
	border-color: rgba(0, 107, 169, 0.48);
	box-shadow: 0 0 0 4px rgba(0, 107, 169, 0.08);
}

.bfz-cf7-wrap input[type="submit"],
.bfz-cf7-wrap button[type="submit"],
.bfz-cf7-wrap .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--bfz-yellow);
	color: var(--bfz-blue-dark);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	box-shadow: 0 14px 28px rgba(220, 178, 0, 0.26);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bfz-cf7-wrap input[type="submit"]:hover,
.bfz-cf7-wrap button[type="submit"]:hover,
.bfz-cf7-wrap .btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(220, 178, 0, 0.3);
}

.bfz-sticky-cta {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--bfz-yellow);
	color: var(--bfz-blue-dark);
	text-decoration: none;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	box-shadow: 0 18px 36px rgba(17, 38, 72, 0.22);
	border: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bfz-sticky-cta:hover,
.bfz-sticky-cta:focus-visible {
	transform: translateY(-2px);
	text-decoration: none;
	box-shadow: 0 22px 40px rgba(17, 38, 72, 0.28);
}

.bfz-sticky-cta:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.8);
	outline-offset: 3px;
}

@media (max-width: 1199.98px) {
	.bfz-franchising-hero {
		min-height: auto;
	}

	.bfz-franchising-hero-copy {
		padding: clamp(32px, 5vw, 54px) 20px;
	}

	.bfz-franchising-hero-title {
		max-width: 100%;
	}

	.bfz-franchising-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bfz-franchising-timeline::before {
		left: calc((100% - (var(--bfz-timeline-gap) * 3)) / 8);
		right: calc((100% - (var(--bfz-timeline-gap) * 3)) / 8);
		top: calc(var(--bfz-timeline-dot-size) / 2);
	}

	.bfz-franchising-contact-card {
		grid-template-columns: 1fr;
	}

	.bfz-franchising-contact-copy p {
		max-width: 100%;
	}
}

@media (max-width: 767.98px) {
	.bfz-franchising-page .container {
		padding: 0 16px;
	}

	.bfz-franchising-hero {
		min-height: auto;
	}

	.bfz-franchising-hero-copy {
		padding: clamp(28px, 5vw, 40px) 16px;
	}

	.bfz-franchising-hero-title {
		font-size: clamp(2.1rem, 10vw, 3.45rem);
	}

	.bfz-franchising-hero-desc {
		font-size: 0.98rem;
	}

	.bfz-franchising-hero-actions {
		gap: 8px;
	}

	.bfz-franchising-btn {
		min-height: 38px;
		padding: 0 14px;
		font-size: 0.8rem;
	}

	.bfz-franchising-cta-head h2 {
		font-size: clamp(1.5rem, 6vw, 2.2rem);
	}

	.bfz-franchising-cta-head p {
		font-size: 0.95rem;
	}

	.bfz-franchising-cta-card h3 {
		margin: 16px 16px 10px;
		font-size: 0.95rem;
	}

	.bfz-franchising-cta-card p {
		margin: 0 16px 16px;
		font-size: 0.92rem;
	}

	.bfz-franchising-grid,
	.bfz-franchising-timeline {
		grid-template-columns: 1fr;
	}

	.bfz-franchising-cta-grid {
		grid-template-columns: 1fr;
	}

	.bfz-franchising-timeline::before {
		left: calc(var(--bfz-timeline-dot-size) / 2);
		right: auto;
		top: calc(var(--bfz-timeline-dot-size) / 2);
		bottom: calc(var(--bfz-timeline-dot-size) / 2);
		width: 0;
		border-top: 0;
		border-left: 2px dashed rgba(0, 107, 169, 0.48);
	}

	.bfz-franchising-step {
		padding-top: 0;
		padding-left: 88px;
		text-align: left;
		align-items: flex-start;
		max-width: none;
	}

	.bfz-franchising-step-dot {
		left: 0;
		transform: none;
	}

	.bfz-franchising-contact {
		padding: 56px 0 64px;
	}

	.bfz-franchising-contact-card {
		padding: 18px;
		border-radius: 22px;
	}

	.bfz-sticky-cta {
		right: 12px;
		bottom: 12px;
		min-height: 44px;
		padding: 0 16px;
	}
}

@media (max-width: 479.98px) {
	.bfz-franchising-hero-actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.bfz-franchising-hero-copy {
		padding: 24px 16px;
	}

	.bfz-franchising-btn {
		width: auto;
		flex: 0 1 auto;
	}

	.bfz-franchising-cta-card-image {
		height: 200px;
	}

	.bfz-franchising-cta-card h3 {
		font-size: 0.95rem;
	}

	.bfz-cf7-wrap input[type="submit"],
	.bfz-cf7-wrap button[type="submit"],
	.bfz-cf7-wrap .btn-primary {
		width: 100%;
	}

	.bfz-sticky-cta {
		width: 56px;
		height: 56px;
		min-height: 56px;
		padding: 0;
		border-radius: 50%;
	}

	.bfz-sticky-cta .bfz-cta-text {
		display: none;
	}

	.bfz-sticky-cta::after {
		content: "?";
		font-size: 1.5rem;
		line-height: 1;
		font-weight: 900;
	}

	.bfz-franchising-card,
	.bfz-franchising-contact-card {
		border-radius: 18px;
	}
}
