/*
 * Blue Fox — Schomers Transition landing page template
 * Everything is scoped to .bfst so it can't leak into the theme.
 *
 * Design mirrors the "Schomers Transition" mockup (Blue Fox blue #1d7fe0,
 * rounded cards, paw/fox brand marks, Montserrat).
 */

.bfst {
	--bfst-blue: #1d7fe0;
	--bfst-blue-dark: #1766bf;
	--bfst-blue-darker: #0f4f99;
	--bfst-blue-light: #5aa9f2;
	--bfst-tint: #eef5fd;
	--bfst-ink: #26282c;
	--bfst-text: #33363b;
	--bfst-muted: #5a5f66;
	--bfst-line: #e1e8f0;
	--bfst-shadow: 0 8px 26px rgba(20, 40, 70, .09);

	font-family: Montserrat, Helvetica, Arial, sans-serif;
	color: var(--bfst-text);
	background: #f3f3f3 url(../images/texture-bg.jpg) repeat-y top center / 100% auto;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
	overflow-x: clip;
}

/* Hide any leftover Beaver Builder layout saved on the page — this template
 * renders its own markup instead of the_content(). */
.fl-builder-content.fl-builder-content-11640 { display: none !important; }

/* ---- Reset theme defaults inside the page ---- */

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

.bfst h1, .bfst h2, .bfst h3,
.bfst p, .bfst ul, .bfst li {
	margin: 0;
	padding: 0;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.bfst h1, .bfst h2, .bfst h3 { font-weight: 800; }
.bfst p, .bfst li { font-size: inherit; line-height: inherit; color: inherit; }
.bfst ul { list-style: none; }
.bfst li::before, .bfst li::marker { content: none; }
.bfst img { max-width: 100%; border: 0; box-shadow: none; }
.bfst a { color: var(--bfst-blue-dark); }
.bfst a:hover { color: var(--bfst-blue-darker); }

.bfst .bfst-faq__btn {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	font-family: Montserrat, sans-serif;
	line-height: 1.3;
	cursor: pointer;
}

.bfst-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Layout helpers ---- */

.bfst-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.bfst-wrap--narrow { max-width: 880px; }

/* ---- Buttons ---- */

.bfst-btn-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 4px;
}

.bfst .bfst-btn {
	display: inline-block;
	border: 2px solid var(--bfst-blue);
	border-radius: 999px;
	padding: 14px 28px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .05em;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s, border-color .15s, color .15s;
}

