/*!
Theme Name: Palm Coast Turf Pros
Theme URI: https://palmcoastturfpros.com
Author: Palm Coast Turf Pros
Author URI: https://palmcoastturfpros.com
Description: Custom WordPress theme for Palm Coast Turf Pros — artificial turf installation serving Palm Coast, Flagler County, and Northeast Florida. Built on Underscores (_s) conventions. Rank Math and WPForms Lite compatible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
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: palm-coast-turf-pros
Tags: custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

/* =============================================================
   Design tokens (brand palette + typography + layout scale)
   Derived from the logo. Strict 4-color palette: black / green /
   white / orange. Neutrals stay inside the green family.
============================================================= */
:root {
	/* Brand
	   Orange shifted to a deeper burnt orange during the Step 9
	   a11y audit — the original #F38B1C only got 2.46:1 with white
	   text, failing WCAG AA (4.5:1 required for normal text).
	   New value reaches 5.02:1 with white — passes AA with margin.
	   Trade-off: the trust-strip orange circle no longer reads as
	   highly distinct against the green band; the white checkmark
	   inside still has 5.02:1 contrast so the informational element
	   remains accessible, and the circle is decorative. */
	--pctp-green: #1F7A2E;
	--pctp-green-hover: #175F22;
	--pctp-green-tint: #E8F2EA;
	--pctp-orange: #B45309;         /* WCAG-AA with white text */
	--pctp-orange-hover: #92400E;   /* WCAG-AAA with white text */
	--pctp-black: #0E1411;
	--pctp-ink: #43524A;
	--pctp-white: #FFFFFF;
	--pctp-surface: #F5F8F4;

	/* Typography */
	--pctp-font-display: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--pctp-font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

	/* Type scale (fluid, clamp-based) */
	--pctp-fs-xs: 0.8125rem;
	--pctp-fs-sm: 0.9375rem;
	--pctp-fs-base: 1rem;
	--pctp-fs-md: 1.125rem;
	--pctp-fs-lg: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
	--pctp-fs-xl: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
	--pctp-fs-2xl: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
	--pctp-fs-3xl: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);

	/* Spacing */
	--pctp-space-1: 0.25rem;
	--pctp-space-2: 0.5rem;
	--pctp-space-3: 0.75rem;
	--pctp-space-4: 1rem;
	--pctp-space-5: 1.5rem;
	--pctp-space-6: 2rem;
	--pctp-space-8: 3rem;
	--pctp-space-10: 4rem;
	--pctp-space-12: 5rem;
	--pctp-space-16: 7rem;

	/* Layout */
	--pctp-container: 1200px;
	--pctp-container-narrow: 820px;
	--pctp-radius-sm: 4px;
	--pctp-radius: 8px;
	--pctp-radius-lg: 16px;
	--pctp-shadow-sm: 0 1px 2px rgba(14, 20, 17, 0.06), 0 1px 3px rgba(14, 20, 17, 0.08);
	--pctp-shadow: 0 4px 10px rgba(14, 20, 17, 0.08), 0 2px 4px rgba(14, 20, 17, 0.06);

	/* Motion */
	--pctp-transition: 180ms ease;
}

/* =============================================================
   Base reset
============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--pctp-font-body);
	font-size: var(--pctp-fs-base);
	line-height: 1.6;
	color: var(--pctp-black);
	background: var(--pctp-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pctp-font-display);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 var(--pctp-space-4);
	color: var(--pctp-black);
	letter-spacing: -0.01em;
}
h1 { font-size: var(--pctp-fs-3xl); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--pctp-fs-2xl); }
h3 { font-size: var(--pctp-fs-xl); }
h4 { font-size: var(--pctp-fs-lg); }
p { margin: 0 0 var(--pctp-space-4); }

a {
	color: var(--pctp-green);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color var(--pctp-transition);
}
a:hover, a:focus { color: var(--pctp-green-hover); }
a:focus-visible {
	outline: 3px solid var(--pctp-orange);
	outline-offset: 2px;
	border-radius: var(--pctp-radius-sm);
}

/* =============================================================
   Accessibility helpers
============================================================= */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--pctp-white); clip: auto !important; clip-path: none;
	color: var(--pctp-black); display: block; font-size: 0.875rem; font-weight: 700;
	height: auto; left: 8px; line-height: normal; padding: 16px 24px;
	text-decoration: none; top: 8px; width: auto; z-index: 100000;
}

.skip-link {
	background: var(--pctp-black); color: var(--pctp-white); padding: 12px 20px;
	position: absolute; left: -9999px; top: 8px; z-index: 100000;
	font-weight: 600; border-radius: var(--pctp-radius);
}
.skip-link:focus { left: 8px; color: var(--pctp-white); }

/* =============================================================
   Layout utilities
============================================================= */
.pctp-container {
	width: 100%;
	max-width: var(--pctp-container);
	margin-inline: auto;
	padding-inline: var(--pctp-space-5);
}
.pctp-container--narrow { max-width: var(--pctp-container-narrow); }

.pctp-section { padding-block: var(--pctp-space-12); }
@media (max-width: 767px) { .pctp-section { padding-block: var(--pctp-space-10); } }

/* =============================================================
   Buttons (CTA system)
   Primary = orange (conversion). Secondary = green outline.
============================================================= */
.pctp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--pctp-space-2);
	padding: 14px 28px;
	font-family: var(--pctp-font-display);
	font-weight: 700;
	font-size: var(--pctp-fs-base);
	line-height: 1;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--pctp-radius);
	cursor: pointer;
	transition: background var(--pctp-transition), color var(--pctp-transition), border-color var(--pctp-transition), transform var(--pctp-transition);
	min-height: 48px;
}
.pctp-btn:focus-visible { outline: 3px solid var(--pctp-black); outline-offset: 2px; }

.pctp-btn--primary {
	background: var(--pctp-orange);
	color: var(--pctp-white);
}
.pctp-btn--primary:hover, .pctp-btn--primary:focus {
	background: var(--pctp-orange-hover);
	color: var(--pctp-white);
}

