/*
Theme Name: Brooksville Fence Native
Theme URI: https://fencingbrooksville.com/
Author: Generation Next Marketing
Description: Fast, mobile-first block theme for the Fence Installation of Brooksville service-area website.
Version: 1.6.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: brooksville-fence-native
*/

:root {
	--bfn-green: #326a34;
	--bfn-green-dark: #234f27;
	--bfn-olive: #58682d;
	--bfn-orange: #ff8000;
	--bfn-orange-dark: #df6f00;
	--bfn-soft: #f1f5f8;
	--bfn-soft-green: #f2f7f2;
	--bfn-ink: #111111;
	--bfn-muted: #4f5652;
	--bfn-line: #cdd4cf;
	--bfn-white: #ffffff;
	--bfn-shadow: 0 12px 34px rgba(25, 45, 31, 0.15);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bfn-white);
	color: var(--bfn-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	overflow-x: hidden;
}

a {
	color: var(--bfn-green);
	text-underline-offset: 0.16em;
}

.wp-site-blocks {
	padding: 0;
}

.bfn-site-header {
	background: var(--bfn-soft);
	border-bottom: 1px solid #e2e8eb;
	position: relative;
	z-index: 50;
}

.bfn-header-inner {
	min-height: 132px;
	padding-left: 24px;
	padding-right: 24px;
}

.bfn-brand {
	align-items: center;
	color: var(--bfn-olive);
	display: inline-flex;
	gap: 14px;
	line-height: 1;
	min-width: 260px;
	text-decoration: none;
}

.bfn-brand:hover,
.bfn-brand:focus {
	color: var(--bfn-green-dark);
}

.bfn-brand-mark {
	align-items: flex-end;
	display: inline-flex;
	gap: 5px;
	height: 62px;
	justify-content: center;
	position: relative;
	width: 54px;
}

.bfn-brand-mark::after {
	background: currentColor;
	content: "";
	height: 7px;
	left: 1px;
	position: absolute;
	right: 1px;
	top: 31px;
}

.bfn-brand-mark i {
	background: currentColor;
	display: block;
	height: 50px;
	position: relative;
	width: 12px;
}

.bfn-brand-mark i:nth-child(2) {
	height: 59px;
}

.bfn-brand-mark i::before {
	border-bottom: 9px solid currentColor;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	content: "";
	left: 0;
	position: absolute;
	top: -9px;
}

.bfn-brand-copy {
	display: flex;
	flex-direction: column;
	gap: 7px;
	text-transform: uppercase;
}

.bfn-brand-copy strong {
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.11em;
}

.bfn-brand-copy small {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.24em;
}

.bfn-nav a {
	color: #183a2b !important;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
}

.bfn-nav a:hover,
.bfn-nav a:focus {
	color: var(--bfn-green) !important;
}

.bfn-nav .wp-block-navigation__submenu-container {
	background: #fff !important;
	border: 1px solid var(--bfn-line) !important;
	box-shadow: var(--bfn-shadow);
	min-width: 225px !important;
	padding: 8px !important;
}

.bfn-header-call .bfn-phone-button {
	border-radius: 0;
	font-size: 1.05rem;
	font-weight: 500;
	min-width: 170px;
	padding: 14px 21px;
}

.bfn-phone-button,
.bfn-button,
.wp-block-button.bfn-button .wp-block-button__link,
.bfn-profile-button {
	align-items: center;
	background: var(--bfn-green);
	border: 0;
	border-radius: 9999px;
	box-shadow: none;
	color: #fff;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 500;
	justify-content: center;
	line-height: 1.2;
	padding: 15px 30px;
	text-align: center;
	text-decoration: none;
	transition: background 150ms ease, transform 150ms ease;
}

.bfn-phone-button:hover,
.bfn-phone-button:focus,
.bfn-button:hover,
.bfn-button:focus,
.wp-block-button.bfn-button .wp-block-button__link:hover,
.wp-block-button.bfn-button .wp-block-button__link:focus,
.bfn-profile-button:hover,
.bfn-profile-button:focus {
	background: var(--bfn-green-dark);
	color: #fff;
	transform: translateY(-1px);
}

