/*
Theme Name: Blu Junk Removal
Theme URI: https://blujunkremoval.com
Description: Fully custom standalone theme for the Blu Junk Removal website. No parent theme, no page builder. Brand: primary blue #2C5EDD, Astro Regular logo font, Open Sans body.
Author: Blu Junk Removal
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blu-junk-removal
*/

/* Astro Regular (logo font). Drop the licensed font files into assets/fonts/
   and uncomment this rule. Until then headings fall back to Open Sans. */
/*
@font-face {
	font-family: 'Astro';
	src: url('assets/fonts/astro-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
*/

/* =========================================================
   1. Design tokens
   ========================================================= */

:root {
	/* Brand */
	--blu-primary: #2C5EDD;
	--blu-primary-dark: #1E3F94;
	--blu-primary-deep: #15296B;
	--blu-primary-light: #DCE6FB;
	--blu-bg-tint: #F4F7FE;
	--blu-bg-tint-2: #EAF0FC;

	/* Neutrals */
	--blu-ink: #16243D;
	--blu-text: #2B3442;
	--blu-muted: #5C6675;
	--blu-line: #DCE2EC;
	--blu-surface: #FFFFFF;

	/* Reserved warm accent (review stars, badges) */
	--blu-star: #F5A623;

	/* Type */
	--font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
	--font-display: 'Astro', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
	--fs-h1: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
	--fs-h2: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
	--fs-h3: clamp(1.08rem, 1rem + 0.4vw, 1.2rem);
	--fs-body: 1.0625rem;

	/* Rhythm */
	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2.25rem;
	--space-5: 3.5rem;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow-sm: 0 1px 3px rgba(22, 36, 61, 0.08);
	--shadow-md: 0 6px 20px rgba(22, 36, 61, 0.1);
	--shadow-lg: 0 14px 40px rgba(22, 36, 61, 0.14);
}

/* =========================================================
   2. Base
   ========================================================= */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.7;
	color: var(--blu-text);
	background: var(--blu-surface);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--blu-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover,
a:focus {
	color: var(--blu-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--blu-ink);
	line-height: 1.22;
	margin: 0 0 0.5em;
	font-weight: 700;
	letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
	margin: 0 0 1em;
}

.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

:focus-visible {
	outline: 3px solid var(--blu-primary);
	outline-offset: 2px;
}

/* =========================================================
   3. Buttons
   ========================================================= */

.button,
.wp-block-button__link,
.wpcf7-submit {
	display: inline-block;
	background: var(--blu-primary);
	color: #fff;
	padding: 0.75em 1.5em;
	border: 2px solid var(--blu-primary);
	border-radius: 999px;
	text-decoration: none;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
	box-shadow: var(--shadow-sm);
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wpcf7-submit:hover,
.wpcf7-submit:focus {
	background: var(--blu-primary-dark);
	border-color: var(--blu-primary-dark);
	color: #fff;
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}

.button-lg {
	padding: 0.95em 1.9em;
	font-size: 1.05rem;
}

.button-outline {
	background: #fff;
	color: var(--blu-primary);
}

.button-outline:hover,
.button-outline:focus {
	background: var(--blu-bg-tint);
	color: var(--blu-primary-dark);
	border-color: var(--blu-primary-dark);
}

.wp-block-buttons {
	margin: var(--space-3) 0;
}

/* =========================================================
   4. Header
   ========================================================= */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--blu-line);
	box-shadow: var(--shadow-sm);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.site-branding {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.site-logo {
	display: block;
	line-height: 0;
}

.site-logo img {
	height: 58px;
	width: auto;
	display: block;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	order: 3;
}

.header-cta {
	font-size: 0.9rem;
	padding: 0.5em 1.05em;
	white-space: nowrap;
}

/* =========================================================
   5. Primary navigation
   ========================================================= */

.nav-toggle {
	display: none;
	background: none;
	border: 2px solid var(--blu-primary);
	border-radius: 8px;
	color: var(--blu-primary);
	font: inherit;
	font-weight: 700;
	padding: 0.4em 0.85em;
	cursor: pointer;
}

.main-nav {
	order: 2;
}

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.1rem;
	align-items: center;
}

.main-nav a {
	display: block;
	padding: 0.55em 0.85em;
	text-decoration: none;
	color: var(--blu-ink);
	font-weight: 600;
	font-size: 0.98rem;
	border-radius: 8px;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
	color: var(--blu-primary);
	background: var(--blu-bg-tint);
}