.pctp-btn--secondary {
	background: transparent;
	color: var(--pctp-green);
	border-color: var(--pctp-green);
}
.pctp-btn--secondary:hover, .pctp-btn--secondary:focus {
	background: var(--pctp-green);
	color: var(--pctp-white);
}

.pctp-btn--ghost-light {
	background: transparent;
	color: var(--pctp-white);
	border-color: rgba(255, 255, 255, 0.5);
}
.pctp-btn--ghost-light:hover, .pctp-btn--ghost-light:focus {
	background: var(--pctp-white);
	color: var(--pctp-green);
	border-color: var(--pctp-white);
}

/* =============================================================
   Body / main
============================================================= */
.site-main { min-height: 50vh; }

/* Body scroll lock while the mobile nav is open. */
body.pctp-scroll-lock {
	overflow: hidden;
	position: fixed;
	width: 100%;
}

/* Utility: scaffolding-only placeholder. Safe to leave in CSS
   because front-page.php removes the note markup in Step 4. */
.pctp-scaffold-note {
	max-width: 640px;
	margin: var(--pctp-space-12) auto;
	padding: var(--pctp-space-6);
	background: var(--pctp-surface);
	border-left: 4px solid var(--pctp-green);
	border-radius: var(--pctp-radius);
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
}
.pctp-scaffold-note strong { color: var(--pctp-black); }

/* =============================================================
   Smaller button variant — used in sticky header where the
   full-size CTA would dominate the bar.
============================================================= */
.pctp-btn--sm {
	padding: 10px 18px;
	font-size: var(--pctp-fs-sm);
	min-height: 40px;
}

/* =============================================================
   Site header (sticky)
============================================================= */
.pctp-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--pctp-white);
	border-bottom: 1px solid rgba(14, 20, 17, 0.06);
	transition: padding var(--pctp-transition), box-shadow var(--pctp-transition);
}
.pctp-site-header.is-scrolled {
	box-shadow: var(--pctp-shadow-sm);
}

.pctp-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pctp-space-5);
	min-height: 72px;
	padding-block: var(--pctp-space-3);
	transition: min-height var(--pctp-transition);
}
.pctp-site-header.is-scrolled .pctp-site-header__inner {
	min-height: 60px;
}

.pctp-site-branding__link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 0;
}
.pctp-site-branding__logo {
	height: auto;
	width: auto;
	max-height: 56px;
	max-width: 200px;
}
.pctp-site-header.is-scrolled .pctp-site-branding__logo {
	max-height: 44px;
}

/* ---------- Primary navigation (desktop) ------------------- */
.pctp-primary-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}
.pctp-primary-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--pctp-space-5);
	align-items: center;
}
.pctp-primary-nav__list a,
.pctp-primary-nav .menu-item a {
	display: inline-block;
	padding: 8px 4px;
	font-family: var(--pctp-font-display);
	font-weight: 600;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-black);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color var(--pctp-transition), border-color var(--pctp-transition);
}
.pctp-primary-nav__list a:hover,
.pctp-primary-nav__list a:focus,
.pctp-primary-nav .current-menu-item > a,
.pctp-primary-nav .current_page_item > a {
	color: var(--pctp-green);
	border-bottom-color: var(--pctp-green);
}

/* ---------- Header actions (phone + CTA) ------------------- */
.pctp-header-actions {
	display: flex;
	align-items: center;
	gap: var(--pctp-space-4);
}
.pctp-header-phone {
	font-family: var(--pctp-font-display);
	font-weight: 700;
	font-size: var(--pctp-fs-md);
	color: var(--pctp-green);
	text-decoration: none;
	white-space: nowrap;
}
.pctp-header-phone:hover,
.pctp-header-phone:focus {
	color: var(--pctp-green-hover);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Mobile nav toggle ------------------------------ */
.pctp-nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 10px;
	cursor: pointer;
	color: var(--pctp-black);
}
.pctp-nav-toggle__bars {
	display: block;
	width: 26px;
	height: 20px;
	position: relative;
}
.pctp-nav-toggle__bars span {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--pctp-transition), opacity var(--pctp-transition), top var(--pctp-transition);
}
.pctp-nav-toggle__bars span:nth-child(1) { top: 2px; }
.pctp-nav-toggle__bars span:nth-child(2) { top: 9px; }
.pctp-nav-toggle__bars span:nth-child(3) { top: 16px; }
.pctp-nav-toggle[aria-expanded="true"] .pctp-nav-toggle__bars span:nth-child(1) {
	top: 9px;
	transform: rotate(45deg);
}
.pctp-nav-toggle[aria-expanded="true"] .pctp-nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}
.pctp-nav-toggle[aria-expanded="true"] .pctp-nav-toggle__bars span:nth-child(3) {
	top: 9px;
	transform: rotate(-45deg);
}

/* ---------- Responsive header ------------------------------ */
@media (max-width: 899px) {
	.pctp-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		order: 3;
	}

	.pctp-primary-nav {
		position: fixed;
		inset: 72px 0 0 0;
		background: var(--pctp-white);
		padding: var(--pctp-space-6) var(--pctp-space-5) var(--pctp-space-10);
		transform: translateX(100%);
		transition: transform 280ms ease;
		overflow-y: auto;
		z-index: 40;
		box-shadow: var(--pctp-shadow);
	}
	.pctp-primary-nav.is-nav-open {
		transform: translateX(0);
	}
	.pctp-primary-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	.pctp-primary-nav__list li {
		border-bottom: 1px solid rgba(14, 20, 17, 0.08);
	}
	.pctp-primary-nav__list a {
		display: block;
		padding: var(--pctp-space-4) 0;
		font-size: var(--pctp-fs-md);
		border-bottom: 0;
	}

	.pctp-header-phone {
		display: none; /* mobile users hit the floating call button instead */
	}
	.pctp-header-cta {
		padding: 10px 14px;
		font-size: 0.8125rem;
	}
	.pctp-site-branding__logo {
		max-height: 44px;
		max-width: 160px;
	}
}