.bfst .bfst-btn--solid { background: var(--bfst-blue); color: #fff; }
.bfst .bfst-btn--solid:hover { background: var(--bfst-blue-dark); border-color: var(--bfst-blue-dark); color: #fff; }

.bfst .bfst-btn--outline { background: #fff; color: var(--bfst-blue-dark); }
.bfst .bfst-btn--outline:hover { background: var(--bfst-tint); color: var(--bfst-blue-dark); }

/* On the final CTA (blue background) */
.bfst .bfst-btn--white { background: #fff; color: var(--bfst-blue-dark); border: 0; padding: 15px 32px; font-weight: 800; letter-spacing: .06em; }
.bfst .bfst-btn--white:hover { background: var(--bfst-tint); color: var(--bfst-blue-darker); }

.bfst .bfst-btn--ghost { background: transparent; color: #fff; border-color: #fff; padding: 13px 28px; }
.bfst .bfst-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---- 01 Hero (no image — full-width intro box in the site container) ---- */

.bfst-hero { padding-top: 48px; padding-bottom: 8px; }

.bfst-hero__card {
	width: 100%;
	padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 72px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
	background: #fff;
	border: 1px solid #e4ebf3;
	border-radius: 28px;
	box-shadow: 0 14px 40px rgba(20, 40, 70, .14);
}

.bfst .bfst-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	color: var(--bfst-blue-dark);
}

.bfst .bfst-hero__title {
	font-size: clamp(28px, 4.2vw, 42px);
	line-height: 1.15;
	color: var(--bfst-blue);
	text-wrap: balance;
}

.bfst .bfst-hero__lede {
	max-width: 620px;
	font-size: 17px;
	line-height: 1.6;
	text-wrap: pretty;
}

/* ---- 02 Same local team (two-up) ---- */

.bfst-team { padding-top: 48px; padding-bottom: 72px; }

.bfst-team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 28px;
	align-items: stretch;
}

.bfst-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(28px, 4vw, 44px);
	border-radius: 26px;
}

.bfst-card--light {
	background: #fff;
	border: 1px solid #e6ecf2;
	box-shadow: var(--bfst-shadow);
}

.bfst-card--dark {
	gap: 18px;
	color: #fff;
	background: var(--bfst-ink) url(../images/grey-paw.svg) no-repeat right -40px bottom -40px / 260px auto;
}

.bfst .bfst-card--light h2 {
	font-size: clamp(24px, 3vw, 32px);
	color: var(--bfst-blue);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.bfst .bfst-card--light p { font-size: 16.5px; line-height: 1.7; text-wrap: pretty; }

.bfst .bfst-card--dark h2 {
	font-size: 22px;
	color: var(--bfst-blue-light);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.bfst .bfst-card--dark > p { font-size: 18px; font-weight: 600; line-height: 1.5; }

.bfst-card--dark .bfst-list { display: flex; flex-direction: column; gap: 14px; }

.bfst-card--dark .bfst-list li {
	display: flex;
	gap: 12px;
	font-size: 16px;
	line-height: 1.5;
	color: #e3e5e8;
}

.bfst .bfst-paw { flex: none; width: 15px; height: 19px; margin-top: 2px; }

.bfst-card--dark .bfst-list a { color: #fff; font-weight: 700; }

/* ---- 03 Services ---- */

.bfst-services { padding-top: 0; padding-bottom: 80px; }

.bfst-services__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;
	text-align: center;
}

.bfst .bfst-services__head h2 {
	font-size: clamp(24px, 3.2vw, 32px);
	color: var(--bfst-blue);
	text-transform: uppercase;
	letter-spacing: .02em;
	text-wrap: balance;
}

.bfst .bfst-services__head p { max-width: 640px; font-size: 16.5px; line-height: 1.6; }

/* Flex (not grid) so a final row with fewer than the max cards stays
 * horizontally centered instead of left-aligned. */
.bfst-services__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

/* 3 across on desktop, filling the full container width (gap 20px → basis =
 * (100% - 2*20px) / 3). A short final row stays centered via justify-content. */
.bfst .bfst-service {
	flex: 0 1 calc((100% - 40px) / 3);
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 24px;
	background: #fff;
	border: 1px solid #e6ecf2;
	border-radius: 22px;
	box-shadow: 0 8px 26px rgba(20, 40, 70, .08);
	text-decoration: none;
	color: var(--bfst-text);
	transition: border-color .15s, box-shadow .15s;
}

.bfst .bfst-service:hover {
	border-color: var(--bfst-blue);
	box-shadow: 0 12px 30px rgba(29, 127, 224, .18);
	color: var(--bfst-text);
}

.bfst-service__name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 800;
	color: var(--bfst-ink);
}

.bfst-service__body { font-size: 15px; line-height: 1.6; text-wrap: pretty; }

.bfst-service__more {
	margin-top: auto;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .05em;
	color: var(--bfst-blue-dark);
}

/* ---- 04 FAQ ---- */

.bfst-faq { padding-bottom: 72px; }

.bfst .bfst-faq__title {
	margin-bottom: 24px;
	text-align: center;
	font-size: clamp(22px, 3vw, 30px);
	color: var(--bfst-blue);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.bfst-faq__list { display: flex; flex-direction: column; gap: 14px; }

.bfst-faq__item {
	background: #fff;
	border: 1px solid var(--bfst-line);
	border-radius: 18px;
	box-shadow: 0 4px 16px rgba(20, 40, 70, .06);
}

.bfst .bfst-faq__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 24px;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: left;
}

.bfst .bfst-faq__btn:focus-visible { outline: 2px solid var(--bfst-blue); outline-offset: -2px; }

.bfst-faq__q { font-size: 17px; font-weight: 700; color: var(--bfst-ink); }

.bfst-faq__sign {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 2px solid var(--bfst-blue);
	border-radius: 50%;
	color: var(--bfst-blue);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.bfst .bfst-faq__a { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.65; text-wrap: pretty; }
.bfst .bfst-faq__a[hidden] { display: none; }

/* ---- 05 Final CTA ---- */

.bfst-cta { padding-bottom: 96px; }

.bfst-cta__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px);
	text-align: center;
	color: #fff;
	background: var(--bfst-blue) url(../images/fox-mark.svg) no-repeat center / auto 100%;
	border-radius: 36px 36px 36px 120px;
	box-shadow: 0 16px 40px rgba(29, 127, 224, .28);
}

.bfst .bfst-cta__box h2 {
	font-size: clamp(26px, 3.8vw, 40px);
	line-height: 1.15;
	color: #fff;
	text-wrap: balance;
}

.bfst .bfst-cta__box p { max-width: 620px; font-size: 17px; line-height: 1.6; text-wrap: pretty; }

/* ---- Tablet: 2 services across ---- */

@media (max-width: 979px) {
	.bfst .bfst-service { flex-basis: calc(50% - 10px); }
}

/* ---- Mobile ---- */

@media (max-width: 759px) {
	.bfst-hero { padding-top: 28px; }
	.bfst-hero__card { padding: 28px 20px; gap: 14px; }
	.bfst .bfst-hero__lede { font-size: 16px; }

	/* Service cards go full-width (one per row), capped and centered. */
	.bfst .bfst-service { flex-basis: 100%; max-width: 420px; }

	/* The decorative paw on the dark card is smaller so it doesn't crowd text. */
	.bfst-card--dark { background-size: 180px auto; }

	.bfst-cta__box { border-radius: 28px 28px 28px 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.bfst .bfst-btn,
	.bfst .bfst-service { transition: none; }
}