.main-nav .menu-item-has-children {
	position: relative;
}

.main-nav .menu-item-has-children > a::after {
	content: " \25BE";
	font-size: 0.7em;
	opacity: 0.7;
}

/* Dropdown: no hover gap (menu starts at trigger's edge), a generous hit
   area, and a short close delay so the pointer can travel without losing it. */

.main-nav .sub-menu {
	display: flex;
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	flex-direction: column;
	align-items: stretch;
	background: #fff;
	border: 1px solid var(--blu-line);
	border-top: 3px solid var(--blu-primary);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-lg);
	padding: 0.4rem;
	z-index: 110;
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.25s;
}

.main-nav .sub-menu a {
	padding: 0.65em 0.9em;
}

.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0s;
}

/* =========================================================
   6. Heroes
   ========================================================= */

.hero {
	background:
		radial-gradient(1100px 500px at 85% -10%, var(--blu-bg-tint-2), transparent 60%),
		linear-gradient(180deg, var(--blu-bg-tint) 0%, #fff 100%);
	border-bottom: 1px solid var(--blu-line);
	padding: var(--space-5) 0;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--space-4);
	align-items: center;
}

.hero h1 {
	margin-bottom: 0.3rem;
}

.hero .hero-tagline {
	font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
	font-weight: 700;
	color: var(--blu-primary-dark);
	margin: 0 0 0.9rem;
}

.hero .hero-intro {
	font-size: 1.1rem;
	color: var(--blu-text);
	margin: 0 0 1.6rem;
	max-width: 60ch;
}

.hero .hero-buttons {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin: 0;
}

/* Inner page hero band */

.page-hero {
	background: linear-gradient(135deg, var(--blu-primary-deep) 0%, var(--blu-primary-dark) 55%, var(--blu-primary) 130%);
	padding: clamp(2rem, 1.4rem + 2.4vw, 3.25rem) 0;
}

.page-hero h1 {
	color: #fff;
	margin: 0;
	max-width: 26ch;
}

/* =========================================================
   7. Content layout & sections
   ========================================================= */

.site-main {
	min-height: 50vh;
}

.content-wrap {
	padding-top: var(--space-4);
	padding-bottom: var(--space-5);
}

.entry-content {
	max-width: 880px;
}

.entry-content > .content-section,
.entry-content > .section--intro {
	margin: 0 0 var(--space-4);
}

.content-section > h2 {
	margin-bottom: 0.8rem;
	padding-bottom: 0.45rem;
	border-bottom: 3px solid var(--blu-primary-light);
	display: block;
}

.entry-content ul {
	padding-left: 1.3rem;
}

.entry-content li {
	margin: 0.3em 0;
}

/* Use-case card grids — column count is set per item count by ui.js
   (cards-cols-2 / cards-cols-3) so rows always fill cleanly. */

.usecase-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--space-2);
	margin: var(--space-2) 0;
}

.usecase-grid.cards-cols-2,
.svc-grid.cards-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.usecase-grid.cards-cols-3,
.svc-grid.cards-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-span-all {
	grid-column: 1 / -1;
}

.usecase-card {
	margin: 0;
	background: var(--blu-surface);
	border: 1px solid var(--blu-line);
	border-top: 4px solid var(--blu-primary);
	border-radius: var(--radius);
	padding: 1.1rem 1.2rem;
	box-shadow: var(--shadow-sm);
	font-size: 0.99rem;
}

.uc-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--blu-bg-tint-2);
	color: var(--blu-primary);
	margin-bottom: 0.65rem;
}

.uc-icon svg {
	width: 22px;
	height: 22px;
}

/* "What we remove / what's involved" feature panels */

.section--list > p {
	background: var(--blu-bg-tint);
	border-left: 5px solid var(--blu-primary);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 1.1rem 1.3rem;
}

/* Same-day service callout */

.section--callout {
	background: linear-gradient(135deg, var(--blu-primary) 0%, var(--blu-primary-dark) 120%);
	border-radius: var(--radius-lg);
	padding: 1.5rem 1.75rem 1.1rem;
	box-shadow: var(--shadow-md);
}

.section--callout > h2 {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.35);
}

.section--callout > p {
	color: #F2F6FF;
}

.section--callout a {
	color: #fff;
}

/* Serving / where-we-work band */