.bfn-hero,
.bfn-page-hero {
	background-image: linear-gradient(rgba(25, 35, 31, 0.66), rgba(25, 35, 31, 0.66));
	background-position: center;
	background-size: cover;
	color: #fff;
	padding: 56px 24px 64px;
}

.bfn-hero-image-vinyl-yard {
	background-image: linear-gradient(rgba(25, 35, 31, 0.64), rgba(25, 35, 31, 0.64)), url("assets/images/generated-heroes/vinyl-fence-hero-brooksville.webp");
}

.bfn-hero-image-vinyl-long {
	background-image: linear-gradient(rgba(25, 35, 31, 0.64), rgba(25, 35, 31, 0.64)), url("assets/images/generated-body/vinyl-fence-long-brooksville.webp");
}

.bfn-hero-image-vinyl-home {
	background-image: linear-gradient(rgba(25, 35, 31, 0.64), rgba(25, 35, 31, 0.64)), url("assets/images/generated-body/vinyl-fence-gate-brooksville.webp");
}

.bfn-hero-image-wood-hero {
	background-image: linear-gradient(rgba(25, 35, 31, 0.62), rgba(25, 35, 31, 0.62)), url("assets/images/generated-heroes/wood-fence-hero-brooksville.webp");
}

.bfn-hero-image-wood-close {
	background-image: linear-gradient(rgba(25, 35, 31, 0.62), rgba(25, 35, 31, 0.62)), url("assets/images/wood-fence-installation-brooksville.jpg");
}

.bfn-hero-image-chain-link {
	background-image: linear-gradient(rgba(20, 31, 27, 0.65), rgba(20, 31, 27, 0.65)), url("assets/images/generated-heroes/chain-link-fence-hero-brooksville.webp");
}

.bfn-hero-image-commercial {
	background-image: linear-gradient(rgba(20, 31, 27, 0.65), rgba(20, 31, 27, 0.65)), url("assets/images/generated-heroes/commercial-fence-hero-brooksville.webp");
	background-position: center 42%;
}

.bfn-hero-image-aluminum {
	background-image: linear-gradient(rgba(20, 31, 27, 0.62), rgba(20, 31, 27, 0.62)), url("assets/images/generated-heroes/aluminum-fence-hero-brooksville.webp");
}

.bfn-hero-image-farm {
	background-image: linear-gradient(rgba(25, 35, 31, 0.61), rgba(25, 35, 31, 0.61)), url("assets/images/generated-heroes/farm-fence-hero-brooksville.webp");
}

.bfn-hero-image-automatic-gate {
	background-image: linear-gradient(rgba(25, 35, 31, 0.62), rgba(25, 35, 31, 0.62)), url("assets/images/generated-heroes/automatic-gate-hero-brooksville.webp");
}

.bfn-hero-grid {
	align-items: center !important;
	column-gap: clamp(38px, 6vw, 84px) !important;
}

.bfn-hero-grid > .wp-block-column:first-child {
	text-align: center;
}

.bfn-hero h1,
.bfn-page-hero h1 {
	color: #fff;
	font-family: inherit;
	font-size: clamp(2.15rem, 4vw, 3rem);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.22;
	margin: 0 auto 22px;
	max-width: 720px;
}

.bfn-hero-lede {
	color: #fff;
	font-size: clamp(1.12rem, 1.8vw, 1.34rem);
	font-weight: 600;
	line-height: 1.5;
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
}

.bfn-hero-trustline {
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 26px 0 0;
}

.bfn-hero-actions {
	justify-content: center;
	margin-top: 27px;
}

.bfn-hero-actions .bfn-phone-button {
	background: var(--bfn-orange);
	font-weight: 600;
}

.bfn-hero-actions .bfn-phone-button:hover,
.bfn-hero-actions .bfn-phone-button:focus {
	background: var(--bfn-orange-dark);
}