/* =============================================================
   Trust signal strip (template-parts/trust-strip.php)
============================================================= */
.pctp-trust-strip {
	background: var(--pctp-green);
	color: var(--pctp-white);
	padding-block: var(--pctp-space-4);
}
.pctp-trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--pctp-space-4) var(--pctp-space-8);
}
.pctp-trust__item {
	display: inline-flex;
	align-items: center;
	gap: var(--pctp-space-2);
	font-family: var(--pctp-font-display);
	font-weight: 600;
	font-size: var(--pctp-fs-sm);
	letter-spacing: 0.01em;
}
.pctp-trust__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--pctp-orange);
	color: var(--pctp-white);
	font-size: 0.75rem;
	font-weight: 700;
	flex-shrink: 0;
}
.pctp-trust--stacked {
	flex-direction: column;
	align-items: flex-start;
	gap: var(--pctp-space-2);
}
.pctp-trust--stacked .pctp-trust__item {
	font-size: var(--pctp-fs-sm);
	color: inherit;
}

/* =============================================================
   Site footer
============================================================= */
.pctp-site-footer {
	background: var(--pctp-black);
	color: var(--pctp-white);
	padding-top: var(--pctp-space-12);
}
.pctp-site-footer a {
	color: var(--pctp-white);
	text-decoration: none;
}
.pctp-site-footer a:hover,
.pctp-site-footer a:focus {
	color: var(--pctp-orange);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pctp-site-footer__grid {
	display: grid;
	gap: var(--pctp-space-8);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding-bottom: var(--pctp-space-10);
}
.pctp-footer-col__title {
	font-family: var(--pctp-font-display);
	font-size: var(--pctp-fs-md);
	font-weight: 700;
	color: var(--pctp-white);
	margin: 0 0 var(--pctp-space-4);
	text-transform: none;
	letter-spacing: 0;
}

.pctp-footer-logo {
	max-width: 180px;
	margin-bottom: var(--pctp-space-4);
}
.pctp-footer-pitch {
	font-size: var(--pctp-fs-sm);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: var(--pctp-space-5);
}
.pctp-footer-col--brand .pctp-trust--stacked {
	margin: 0;
}

.pctp-footer-col ul,
.pctp-footer-services-list,
.pctp-service-area-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.pctp-footer-col ul li,
.pctp-footer-services-list li,
.pctp-service-area-list li {
	padding: 4px 0;
	font-size: var(--pctp-fs-sm);
}

.pctp-footer-address {
	font-style: normal;
	font-size: var(--pctp-fs-sm);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: var(--pctp-space-4);
}
.pctp-footer-address strong { color: var(--pctp-white); }
.pctp-footer-phone {
	display: inline-block;
	margin-top: var(--pctp-space-2);
	font-family: var(--pctp-font-display);
	font-size: var(--pctp-fs-md);
	font-weight: 700;
	color: var(--pctp-white);
}
.pctp-email-link {
	display: inline-block;
	margin-top: 2px;
}
.pctp-footer-cta-line {
	margin: 0;
}

/* Footer service-area list renders as two-column to fit 14 cities. */
.pctp-footer-col--area .pctp-service-area-list {
	columns: 2;
	column-gap: var(--pctp-space-4);
}

/* ---------- Footer bottom (copyright + legal) -------------- */
.pctp-site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: var(--pctp-space-5);
	background: #000;
}
.pctp-site-footer__bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--pctp-space-4);
	flex-wrap: wrap;
}
.pctp-copyright {
	margin: 0;
	font-size: var(--pctp-fs-xs);
	color: rgba(255, 255, 255, 0.7);
}
.pctp-footer-legal-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--pctp-space-5);
}
.pctp-footer-legal-nav__list a {
	font-size: var(--pctp-fs-xs);
	color: rgba(255, 255, 255, 0.7);
}

/* ---------- Footer responsive ------------------------------ */
@media (max-width: 1023px) {
	.pctp-site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 599px) {
	.pctp-site-footer__grid {
		grid-template-columns: 1fr;
		gap: var(--pctp-space-6);
	}
	.pctp-footer-col--area .pctp-service-area-list {
		columns: 2;
	}
	.pctp-site-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* =============================================================
   Floating mobile call button
   Fixed bottom-right on small screens. Hidden on tablets+/desktop.
============================================================= */
.pctp-mobile-call {
	display: none;
}
@media (max-width: 899px) {
	.pctp-mobile-call {
		display: inline-flex;
		align-items: center;
		gap: var(--pctp-space-2);
		position: fixed;
		right: 16px;
		bottom: 16px;
		padding: 14px 20px;
		background: var(--pctp-orange);
		color: var(--pctp-white);
		font-family: var(--pctp-font-display);
		font-weight: 700;
		font-size: var(--pctp-fs-md);
		text-decoration: none;
		border-radius: 999px;
		box-shadow: 0 8px 24px rgba(14, 20, 17, 0.25);
		z-index: 45;
		transition: transform var(--pctp-transition), background var(--pctp-transition);
	}
	.pctp-mobile-call:hover,
	.pctp-mobile-call:focus {
		background: var(--pctp-orange-hover);
		color: var(--pctp-white);
		transform: translateY(-2px);
	}
	.pctp-mobile-call__icon {
		width: 20px;
		height: 20px;
		flex-shrink: 0;
	}
}
@media (max-width: 374px) {
	/* Collapse to icon-only on very narrow screens. */
	.pctp-mobile-call__label {
		display: none;
	}
	.pctp-mobile-call {
		padding: 14px;
		border-radius: 50%;
	}
}

/* =============================================================
   404 page actions row
============================================================= */
.pctp-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pctp-space-3);
	margin-top: var(--pctp-space-6);
}