.section--serving {
	background: var(--blu-bg-tint);
	border: 1px solid var(--blu-line);
	border-radius: var(--radius-lg);
	padding: 1.5rem 1.75rem 1.1rem;
}

/* CTA sections */

.section--cta {
	text-align: center;
	background: var(--blu-bg-tint);
	border: 1px solid var(--blu-line);
	border-radius: var(--radius-lg);
	padding: 1.75rem 1.5rem 1.5rem;
}

.section--cta > h2 {
	border-bottom: 0;
	padding-bottom: 0;
}

.section--cta .wp-block-buttons {
	justify-content: center;
	display: flex;
	margin-bottom: 0;
}

/* Reviews placeholder section (Home) */

.section--reviews {
	text-align: center;
	background: #fff;
	border: 1px solid var(--blu-line);
	border-radius: var(--radius-lg);
	padding: 1.75rem 1.5rem;
	box-shadow: var(--shadow-sm);
}

.section--reviews > h2 {
	border-bottom: 0;
	padding-bottom: 0;
}

.section--reviews > h2::before {
	content: "\2605\2605\2605\2605\2605";
	display: block;
	color: var(--blu-star);
	font-size: 1.3rem;
	letter-spacing: 0.18em;
	margin-bottom: 0.3rem;
}

.reviews-placeholder {
	color: var(--blu-muted);
	border: 2px dashed var(--blu-line);
	border-radius: var(--radius);
	padding: 1.5rem;
	margin: 0;
}

/* FAQ accordion */

.faq-item {
	border: 1px solid var(--blu-line);
	border-radius: var(--radius);
	background: #fff;
	margin-bottom: 0.6rem;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 0.95rem 2.6rem 0.95rem 1.2rem;
	font-weight: 700;
	color: var(--blu-ink);
	position: relative;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--blu-primary);
	transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
	content: "\2212";
}

.faq-item[open] summary {
	background: var(--blu-bg-tint);
	border-bottom: 1px solid var(--blu-line);
}

.faq-item > p {
	padding: 0.9rem 1.2rem 0;
	margin: 0 0 0.9rem;
}

/* Directory / service cards */

.svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: var(--space-2);
	margin: var(--space-2) 0;
}

.svc-card {
	margin: 0;
	background: #fff;
	border: 1px solid var(--blu-line);
	border-radius: var(--radius);
	padding: 1.15rem 1.25rem;
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
	font-size: 0.97rem;
	color: var(--blu-muted);
}

.svc-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
	border-color: var(--blu-primary-light);
}

.svc-card > strong {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 1.04rem;
}

.svc-card > strong a {
	text-decoration: none;
	color: var(--blu-primary-dark);
}

.svc-card > strong a::after {
	content: " \2192";
	color: var(--blu-primary);
}

.svc-card > strong a:hover {
	color: var(--blu-primary);
	text-decoration: underline;
}

/* Hub pages: wider content for card grids */

.page-type-hub .entry-content,
.home .entry-content {
	max-width: none;
}

.page-type-hub .svc-grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Area link lists -> pill tags (Service Areas hub, Cypress page, area pages) */

.page-type-area .entry-content ul,
.page-service-areas .entry-content ul,
.page-cypress-junk-removal .entry-content ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: var(--space-2) 0;
}

.page-type-area .entry-content ul li,
.page-service-areas .entry-content ul li,
.page-cypress-junk-removal .entry-content ul li {
	margin: 0;
}