.bfn-serving-line {
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	margin: 28px 0 0;
}

.bfn-ocean-logo {
	display: inline-block;
	margin: 24px auto 0;
	max-width: 108px;
}

.bfn-ocean-logo img {
	height: auto;
	width: 100%;
}

.bfn-quote-wrap {
	background: #ededed;
	border-radius: 8px;
	box-shadow: var(--bfn-shadow);
	margin: 0;
	padding: 20px;
	text-align: left;
}

.bfn-quote-wrap iframe {
	display: block;
	min-height: 430px;
	width: 100%;
}

.bfn-section {
	padding: clamp(46px, 6vw, 72px) 24px;
}

.bfn-section-tight {
	padding: 40px 24px;
}

.bfn-section-soft,
.bfn-section-sage,
.bfn-section-cream {
	background: var(--bfn-soft-green);
}

.bfn-section-dark {
	background: var(--bfn-green-dark);
	color: #fff;
}

.bfn-section-dark h2,
.bfn-section-dark h3,
.bfn-section-dark p,
.bfn-section-dark a {
	color: #fff;
}

.bfn-section h2,
.bfn-section-tight h2 {
	color: var(--bfn-green);
	font-family: inherit;
	font-size: clamp(1.75rem, 3vw, 2.2rem);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.25;
	margin-bottom: 20px;
	margin-top: 0;
}

.bfn-section h3,
.bfn-section-tight h3 {
	color: var(--bfn-green);
	font-family: inherit;
	font-size: clamp(1.35rem, 2.2vw, 1.72rem);
	font-weight: 600;
	line-height: 1.3;
}