/* =============================================================
   Icon sizing (inline SVG, stroke = currentColor)
============================================================= */
.pctp-icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}
.pctp-icon--sm { width: 18px; height: 18px; }
.pctp-icon--lg { width: 36px; height: 36px; }
.pctp-icon--xl { width: 44px; height: 44px; }

.pctp-btn__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* =============================================================
   Button size + variant additions for home page
============================================================= */
.pctp-btn--lg {
	padding: 16px 32px;
	font-size: var(--pctp-fs-md);
	min-height: 56px;
}

/* Light fill (white button on dark/orange backgrounds) */
.pctp-btn--light {
	background: var(--pctp-white);
	color: var(--pctp-green);
	border-color: var(--pctp-white);
}
.pctp-btn--light:hover,
.pctp-btn--light:focus {
	background: var(--pctp-green-tint);
	color: var(--pctp-green-hover);
	border-color: var(--pctp-green-tint);
}

/* =============================================================
   1. HERO
============================================================= */
.pctp-hero {
	position: relative;
	isolation: isolate;
	color: var(--pctp-white);
	overflow: hidden;
	min-height: clamp(480px, 70vh, 720px);
	display: flex;
	align-items: center;
}
.pctp-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.pctp-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.pctp-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(14, 20, 17, 0.35) 0%,
		rgba(14, 20, 17, 0.55) 60%,
		rgba(14, 20, 17, 0.7) 100%
	);
}
.pctp-hero__content {
	padding-block: var(--pctp-space-10);
	max-width: 900px;
}
.pctp-hero__title {
	color: var(--pctp-white);
	font-size: var(--pctp-fs-3xl);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: var(--pctp-space-4);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.pctp-hero__subtitle {
	font-size: var(--pctp-fs-md);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: var(--pctp-space-6);
	max-width: 720px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.pctp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pctp-space-3);
}

@media (max-width: 599px) {
	.pctp-hero {
		min-height: 540px;
	}
	.pctp-hero__content {
		padding-block: var(--pctp-space-8);
	}
	.pctp-hero__actions .pctp-btn {
		flex: 1 1 100%;
	}
}

/* =============================================================
   3. WHO WE ARE (intro — two paragraphs)
============================================================= */
.pctp-intro {
	padding-block: var(--pctp-space-10);
	background: var(--pctp-white);
	text-align: center;
}
.pctp-intro__lead {
	position: relative;
	font-family: var(--pctp-font-display);
	font-size: var(--pctp-fs-lg);
	font-weight: 600;
	color: var(--pctp-black);
	line-height: 1.5;
	margin: 0 0 var(--pctp-space-5);
	letter-spacing: -0.005em;
}
.pctp-intro__lead::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: var(--pctp-green);
	margin: 0 auto var(--pctp-space-5);
	border-radius: 2px;
}
.pctp-intro__sub {
	font-size: var(--pctp-fs-base);
	color: var(--pctp-ink);
	line-height: 1.7;
	margin: 0;
	max-width: 720px;
	margin-inline: auto;
}

/* =============================================================
   FEATURED SERVICES (3-column photo cards on home + archive grid)
============================================================= */
.pctp-featured-services {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-surface);
}
.pctp-featured-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pctp-space-6);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pctp-featured-grid__item { display: flex; }
.pctp-featured-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--pctp-white);
	border: 1px solid rgba(14, 20, 17, 0.08);
	border-radius: var(--pctp-radius-lg);
	overflow: hidden;
	color: var(--pctp-black);
	text-decoration: none;
	transition: transform var(--pctp-transition), box-shadow var(--pctp-transition), border-color var(--pctp-transition);
}
.pctp-featured-card:hover,
.pctp-featured-card:focus {
	transform: translateY(-3px);
	box-shadow: var(--pctp-shadow);
	border-color: var(--pctp-green);
	color: var(--pctp-black);
}
.pctp-featured-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--pctp-green-tint);
	overflow: hidden;
}
.pctp-featured-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}
.pctp-featured-card:hover .pctp-featured-card__image,
.pctp-featured-card:focus .pctp-featured-card__image {
	transform: scale(1.04);
}
.pctp-featured-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--pctp-space-3);
	padding: var(--pctp-space-5) var(--pctp-space-5) var(--pctp-space-5);
	flex: 1;
}
.pctp-featured-card__title {
	margin: 0;
	font-size: var(--pctp-fs-lg);
	line-height: 1.25;
	color: var(--pctp-black);
	/* Text truncation safety: allow long words to break so
	   titles never clip on narrow columns. */
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}
.pctp-featured-card__desc {
	margin: 0;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
	line-height: 1.55;
	flex: 1;
	overflow-wrap: break-word;
}
.pctp-featured-card__more {
	display: inline-flex;
	align-items: center;
	gap: var(--pctp-space-1);
	font-family: var(--pctp-font-display);
	font-weight: 600;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-green);
	margin-top: auto;
	transition: gap var(--pctp-transition), color var(--pctp-transition);
}
.pctp-featured-card:hover .pctp-featured-card__more,
.pctp-featured-card:focus .pctp-featured-card__more {
	color: var(--pctp-green-hover);
	gap: var(--pctp-space-2);
}

/* Archive variant — more cards per row on wide screens where 7 cards fit as 3-then-4 */
.pctp-featured-grid--archive {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199px) {
	.pctp-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pctp-featured-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.pctp-featured-grid,
	.pctp-featured-grid--archive {
		grid-template-columns: 1fr;
		gap: var(--pctp-space-5);
	}
}

/* =============================================================
   WHY HOMEOWNERS ARE SWITCHING (educational, no photos)
============================================================= */
.pctp-why-switching {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-white);
}
.pctp-why-switching__copy {
	font-size: var(--pctp-fs-md);
	line-height: 1.7;
	color: var(--pctp-black);
}
.pctp-why-switching__copy p {
	margin-bottom: var(--pctp-space-5);
}
.pctp-why-switching__copy p:last-child {
	margin-bottom: 0;
}