.page-type-area .entry-content ul a,
.page-service-areas .entry-content ul a,
.page-cypress-junk-removal .entry-content ul a {
	display: inline-block;
	background: #fff;
	border: 1.5px solid var(--blu-primary-light);
	border-radius: 999px;
	padding: 0.45em 1.1em;
	font-weight: 600;
	text-decoration: none;
	color: var(--blu-primary-dark);
	box-shadow: var(--shadow-sm);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.page-type-area .entry-content ul a:hover,
.page-service-areas .entry-content ul a:hover,
.page-cypress-junk-removal .entry-content ul a:hover {
	border-color: var(--blu-primary);
	background: var(--blu-bg-tint);
}

/* =========================================================
   8. Image placeholders (real job photos drop in later)
   ========================================================= */

.img-placeholder {
	margin: 0;
	background:
		repeating-linear-gradient(45deg, #F1F4F9 0 14px, #E9EEF6 14px 28px);
	border: 2px dashed #C3CDDE;
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	min-width: 0;
	aspect-ratio: 16 / 9;
}

.img-placeholder figcaption {
	color: var(--blu-muted);
	font-size: 0.92rem;
	font-weight: 600;
	padding: 1rem;
	max-width: 36ch;
}

.hero-media {
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow-md);
}

.hero-grid > * {
	min-width: 0;
}

.page-media {
	margin-bottom: var(--space-4);
	max-width: 880px;
}

/* Mid-page image break on service pages */

.inline-media {
	aspect-ratio: 2 / 1;
	margin: var(--space-4) 0;
}

/* Hero / mid-page real photo with a Before/After badge */

.img-photo {
	position: relative;
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.img-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.page-media.img-photo,
.inline-media.img-photo,
.area-hero-photo {
	aspect-ratio: 16 / 9;
}

/* Neighborhood hero photo: prominent, full content width, title sits above it */
.area-hero-photo {
	margin: 0 0 var(--space-4);
}

/* Trio hero: landscape center + two portrait sides, all equal height. The
   1fr/2fr/1fr columns + aspect ratios (sides 3:4, center 3:2) make the heights
   match; sides are top-anchored so any crop comes off the bottom. */
.trio-hero {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: var(--space-3);
	margin: 0 0 var(--space-4);
	align-items: start;
}

.trio-hero figure {
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.trio-hero .trio-side {
	aspect-ratio: 3 / 4;
}

.trio-hero .trio-center {
	aspect-ratio: 3 / 2;
}

.trio-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.trio-hero .trio-side img {
	object-position: top;
}

@media (max-width: 640px) {
	.trio-hero {
		grid-template-columns: 1fr;
	}
}

/* Hub hero: a row of photos (side by side desktop, stacked mobile) */
.hub-hero-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-3);
	margin: 0 0 var(--space-4);
}

.hub-hero-grid .img-photo {
	aspect-ratio: 4 / 3;
}

@media (max-width: 640px) {
	.hub-hero-grid {
		grid-template-columns: 1fr;
	}
}

/* Service Areas hub map: full width, shown whole (no crop), no overlay */
.area-hero-map {
	margin: 0 0 var(--space-4);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.area-hero-map img {
	display: block;
	width: 100%;
	height: auto;
}

.page-media.img-photo {
	margin-bottom: var(--space-4);
}

.inline-media.img-photo {
	margin: var(--space-4) 0;
}

.photo-badge {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 2;
	background: var(--blu-primary);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.34em 0.95em;
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
}

/* Before/after unit — the pair(s) sit together as a block (a mid-page break
   before "How It Works"); side by side on desktop, stacked on mobile, with the
   "Before"/"After" label beneath each image. */

.ba-block {
	margin: 0 0 var(--space-5);
}

.ba-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
}

.ba-grid + .ba-grid {
	margin-top: var(--space-3);
}

.ba-item {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 0;
}

.ba-media {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

img.ba-media {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ba-media.img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.ba-media.img-placeholder span {
	color: var(--blu-muted);
	font-size: 0.9rem;
	font-weight: 600;
	padding: 1rem;
}

.ba-label {
	text-align: center;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
	color: var(--blu-primary-dark);
}

/* Portrait pair: two equal 3:4 columns so both portrait photos sit side by side
   at identical dimensions (the default .ba-grid gives the two equal columns). */
.ba-block--portrait .ba-media {
	aspect-ratio: 3 / 4;
}

@media (max-width: 640px) {
	.ba-grid {
		grid-template-columns: 1fr;
	}
}

/* "How it works" gets a lighter, distinct treatment to break card repetition */

.section--how {
	border-left: 5px solid var(--blu-primary-light);
	padding-left: 1.4rem;
}

.section--how > h2 {
	border-bottom: 0;
	padding-bottom: 0;
}

/* =========================================================
   9. Contact layout & forms
   ========================================================= */

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--space-4);
	align-items: start;
}

.contact-info .content-section,
.contact-info h3 {
	margin-bottom: var(--space-2);
}

.contact-info h3 {
	margin-top: var(--space-3);
	margin-bottom: 0.2rem;
	color: var(--blu-primary-dark);
}

.contact-info h3:first-child {
	margin-top: 0;
}

.contact-form-col .wpcf7 {
	background: #fff;
	border: 1px solid var(--blu-line);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	box-shadow: var(--shadow-md);
}

.wpcf7 label {
	display: block;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--blu-ink);
	margin-bottom: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.7em 0.9em;
	font: inherit;
	font-weight: 400;
	color: var(--blu-text);
	border: 1.5px solid var(--blu-line);
	border-radius: 8px;
	background: #FCFDFF;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--blu-primary);
	box-shadow: 0 0 0 3px var(--blu-primary-light);
}