.bfn-eyebrow {
	color: var(--bfn-olive);
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.15em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.bfn-intro {
	color: var(--bfn-muted);
	font-size: 1.04rem;
	line-height: 1.75;
}

.bfn-copy p,
.bfn-copy li {
	font-size: 1rem;
	line-height: 1.72;
}

.bfn-copy a:not(.wp-element-button):not(.bfn-phone-button):not(.bfn-profile-button) {
	color: var(--bfn-green);
	font-weight: 600;
}

.bfn-home-intro .bfn-phone-button,
.bfn-callout .bfn-phone-button,
.bfn-fence-types .bfn-phone-button {
	display: flex;
	margin: 30px auto 0;
	max-width: 360px;
}

.bfn-section-images {
	padding-bottom: 30px;
	padding-top: 10px;
}

.bfn-image-row {
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.bfn-image-row .wp-block-image {
	border-radius: 2px;
	height: 280px;
	margin: 0;
	overflow: hidden;
	width: 100% !important;
}

.bfn-image-row .wp-block-image img {
	display: block;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	width: 100% !important;
}

.bfn-fence-types h3 {
	border-top: 1px solid var(--bfn-line);
	margin-bottom: 12px;
	margin-top: 38px;
	padding-top: 24px;
}

.bfn-fence-types h2 + .bfn-intro + h3,
.bfn-fence-types h2 + p + h3 {
	border-top: 0;
	padding-top: 0;
}

.bfn-story-split {
	align-items: center !important;
	column-gap: clamp(36px, 6vw, 78px) !important;
}

.bfn-story-split h3 {
	font-size: 1.26rem;
	margin-bottom: 8px;
	margin-top: 28px;
}

.bfn-story-image {
	height: 590px;
	margin: 0;
	overflow: hidden;
}

.bfn-story-image img {
	display: block;
	height: 100% !important;
	object-fit: cover;
	width: 100% !important;
}

.bfn-call-bar {
	background: var(--bfn-green);
	border-radius: 9999px;
	color: #fff;
	display: block;
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	font-weight: 600;
	margin: 20px auto 56px;
	max-width: 700px;
	padding: 18px 28px;
	text-align: center;
	text-decoration: none;
}

.bfn-call-bar:hover,
.bfn-call-bar:focus {
	background: var(--bfn-green-dark);
	color: #fff;
}

.bfn-area-list {
	margin: 26px 0;
	padding-left: 1.2em;
}

.bfn-area-list li {
	margin-bottom: 12px;
}

.bfn-profile-card {
	background: #fff;
	border: 1px solid var(--bfn-line);
	margin-top: 28px;
	padding: 24px;
}

.bfn-profile-card strong {
	color: var(--bfn-green);
	display: block;
	font-size: 1.2rem;
}

.bfn-profile-card p {
	margin: 8px 0 18px;
}

.bfn-map-card {
	background: #fff;
	border: 1px solid var(--bfn-line);
	margin-top: 30px;
	overflow: hidden;
}

.bfn-map-card iframe {
	border: 0;
	display: block;
	height: 450px;
	width: 100%;
}

.bfn-map-copy {
	padding: 24px;
}

.bfn-map-copy strong {
	color: var(--bfn-green);
	display: block;
	font-size: 1.2rem;
}

.bfn-map-copy p {
	margin: 8px 0 18px;
}

.bfn-faqs {
	border-top: 1px solid var(--bfn-line);
}

.bfn-faq-item {
	border-bottom: 1px solid var(--bfn-line);
	margin: 0;
	padding: 22px 0;
}

.bfn-faq-item h3 {
	color: var(--bfn-green);
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.45;
	margin: 0 0 8px;
}

.bfn-faq-item p {
	color: var(--bfn-ink);
	line-height: 1.72;
	margin: 0;
}

.bfn-callout {
	border-top: 1px solid var(--bfn-line);
	text-align: center;
}

.bfn-callout .bfn-intro {
	margin-left: auto;
	margin-right: auto;
	max-width: 830px;
}

.bfn-trust-strip {
	background: var(--bfn-soft-green);
	border-bottom: 1px solid var(--bfn-line);
	padding: 18px 24px;
}

.bfn-trust-items {
	display: grid;
	gap: 12px 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1180px;
}

.bfn-trust-item {
	align-items: center;
	display: flex;
	font-size: 0.9rem;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	text-align: center;
}

.bfn-check {
	color: var(--bfn-green);
	font-weight: 700;
}

.bfn-card-grid,
.bfn-location-grid,
.bfn-process-grid {
	display: grid !important;
	gap: 22px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bfn-card,
.bfn-location-card {
	background: #fff;
	border: 1px solid var(--bfn-line);
	height: 100%;
	padding: 26px;
}

.bfn-card-number {
	color: var(--bfn-orange);
	font-size: 1.25rem;
	font-weight: 700;
}

.bfn-split {
	align-items: center !important;
	column-gap: clamp(36px, 7vw, 92px) !important;
}

.bfn-feature-image img {
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.bfn-gallery {
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bfn-gallery figure {
	height: 290px;
	margin: 0;
	overflow: hidden;
}

.bfn-gallery img {
	height: 100% !important;
	object-fit: cover;
	width: 100% !important;
}

.bfn-note {
	background: #fff7ed;
	border-left: 4px solid var(--bfn-orange);
	padding: 18px 20px;
}

.bfn-site-footer {
	background: var(--bfn-soft);
	border-top: 1px solid #dce3e6;
	color: #26372d;
	padding: 52px 24px 24px;
}

.bfn-site-footer h2,
.bfn-site-footer h3,
.bfn-site-footer a {
	color: var(--bfn-green);
}

.bfn-site-footer .bfn-phone-button {
	color: #fff;
}

.bfn-footer-grid {
	display: grid !important;
	gap: 36px !important;
	grid-template-columns: 1.3fr repeat(3, minmax(0, 0.82fr));
}

.bfn-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bfn-footer-links li {
	margin: 0 0 9px;
}

.bfn-footer-links a {
	font-size: 0.92rem;
	text-decoration: none;
}

.bfn-footer-bottom {
	border-top: 1px solid var(--bfn-line);
	font-size: 0.82rem;
	margin-top: 36px;
	padding-top: 20px;
}

.bfn-mobile-call {
	display: none;
}

.bfn-legal {
	max-width: 900px;
}

.bfn-legal h2 {
	font-size: 1.55rem;
	margin-top: 38px;
}

@media (max-width: 1080px) {
	.bfn-header-inner {
		min-height: 96px;
	}

	.bfn-brand {
		min-width: 220px;
	}

	.bfn-header-call {
		display: none;
	}

	.bfn-nav a {
		font-size: 0.84rem;
	}
}

@media (max-width: 781px) {
	body {
		font-size: 17px;
	}

	.bfn-header-inner {
		min-height: 82px;
		padding-left: 18px;
		padding-right: 18px;
	}

	.bfn-brand {
		gap: 10px;
		min-width: 0;
	}

	.bfn-brand-mark {
		height: 48px;
		transform: scale(0.82);
		transform-origin: left center;
		width: 45px;
	}

	.bfn-brand-copy strong {
		font-size: 0.72rem;
	}

	.bfn-brand-copy small {
		font-size: 0.58rem;
	}

	.bfn-nav .wp-block-navigation__responsive-container.is-menu-open {
		background: var(--bfn-soft);
		color: var(--bfn-ink);
		padding: 28px;
	}

	.bfn-nav .wp-block-navigation__responsive-container-close,
	.bfn-nav .wp-block-navigation__responsive-container-open {
		color: var(--bfn-green);
	}

	.bfn-hero,
	.bfn-page-hero {
		padding-bottom: 48px;
		padding-top: 48px;
	}

	.bfn-hero-grid {
		gap: 38px !important;
	}

	.bfn-hero-grid > .wp-block-column:first-child {
		flex-basis: 100% !important;
	}

	.bfn-quote-wrap {
		margin-left: auto;
		margin-right: auto;
		max-width: 560px;
	}

	.bfn-image-row,
	.bfn-gallery,
	.bfn-footer-grid,
	.bfn-card-grid,
	.bfn-location-grid,
	.bfn-process-grid {
		grid-template-columns: 1fr;
	}

	.bfn-image-row .wp-block-image,
	.bfn-gallery figure {
		height: 320px;
	}

	.bfn-story-split {
		gap: 28px !important;
	}

	.bfn-story-reverse {
		flex-direction: column-reverse;
	}

	.bfn-story-image {
		height: 380px;
	}

	.bfn-trust-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bfn-mobile-call {
		background: var(--bfn-orange);
		bottom: 0;
		display: block;
		left: 0;
		padding: 9px 14px;
		position: fixed;
		right: 0;
		text-align: center;
		z-index: 60;
	}

	.bfn-mobile-call .bfn-phone-button {
		background: transparent;
		color: #fff;
		font-weight: 700;
		padding: 7px 12px;
		width: 100%;
	}

	.bfn-site-footer {
		padding-bottom: 88px;
	}
}

@media (max-width: 520px) {
	.bfn-hero,
	.bfn-page-hero,
	.bfn-section,
	.bfn-section-tight {
		padding-left: 18px;
		padding-right: 18px;
	}

	.bfn-hero h1,
	.bfn-page-hero h1 {
		font-size: clamp(2rem, 9.6vw, 2.55rem);
	}

	.bfn-hero-actions .bfn-phone-button {
		font-size: 0.92rem;
		padding-left: 20px;
		padding-right: 20px;
		width: 100%;
	}

	.bfn-hero-trustline {
		font-size: 0.9rem;
	}

	.bfn-quote-wrap {
		padding: 14px;
	}

	.bfn-image-row .wp-block-image,
	.bfn-gallery figure {
		height: 250px;
	}

	.bfn-story-image {
		height: 300px;
	}

	.bfn-map-card iframe {
		height: 340px;
	}

	.bfn-trust-items {
		grid-template-columns: 1fr;
	}

	.bfn-call-bar {
		border-radius: 0;
		margin-bottom: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.bfn-phone-button,
	.bfn-button,
	.wp-block-button.bfn-button .wp-block-button__link,
	.bfn-profile-button {
		transition: none;
	}
}