/* =============================================================
   MORE SERVICES (4 compact cards + View All CTA)
============================================================= */
.pctp-more-services {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-surface);
}
.pctp-compact-grid {
	list-style: none;
	margin: 0 0 var(--pctp-space-8);
	padding: 0;
	display: grid;
	gap: var(--pctp-space-4);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pctp-compact-grid__item { display: flex; }
.pctp-compact-card {
	display: flex;
	align-items: flex-start;
	gap: var(--pctp-space-4);
	width: 100%;
	padding: var(--pctp-space-5);
	background: var(--pctp-white);
	border: 1px solid rgba(14, 20, 17, 0.08);
	border-radius: var(--pctp-radius);
	color: var(--pctp-black);
	text-decoration: none;
	transition: transform var(--pctp-transition), border-color var(--pctp-transition), box-shadow var(--pctp-transition);
}
.pctp-compact-card:hover,
.pctp-compact-card:focus {
	transform: translateY(-2px);
	border-color: var(--pctp-green);
	box-shadow: var(--pctp-shadow-sm);
	color: var(--pctp-black);
}
.pctp-compact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--pctp-radius);
	background: var(--pctp-green-tint);
	color: var(--pctp-green);
	flex-shrink: 0;
}
.pctp-compact-card__body {
	flex: 1;
	min-width: 0;
}
.pctp-compact-card__title {
	margin: 0 0 var(--pctp-space-2);
	font-size: var(--pctp-fs-md);
	line-height: 1.3;
	color: var(--pctp-black);
	overflow-wrap: break-word;
}
.pctp-compact-card__desc {
	margin: 0;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
	line-height: 1.55;
	overflow-wrap: break-word;
}
.pctp-compact-card__more {
	display: inline-flex;
	align-items: center;
	color: var(--pctp-green);
	flex-shrink: 0;
	margin-top: var(--pctp-space-2);
	transition: transform var(--pctp-transition);
}
.pctp-compact-card:hover .pctp-compact-card__more {
	transform: translateX(3px);
}
.pctp-more-services__view-all {
	text-align: center;
	margin: 0;
}
.pctp-more-services__view-all .pctp-btn {
	gap: var(--pctp-space-2);
}

@media (max-width: 767px) {
	.pctp-compact-grid { grid-template-columns: 1fr; }
	.pctp-compact-card { padding: var(--pctp-space-4); gap: var(--pctp-space-3); }
}

/* =============================================================
   Shared section head pattern
============================================================= */
.pctp-section-head {
	margin-bottom: var(--pctp-space-8);
	max-width: 720px;
}
.pctp-section-head--center {
	margin-inline: auto;
	text-align: center;
}
.pctp-section-head__title {
	margin: 0 0 var(--pctp-space-3);
}
.pctp-section-head__lead {
	font-size: var(--pctp-fs-md);
	color: var(--pctp-ink);
	margin: 0;
	line-height: 1.55;
}

/* =============================================================
   4. SERVICES GRID
============================================================= */
.pctp-services-grid-section {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-surface);
}
.pctp-services-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pctp-space-5);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pctp-services-grid__item {
	display: flex;
}
/* Last card on a 4-col row spans 4 cells so the odd 7th sits centered */
.pctp-services-grid__item:nth-child(7) {
	grid-column: 2 / span 2;
}

.pctp-service-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--pctp-space-3);
	width: 100%;
	padding: var(--pctp-space-6);
	background: var(--pctp-white);
	border: 1px solid rgba(14, 20, 17, 0.06);
	border-radius: var(--pctp-radius-lg);
	color: var(--pctp-black);
	text-decoration: none;
	transition: transform var(--pctp-transition), box-shadow var(--pctp-transition), border-color var(--pctp-transition);
}
.pctp-service-card:hover,
.pctp-service-card:focus {
	transform: translateY(-3px);
	box-shadow: var(--pctp-shadow);
	border-color: var(--pctp-green);
	color: var(--pctp-black);
}
.pctp-service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--pctp-radius);
	background: var(--pctp-green-tint);
	color: var(--pctp-green);
}
.pctp-service-card__title {
	margin: 0;
	font-size: var(--pctp-fs-lg);
	line-height: 1.25;
	color: var(--pctp-black);
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}
.pctp-service-card__desc {
	margin: 0;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
	line-height: 1.55;
}
.pctp-service-card__more {
	display: inline-flex;
	align-items: center;
	gap: var(--pctp-space-1);
	margin-top: auto;
	padding-top: var(--pctp-space-2);
	font-family: var(--pctp-font-display);
	font-weight: 600;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-green);
	transition: gap var(--pctp-transition), color var(--pctp-transition);
}
.pctp-service-card:hover .pctp-service-card__more,
.pctp-service-card:focus .pctp-service-card__more {
	color: var(--pctp-green-hover);
	gap: var(--pctp-space-2);
}

@media (max-width: 1023px) {
	.pctp-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pctp-services-grid__item:nth-child(7) { grid-column: auto; }
}
@media (max-width: 767px) {
	.pctp-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pctp-services-grid__item:nth-child(7) { grid-column: auto; }
}
@media (max-width: 479px) {
	.pctp-services-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   5. WHY PALM COAST TURF PROS
============================================================= */
.pctp-why-section {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-white);
}
.pctp-why-tiles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pctp-space-6);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pctp-why-tile {
	text-align: center;
	padding: var(--pctp-space-5) var(--pctp-space-3);
}
.pctp-why-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--pctp-green);
	color: var(--pctp-white);
	margin-bottom: var(--pctp-space-4);
}
.pctp-why-tile__title {
	margin: 0 0 var(--pctp-space-2);
	font-size: var(--pctp-fs-lg);
	color: var(--pctp-black);
}
.pctp-why-tile__desc {
	margin: 0;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
	line-height: 1.6;
}

@media (max-width: 899px) {
	.pctp-why-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pctp-space-5); }
}
@media (max-width: 479px) {
	.pctp-why-tiles { grid-template-columns: 1fr; }
}