.wpcf7 textarea {
	min-height: 130px;
	resize: vertical;
}

.wpcf7-submit {
	width: 100%;
	font-size: 1.05rem;
}

.wpcf7 .wpcf7-not-valid-tip {
	color: #C0392B;
	font-size: 0.85rem;
	font-weight: 400;
}

/* Online booking widget (Contact page, full width below the form grid) */

/* Contact page: AutopilotApp booking embed (sits in the form column) */
.contact-booking-lead {
	margin-bottom: var(--space-3);
}

.contact-booking iframe {
	display: block;
	width: 100%;
	height: 900px;
	border: 0;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	background: #fff;
	overflow: hidden;
}

/* Home: bottom form gets the same card treatment, constrained width */

.home .section--cta .wpcf7 {
	background: #fff;
	border: 1px solid var(--blu-line);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	box-shadow: var(--shadow-md);
	max-width: 640px;
	margin: var(--space-2) auto 0;
	text-align: left;
}

/* =========================================================
   10. Footer & mobile CTA bar
   ========================================================= */

.site-footer {
	background: linear-gradient(160deg, var(--blu-primary-deep) 0%, var(--blu-primary-dark) 100%);
	color: #EAF0FC;
	margin-top: var(--space-5);
	padding: var(--space-5) 0 1.5rem;
	font-size: 0.96rem;
}

.site-footer a {
	color: #fff;
	text-decoration-color: rgba(255, 255, 255, 0.4);
}

.footer-cols {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 4.5rem;
	margin-bottom: 2.25rem;
}

.footer-cols h2 {
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.8rem;
	color: #fff;
}

.footer-cols ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-cols li {
	margin: 0.4em 0;
}

.footer-brand .footer-logo {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	color: #fff;
}

.social-links {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	gap: 0.6rem;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	transition: background-color 0.15s ease, transform 0.1s ease;
}

.social-links a:hover,
.social-links a:focus {
	background: var(--blu-primary);
	color: #fff;
	transform: translateY(-2px);
}

.site-info {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 1.25rem;
	font-size: 0.85rem;
	opacity: 0.8;
}

/* Mobile sticky call bar (hidden on desktop) */

.mobile-cta-bar {
	display: none;
}

/* =========================================================
   11. Responsive
   ========================================================= */

@media (max-width: 960px) {
	.hero-grid {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.usecase-grid.cards-cols-3,
	.svc-grid.cards-cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.usecase-grid.cards-cols-2,
	.usecase-grid.cards-cols-3,
	.svc-grid.cards-cols-2,
	.svc-grid.cards-cols-3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.nav-toggle {
		display: inline-block;
	}

	/* Call/Text live in the sticky bottom bar on mobile, so the header
	   keeps just the logo + Menu to avoid crowding. */
	.header-actions .header-cta {
		display: none;
	}

	.site-logo img {
		height: 46px;
	}

	.main-nav {
		flex-basis: 100%;
		display: none;
		order: 4;
		padding-bottom: 0.5rem;
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0.15rem;
	}

	.main-nav .sub-menu {
		display: flex;
		position: static;
		border: 0;
		border-left: 3px solid var(--blu-primary-light);
		border-radius: 0;
		box-shadow: none;
		margin-left: 0.9rem;
		padding: 0;
	}

	.hero {
		padding: var(--space-4) 0;
	}

	.hero .hero-buttons .button {
		width: 100%;
		text-align: center;
	}

	.section--callout,
	.section--serving,
	.section--cta {
		padding: 1.25rem 1.1rem 0.9rem;
	}

	/* Sticky bottom call bar */
	.mobile-cta-bar {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 120;
		box-shadow: 0 -4px 16px rgba(22, 36, 61, 0.18);
	}

	.mobile-cta {
		flex: 1;
		text-align: center;
		padding: 0.9em 0.2em;
		font-weight: 700;
		font-size: 0.8rem;
		line-height: 1.2;
		text-decoration: none;
	}

	.mobile-cta + .mobile-cta {
		border-left: 1px solid rgba(255, 255, 255, 0.22);
	}

	.mobile-cta-call,
	.mobile-cta-text {
		background: var(--blu-primary-dark);
		color: #fff;
	}

	.mobile-cta-estimate,
	.mobile-cta-book {
		background: var(--blu-primary);
		color: #fff;
	}

	body {
		padding-bottom: 3.6rem; /* clear the fixed bar */
	}

	.site-footer {
		padding-bottom: 1rem;
	}
}

/* =========================================================
   12. Round 3 — scroll reveal, hero, trust bar, sections
   ========================================================= */

/* Scroll reveal (only active once JS confirms motion is allowed) */

.anim-ready .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

.anim-ready .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.anim-ready .reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Reusable photo-background placeholder (hero, future bg images) */

.img-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 18px, rgba(255,255,255,0) 18px 36px),
		linear-gradient(135deg, var(--blu-primary-deep) 0%, var(--blu-primary-dark) 55%, var(--blu-primary) 120%);
	background-size: cover;
	background-position: center;
}