/* =============================================================
   6. SERVICE AREA PREVIEW
============================================================= */
.pctp-service-area-preview {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-surface);
	text-align: center;
}
.pctp-service-area-preview__list-wrap {
	max-width: 720px;
	margin: 0 auto var(--pctp-space-6);
}
.pctp-service-area-preview__list-wrap .pctp-service-area-list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 3;
	column-gap: var(--pctp-space-6);
	text-align: left;
}
.pctp-service-area-preview__list-wrap .pctp-service-area-list li {
	padding: 6px 0;
	font-family: var(--pctp-font-display);
	font-weight: 500;
	color: var(--pctp-black);
	break-inside: avoid;
}
.pctp-service-area-preview__more {
	margin: 0;
}
.pctp-link-more {
	display: inline-flex;
	align-items: center;
	gap: var(--pctp-space-2);
	font-family: var(--pctp-font-display);
	font-weight: 700;
	font-size: var(--pctp-fs-md);
	color: var(--pctp-green);
	text-decoration: none;
	padding: 8px 2px;
	border-bottom: 2px solid transparent;
	transition: gap var(--pctp-transition), border-color var(--pctp-transition);
}
.pctp-link-more:hover,
.pctp-link-more:focus {
	color: var(--pctp-green-hover);
	border-bottom-color: var(--pctp-green);
	gap: var(--pctp-space-3);
}

@media (max-width: 767px) {
	.pctp-service-area-preview__list-wrap .pctp-service-area-list { columns: 2; }
}
@media (max-width: 479px) {
	.pctp-service-area-preview__list-wrap .pctp-service-area-list { columns: 1; }
}

/* =============================================================
   7. FINAL CTA BAND (orange, full-width)
============================================================= */
.pctp-final-cta {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-orange);
	color: var(--pctp-white);
	text-align: center;
}
.pctp-final-cta__title {
	color: var(--pctp-white);
	margin: 0 0 var(--pctp-space-4);
	font-size: var(--pctp-fs-2xl);
}
.pctp-final-cta__lead {
	font-size: var(--pctp-fs-md);
	color: rgba(255, 255, 255, 0.95);
	margin: 0 auto var(--pctp-space-6);
	max-width: 600px;
	line-height: 1.55;
}
.pctp-final-cta__actions {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--pctp-space-3);
}
@media (max-width: 479px) {
	.pctp-final-cta__actions { display: flex; flex-direction: column; width: 100%; }
	.pctp-final-cta__actions .pctp-btn { width: 100%; }
}

/* =============================================================
   SERVICE PAGE (single-service.php)
============================================================= */

/* ---------- Service hero (variant of home hero) ------------ */
.pctp-service-hero {
	position: relative;
	isolation: isolate;
	color: var(--pctp-white);
	overflow: hidden;
	min-height: clamp(400px, 55vh, 560px);
	display: flex;
	align-items: center;
}
.pctp-service-hero--no-image {
	background: var(--pctp-green);
}
.pctp-service-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.pctp-service-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.pctp-service-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(14, 20, 17, 0.35) 0%,
		rgba(14, 20, 17, 0.55) 60%,
		rgba(14, 20, 17, 0.7) 100%
	);
}
.pctp-service-hero__content {
	padding-block: var(--pctp-space-10);
	max-width: 860px;
}
.pctp-service-hero__title {
	color: var(--pctp-white);
	font-size: var(--pctp-fs-3xl);
	font-weight: 800;
	line-height: 1.12;
	margin-bottom: var(--pctp-space-4);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.pctp-service-hero__subtitle {
	font-size: var(--pctp-fs-md);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: var(--pctp-space-6);
	max-width: 720px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.pctp-service-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pctp-space-3);
}
@media (max-width: 599px) {
	.pctp-service-hero { min-height: 440px; }
	.pctp-service-hero__content { padding-block: var(--pctp-space-8); }
	.pctp-service-hero__actions .pctp-btn { flex: 1 1 100%; }
}

/* ---------- Service body (block editor output) ------------- */
.pctp-service-body {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-white);
}
.pctp-service-content,
.pctp-page-content,
.pctp-page-lead {
	font-size: var(--pctp-fs-md);
	line-height: 1.7;
	color: var(--pctp-black);
}
.pctp-service-content > * + *,
.pctp-page-content > * + * { margin-top: var(--pctp-space-5); }
.pctp-service-content h2,
.pctp-page-content h2 {
	font-size: var(--pctp-fs-xl);
	margin-top: var(--pctp-space-8);
	margin-bottom: var(--pctp-space-3);
	color: var(--pctp-black);
}
.pctp-service-content h3,
.pctp-page-content h3 {
	font-size: var(--pctp-fs-lg);
	margin-top: var(--pctp-space-6);
	margin-bottom: var(--pctp-space-3);
	color: var(--pctp-black);
}
.pctp-service-content p,
.pctp-page-content p { margin: 0 0 var(--pctp-space-4); }
.pctp-service-content ul,
.pctp-service-content ol,
.pctp-page-content ul,
.pctp-page-content ol {
	margin: 0 0 var(--pctp-space-5);
	padding-left: var(--pctp-space-6);
}
.pctp-service-content li,
.pctp-page-content li { margin-bottom: var(--pctp-space-2); }
.pctp-service-content ul li::marker,
.pctp-page-content ul li::marker { color: var(--pctp-green); }
.pctp-service-content blockquote,
.pctp-page-content blockquote {
	margin: var(--pctp-space-6) 0;
	padding: var(--pctp-space-4) var(--pctp-space-6);
	background: var(--pctp-surface);
	border-left: 4px solid var(--pctp-green);
	border-radius: 0 var(--pctp-radius) var(--pctp-radius) 0;
	font-style: italic;
	color: var(--pctp-ink);
}
.pctp-service-content a,
.pctp-page-content a {
	color: var(--pctp-green);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
}
.pctp-service-content a:hover,
.pctp-service-content a:focus,
.pctp-page-content a:hover,
.pctp-page-content a:focus {
	color: var(--pctp-green-hover);
}
.pctp-service-content .wp-block-image img,
.pctp-page-content .wp-block-image img {
	border-radius: var(--pctp-radius);
}
.pctp-service-content .wp-block-separator,
.pctp-page-content .wp-block-separator {
	border: 0;
	border-top: 1px solid rgba(14, 20, 17, 0.1);
	margin-block: var(--pctp-space-8);
}