.img-bg-label {
	position: absolute;
	right: 12px;
	bottom: 10px;
	z-index: 2;
	font-size: 0.72rem;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.6);
	background: rgba(0, 0, 0, 0.28);
	padding: 0.2em 0.6em;
	border-radius: 6px;
}

/* Full-bleed hero */

.hero-full {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(500px, 78vh, 760px);
	padding: var(--space-5) 0;
	border-bottom: 0;
	color: #fff;
	background: var(--blu-primary-deep);
	overflow: hidden;
}

.hero-full .hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(8, 16, 32, 0.5) 0%, rgba(8, 16, 32, 0.72) 100%);
}

.hero-full .hero-inner {
	position: relative;
	z-index: 3;
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.hero-full h1 {
	color: #fff;
	font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem);
	margin-bottom: 0.4rem;
}

.hero-full .hero-tagline {
	color: #DCE6FB;
	font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
	font-weight: 700;
	margin: 0 0 1rem;
}

.hero-full .hero-intro {
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.12rem;
	max-width: 60ch;
	margin: 0 auto 1.8rem;
}

.hero-full .hero-buttons {
	display: flex;
	gap: 0.85rem;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
}

.button-outline-light,
.button-outline-light:link,
.button-outline-light:visited {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.85);
}

.button-outline-light:hover,
.button-outline-light:focus {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	border-color: #fff;
}

/* Trust signal bar */

.trust-bar {
	background: var(--blu-surface);
	border-bottom: 1px solid var(--blu-line);
	padding: var(--space-3) 0;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-2);
	text-align: center;
}

.trust-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.25rem 0.5rem;
}

.trust-item + .trust-item {
	border-left: 1px solid var(--blu-line);
}

.trust-num {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem);
	font-weight: 700;
	color: var(--blu-primary);
	line-height: 1.05;
}

.trust-star {
	color: var(--blu-star);
	margin-left: 1px;
}

.trust-label {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--blu-muted);
}

/* Reviews / testimonial */

.review-quote-mark {
	display: block;
	width: auto;
	height: auto;
	background: none;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 3.5rem;
	line-height: 0.6;
	color: var(--blu-primary-light);
	margin-bottom: 0.25rem;
}

/* Split section (About intro) */

.section--split,
.section--where {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: var(--space-4);
	align-items: center;
}

.section--split .split-media,
.section--where .where-map {
	aspect-ratio: 4 / 3;
	margin: 0;
	box-shadow: var(--shadow-md);
}

.section--split .split-text > h2,
.section--where .where-text > h2 {
	margin-bottom: 0.8rem;
	padding-bottom: 0.45rem;
	border-bottom: 3px solid var(--blu-primary-light);
}

/* Service category cards (home "What We Do") */

.section--categories .svc-card--feature {
	color: var(--blu-text);
	padding: 1.6rem 1.4rem;
}

.cat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: var(--blu-primary);
	color: #fff;
	margin-bottom: 0.9rem;
}

.cat-icon svg {
	width: 28px;
	height: 28px;
}

.learn-more {
	display: inline-block;
	margin-top: 0.6rem;
	color: var(--blu-primary);
	font-weight: 700;
	font-size: 0.95rem;
}

/* How It Works — process flow */