/* =============================================================
   FAQ accordion — semantic <details>/<summary>
============================================================= */
.pctp-faqs-section {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-surface);
}
.pctp-faqs-section__title {
	text-align: center;
	margin-bottom: var(--pctp-space-8);
}
.pctp-faqs {
	display: flex;
	flex-direction: column;
	gap: var(--pctp-space-3);
}
.pctp-faq {
	background: var(--pctp-white);
	border: 1px solid rgba(14, 20, 17, 0.08);
	border-radius: var(--pctp-radius);
	overflow: hidden;
}
.pctp-faq[open] {
	border-color: var(--pctp-green);
	box-shadow: var(--pctp-shadow-sm);
}
.pctp-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pctp-space-4);
	padding: var(--pctp-space-4) var(--pctp-space-5);
	font-family: var(--pctp-font-display);
	font-weight: 700;
	font-size: var(--pctp-fs-md);
	color: var(--pctp-black);
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.pctp-faq__question::-webkit-details-marker { display: none; }
.pctp-faq__question::marker { content: ""; }
.pctp-faq__question:hover,
.pctp-faq__question:focus-visible {
	color: var(--pctp-green);
}
.pctp-faq__icon {
	position: relative;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	transition: transform var(--pctp-transition);
}
.pctp-faq__icon::before,
.pctp-faq__icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--pctp-transition), opacity var(--pctp-transition);
}
.pctp-faq__icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	transform: translateY(-50%);
}
.pctp-faq__icon::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	transform: translateX(-50%);
}
.pctp-faq[open] .pctp-faq__icon::after {
	opacity: 0;
	transform: translateX(-50%) rotate(90deg);
}
.pctp-faq__answer {
	padding: 0 var(--pctp-space-5) var(--pctp-space-5);
	color: var(--pctp-ink);
	font-size: var(--pctp-fs-base);
	line-height: 1.65;
}
.pctp-faq__answer p { margin: 0 0 var(--pctp-space-3); }
.pctp-faq__answer p:last-child { margin-bottom: 0; }

/* =============================================================
   Related services
============================================================= */
.pctp-related-services {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-white);
}
.pctp-related-services__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pctp-space-5);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pctp-related-services__item { display: flex; }
.pctp-related-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--pctp-white);
	border: 1px solid rgba(14, 20, 17, 0.08);
	border-radius: var(--pctp-radius-lg);
	overflow: hidden;
	color: var(--pctp-black);
	text-decoration: none;
	transition: transform var(--pctp-transition), box-shadow var(--pctp-transition), border-color var(--pctp-transition);
}
.pctp-related-card:hover,
.pctp-related-card:focus {
	transform: translateY(-3px);
	box-shadow: var(--pctp-shadow);
	border-color: var(--pctp-green);
	color: var(--pctp-black);
}
.pctp-related-card__thumb {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--pctp-green-tint);
	overflow: hidden;
}
.pctp-related-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pctp-related-card__title {
	font-size: var(--pctp-fs-lg);
	line-height: 1.25;
	margin: var(--pctp-space-5) var(--pctp-space-5) var(--pctp-space-2);
	color: var(--pctp-black);
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}
.pctp-related-card__desc {
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
	line-height: 1.55;
	margin: 0 var(--pctp-space-5) var(--pctp-space-3);
	flex: 1;
}
.pctp-related-card__more {
	display: inline-flex;
	align-items: center;
	gap: var(--pctp-space-1);
	margin: 0 var(--pctp-space-5) var(--pctp-space-5);
	font-family: var(--pctp-font-display);
	font-weight: 600;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-green);
	transition: gap var(--pctp-transition), color var(--pctp-transition);
}
.pctp-related-card:hover .pctp-related-card__more,
.pctp-related-card:focus .pctp-related-card__more {
	color: var(--pctp-green-hover);
	gap: var(--pctp-space-2);
}
@media (max-width: 899px) {
	.pctp-related-services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	.pctp-related-services__list { grid-template-columns: 1fr; }
}

/* =============================================================
   Generic static page header (About, Service Area, Privacy, Terms)
============================================================= */
.pctp-page-header {
	background: var(--pctp-surface);
	padding-block: var(--pctp-space-10) var(--pctp-space-8);
	border-bottom: 1px solid rgba(14, 20, 17, 0.06);
}
.pctp-page-title {
	margin: 0 0 var(--pctp-space-3);
	color: var(--pctp-black);
}
.pctp-page-lead {
	margin: 0;
	font-size: var(--pctp-fs-md);
	color: var(--pctp-ink);
}
.pctp-page-lead p:last-child { margin-bottom: 0; }

/* =============================================================
   Services archive (/services/)
============================================================= */
.pctp-archive-hero {
	background: var(--pctp-green);
	color: var(--pctp-white);
	padding-block: var(--pctp-space-10);
	text-align: center;
}
.pctp-archive-hero__title {
	color: var(--pctp-white);
	margin: 0 0 var(--pctp-space-3);
}
.pctp-archive-hero__lead {
	color: rgba(255, 255, 255, 0.92);
	max-width: 640px;
	margin: 0 auto;
	font-size: var(--pctp-fs-md);
	line-height: 1.55;
}
.pctp-services-archive {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-surface);
}
.pctp-archive-empty {
	text-align: center;
	color: var(--pctp-ink);
	padding: var(--pctp-space-10);
}

/* =============================================================
   Gallery
============================================================= */
.pctp-gallery {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-white);
}
.pctp-gallery__intro {
	max-width: 720px;
	margin: 0 auto var(--pctp-space-8);
	text-align: center;
	font-size: var(--pctp-fs-md);
	color: var(--pctp-ink);
}
.pctp-gallery__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pctp-space-4);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pctp-gallery__item {
	position: relative;
	overflow: hidden;
	border-radius: var(--pctp-radius);
	background: var(--pctp-surface);
	margin: 0;
}
.pctp-gallery__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 300ms ease;
}
.pctp-gallery__item:hover .pctp-gallery__image,
.pctp-gallery__item:focus-within .pctp-gallery__image {
	transform: scale(1.03);
}
.pctp-gallery__caption {
	padding: var(--pctp-space-3) var(--pctp-space-4);
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
	background: var(--pctp-white);
	border-top: 1px solid rgba(14, 20, 17, 0.06);
}
@media (max-width: 899px) {
	.pctp-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
	.pctp-gallery__grid { grid-template-columns: 1fr; }
}

/* =============================================================
   Contact page
============================================================= */
.pctp-contact-main {
	padding-block: var(--pctp-space-12);
	background: var(--pctp-white);
}
.pctp-contact-grid {
	display: grid;
	gap: var(--pctp-space-8);
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	align-items: start;
}
.pctp-contact-section-title {
	font-size: var(--pctp-fs-xl);
	margin: 0 0 var(--pctp-space-4);
}
.pctp-contact-form-wrap {
	min-width: 0;
}
.pctp-contact-form-fallback {
	background: var(--pctp-surface);
	padding: var(--pctp-space-6);
	border-radius: var(--pctp-radius);
	border-left: 4px solid var(--pctp-orange);
}
.pctp-contact-fallback-list {
	list-style: none;
	margin: var(--pctp-space-3) 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--pctp-space-2);
}
.pctp-contact-fallback-phone {
	font-family: var(--pctp-font-display);
	font-weight: 700;
	font-size: var(--pctp-fs-lg);
	color: var(--pctp-green);
	text-decoration: none;
}
.pctp-contact-info {
	background: var(--pctp-surface);
	padding: var(--pctp-space-6);
	border-radius: var(--pctp-radius-lg);
}
.pctp-contact-info-btn {
	width: 100%;
	margin-bottom: var(--pctp-space-3);
	justify-content: center;
}
.pctp-contact-address-block {
	margin-top: var(--pctp-space-5);
	padding-top: var(--pctp-space-5);
	border-top: 1px solid rgba(14, 20, 17, 0.1);
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
}
.pctp-contact-address-block address {
	font-style: normal;
}
.pctp-contact-service-area {
	margin-top: var(--pctp-space-5);
	padding-top: var(--pctp-space-5);
	border-top: 1px solid rgba(14, 20, 17, 0.1);
}
.pctp-contact-service-area h3 {
	font-size: var(--pctp-fs-md);
	margin: 0 0 var(--pctp-space-2);
}
.pctp-contact-service-area p {
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-ink);
	line-height: 1.55;
	margin: 0 0 var(--pctp-space-3);
}

/* Trust signals block on the Quote page sidebar */
.pctp-contact-trust-block {
	margin-top: var(--pctp-space-5);
	padding-top: var(--pctp-space-5);
	border-top: 1px solid rgba(14, 20, 17, 0.1);
}
.pctp-contact-trust-block h3 {
	font-size: var(--pctp-fs-md);
	margin: 0 0 var(--pctp-space-3);
}
.pctp-contact-trust-block .pctp-trust--stacked {
	margin: 0;
}
.pctp-contact-trust-block .pctp-trust__item {
	color: var(--pctp-ink);
}
.pctp-contact-trust-block .pctp-trust__check {
	background: var(--pctp-green);
}

/* WPForms Lite styling — scope to our container, avoid !important
   where specificity can beat the plugin's defaults. */
.pctp-contact-form-wrap .wpforms-container {
	margin: 0;
}
.pctp-contact-form-wrap .wpforms-form input[type="text"],
.pctp-contact-form-wrap .wpforms-form input[type="email"],
.pctp-contact-form-wrap .wpforms-form input[type="tel"],
.pctp-contact-form-wrap .wpforms-form input[type="url"],
.pctp-contact-form-wrap .wpforms-form textarea,
.pctp-contact-form-wrap .wpforms-form select {
	font-family: var(--pctp-font-body);
	font-size: var(--pctp-fs-base);
	padding: 12px 14px;
	border: 1px solid rgba(14, 20, 17, 0.15);
	border-radius: var(--pctp-radius);
	background: var(--pctp-white);
	color: var(--pctp-black);
}
.pctp-contact-form-wrap .wpforms-form input:focus,
.pctp-contact-form-wrap .wpforms-form textarea:focus,
.pctp-contact-form-wrap .wpforms-form select:focus {
	outline: 2px solid var(--pctp-green);
	outline-offset: 2px;
	border-color: var(--pctp-green);
}
.pctp-contact-form-wrap .wpforms-form label {
	font-family: var(--pctp-font-display);
	font-weight: 600;
	font-size: var(--pctp-fs-sm);
	color: var(--pctp-black);
}
.pctp-contact-form-wrap .wpforms-submit {
	background: var(--pctp-orange);
	color: var(--pctp-white);
	font-family: var(--pctp-font-display);
	font-weight: 700;
	padding: 14px 28px;
	border-radius: var(--pctp-radius);
	border: 2px solid var(--pctp-orange);
	min-height: 48px;
	cursor: pointer;
	transition: background var(--pctp-transition), border-color var(--pctp-transition);
}
.pctp-contact-form-wrap .wpforms-submit:hover,
.pctp-contact-form-wrap .wpforms-submit:focus {
	background: var(--pctp-orange-hover);
	border-color: var(--pctp-orange-hover);
	color: var(--pctp-white);
}

@media (max-width: 899px) {
	.pctp-contact-grid {
		grid-template-columns: 1fr;
	}
	.pctp-contact-info {
		order: 2;
	}
}

/* =============================================================
   Respect reduced motion
============================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