.section--how {
	background: var(--blu-bg-tint);
	border: 1px solid var(--blu-line);
	border-left: 1px solid var(--blu-line);
	border-radius: var(--radius-lg);
	padding: 1.75rem 1.75rem 1.4rem;
}

.section--how > h2 {
	border-bottom: 0;
	padding-bottom: 0;
}

.process-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-3);
	margin-top: var(--space-3);
}

.process-step {
	position: relative;
	text-align: center;
	padding: 0 0.5rem;
}

/* Connector line between steps (desktop) */
.process-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 32px;
	left: calc(50% + 40px);
	right: calc(-50% + 40px);
	height: 2px;
	background: var(--blu-primary-light);
	z-index: 0;
}

.process-icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 0.9rem;
	border-radius: 50%;
	background: var(--blu-primary);
	color: #fff;
	box-shadow: 0 6px 16px rgba(44, 94, 221, 0.35);
}

.process-icon svg {
	width: 28px;
	height: 28px;
}

.process-num {
	position: absolute;
	top: -4px;
	left: calc(50% + 18px);
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--blu-primary);
	color: var(--blu-primary);
	font-weight: 700;
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.process-step h3 {
	font-size: 1.08rem;
	margin: 0 0 0.35rem;
}

.process-step p {
	color: var(--blu-muted);
	font-size: 0.96rem;
	margin: 0;
}

/* Where We Work map sits left, text right (markup order: map, text) */

.section--where .where-text {
	align-self: center;
}

/* Bold CTA banner before footer */

.cta-banner {
	background: linear-gradient(135deg, var(--blu-primary) 0%, var(--blu-primary-dark) 100%);
	color: #fff;
	text-align: center;
	padding: var(--space-5) 0;
}

.cta-banner h2 {
	color: #fff;
	font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
	margin: 0 0 0.5rem;
}

.cta-banner p {
	color: rgba(255, 255, 255, 0.92);
	margin: 0;
}

.cta-banner-buttons {
	display: flex;
	gap: 0.85rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: var(--space-3);
}

.cta-banner .button:not(.button-outline-light) {
	background: #fff;
	color: var(--blu-primary);
	border-color: #fff;
}

.cta-banner .button:not(.button-outline-light):hover,
.cta-banner .button:not(.button-outline-light):focus {
	background: var(--blu-bg-tint);
	color: var(--blu-primary-dark);
	border-color: var(--blu-bg-tint);
}

/* Round 3 responsive */

@media (max-width: 900px) {
	.section--split,
	.section--where {
		grid-template-columns: 1fr;
	}

	.section--where .where-map {
		order: -1;
	}

	.process-steps {
		grid-template-columns: 1fr;
		gap: var(--space-2);
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.process-step:not(:last-child)::after {
		display: none;
	}

	.process-num {
		left: calc(50% + 18px);
	}
}

@media (max-width: 600px) {
	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--space-3) var(--space-2);
	}

	.trust-item:nth-child(odd) {
		border-left: 0;
	}

	.trust-item:nth-child(3),
	.trust-item:nth-child(4) {
		padding-top: var(--space-2);
		border-top: 1px solid var(--blu-line);
	}

	.hero-full {
		min-height: 70vh;
	}

	.hero-full .hero-buttons .button {
		width: 100%;
	}
}

/* =========================================================
   13. Real photos (hero bg, about split, service-area map)
   Falls back to gradient/placeholder until files are present.
   ========================================================= */

.hero-home .hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		url('assets/images/hero-bg.jpg'),
		linear-gradient(135deg, var(--blu-primary-deep) 0%, var(--blu-primary-dark) 55%, var(--blu-primary) 120%);
	background-size: cover, cover;
	background-position: center 35%, center;
	background-repeat: no-repeat, no-repeat;
}

/* Placeholder figure turned into a real photo by ui.js */

.img-placeholder.has-photo {
	background: none;
	border: 0;
	padding: 0;
	overflow: hidden;
}

.has-photo img {
	display: block;
	width: 100%;
	border-radius: var(--radius-lg);
}

.split-media.photo-cover {
	aspect-ratio: 4 / 3;
}

.split-media.photo-cover img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: var(--radius-lg);
}

/* Map: show the whole screenshot, full container width */

.where-map.photo-full {
	aspect-ratio: auto;
	box-shadow: var(--shadow-md);
	border-radius: var(--radius-lg);
}

.where-map.photo-full img {
	height: auto;
}
